ImageJ on OS X: Out of Bounds Execption

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ on OS X: Out of Bounds Execption

hvdosten
Hi,

I wanted to import a text file as an image, size should be 640 x 4001. I
receive this error-message:



(Fiji Is Just) ImageJ 1.47v; Java 1.6.0_65 [64-bit]; Mac OS X 10.9.4; 48MB
of 3789MB (1%)

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at ij.Command.runPlugIn(Command.java:148)
at ij.Command.runCommand(Command.java:97)
at ij.Executer.run(Executer.java:64)
at java.lang.Thread.run(Thread.java:695)
Caused by: java.lang.ArrayIndexOutOfBoundsException



The first lines of my file is as follows:


P2
 640   4001
255
#
255
255
255
255
255
255
255
255



up to now I had never such a problem. So, what I am doing wrong right now?

Thanks a lot,
Harry

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ on OS X: Out of Bounds Execption

dscho
Hi Harald,

On Sat, 9 Aug 2014, Dr. Harald von der Osten wrote:

> (Fiji Is Just) ImageJ 1.47v; Java 1.6.0_65 [64-bit]; Mac OS X 10.9.4; 48MB
> of 3789MB (1%)
>
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at ij.Command.runPlugIn(Command.java:148)
> at ij.Command.runCommand(Command.java:97)
> at ij.Executer.run(Executer.java:64)
> at java.lang.Thread.run(Thread.java:695)
> Caused by: java.lang.ArrayIndexOutOfBoundsException

Unfortunately, the interesting part of the exception was cut off...

Maybe you can put your PGM somewhere public? Or upload it with Help>Upload
Sample Image?

Ciao,
Johannes

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