Posted by
Paul van Schayck on
Jun 16, 2014; 7:05am
URL: http://imagej.273.s1.nabble.com/Headless-ImageJ2-rc2-Analyze-Particles-returns-no-result-tp5008127p5008229.html
Hi Johannes,
On Fri, Jun 13, 2014 at 7:27 PM, Johannes Schindelin
<
[hidden email]> wrote:
> Hi Paul,
>
> On Fri, 13 Jun 2014, Johannes Schindelin wrote:
>
>> P.S.: I am *about* to merge the branch and then release, so that finally
>> your macro works again. Sorry for the delay!
>
> It is uploaded [*1*]. After updating your Fiji, your macro should work.
> Oh, and you earned a piece of eternal fame: your name is part of the
> development history of ImageJ2 now:
>
>
https://github.com/imagej/imagej-legacy/commit/ddb3af62Thank you very much. The macro (and few parts more I haven't shared)
are working perfectly again. Also in SCIFIO mode. Thank you for the
credits on the unit (regression?) test macro.
A remaining issue is that when the macro (or js script for that
matter) finishes there is a delay (1 minute) in ImageJ fully exiting.
An explicit exit() does not seem to help. This does not happen in
Fiji. I saw a recent commit for this on Github, but that does not seem
to have completely solved it.
>> Running scripts this way in pure ImageJ has been giving this exception
>> for me for a few weeks. However, it does work in the daily Fiji build.
>>
>> Exception in thread "main" java.lang.NullPointerException
>> at net.imagej.launcher.ClassLauncher.launch(ClassLauncher.java:248)
>> at net.imagej.launcher.ClassLauncher.run(ClassLauncher.java:184)
>> at net.imagej.launcher.ClassLauncher.main(ClassLauncher.java:76)
>
>Hmm... I cannot reproduce in my Fiji.app/...
No, exactly, it does work for me in Fiji.app/ but it does *not* work
in ImageJ.app/.
Thank you,
Paul
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html