NullPointer Exception (was: Using TrainableWeka objects in scripts)
Posted by
Michael Schmid on
Nov 25, 2013; 4:24pm
URL: http://imagej.273.s1.nabble.com/Using-TrainableWeka-objects-in-scripts-tp5005479p5005699.html
On Nov 23, 2013, at 21:09, Marcello DiStasio wrote:
> ... I am making a couple calls like this in python:
>
> IJ.run(imp_h, "Auto Threshold", "method=Li white")
>
> and getting java.lang.NullPointerException. This does not happen when I
> run fiji from the command line, but on a computer that has X11.
Hi Marcello,
there should be a stack trace saying in which module and at which line the NullPointerException happens, and how it was called.
Without this information no one will have any clue what happens.
---
By the way, as this seems to be a topic unrelated to 'TrainableWeka', it would have been nice to start a new thread in the mailing list for it.
Michael
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html