Login  Register

Re: Running the 'Register Virtual Stack Slices' plug-in headless

Posted by dscho on Feb 11, 2014; 1:18am
URL: http://imagej.273.s1.nabble.com/Running-the-Register-Virtual-Stack-Slices-plug-in-headless-tp5006424p5006480.html

Hi Ignacio,

On Sat, 8 Feb 2014, Ignacio Arganda-Carreras wrote:

> Here you are a script that reproduces the error. Just run it like this:
>
> $ ImageJ --headless test-dscho.bsh
>
> It seems the headless mode doesn't like the call to the constructor of the
> inner class "Param".

Here is what I did: keeping in mind that a VerifyError is thrown when
bytecode is loaded into a class loader (*long* before it is executed, if
it is executed at all), I commented out method by method, returning true
or null when necessary, and running your script every single time, until
the error went away.

Then I reverted the comments partially, until I got at the offending
lines.

See https://github.com/fiji/fiji/pull/68

Ciao,
Dscho

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html