It is difficult to say from that on line error message, but a
from the javadoc:
Thrown when an application attempts to use null in a case where an
object is required. These include:
Calling the instance method of a null object.
Accessing or modifying the field of a null object.
Taking the length of null as if it were an array.
Accessing or modifying the slots of null as if it were an array.
Throwing null as if it were a Throwable value.
Applications should throw instances of this class to indicate other
illegal uses of the null object.
So my gues is you try to call
public boolean analyze(ImagePlus imp, ImageProcessor ip) from
ParticleAnalyzer with either imp = null or ip = null.
which would throw a NullPointerException.
Stella Sim wrote:
>I am running imageJ on java 1.5. I have tried to run ParticleAnalyzer
>within my plugin, but I have error message
> at ij.plugin.filter.ParticleAnalyzer.analyze(ParticleAnalyzer.java:244)
>Any idea how to fix it...I am kind of desperate at the moment. I
>Thanks in advance.
University of Sheffield
Academic Neurology Unit
Division of Genomic Medicine
E Floor, Medical School
Beech Hill Road