ImageJ macro recording bug?

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

ImageJ macro recording bug?

albertoduina@virgilio.it
Hi group,
I am trying to record the command File>Import>ImageSequence and, after the dialog "Sequence Options", when click on the OK button lead to an Exception:
ImageJ 1.47t; Java 1.6.0_10 [32-bit]; Windows XP 5.1; 4460K of 1500MB (<1%)
 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
 at java.lang.String.charAt(String.java:687)
 at ij.gui.GenericDialog.getNextString(GenericDialog.java:902)
 at ij.plugin.FolderOpener.showDialog(FolderOpener.java:379)
 at ij.plugin.FolderOpener.run(FolderOpener.java:123)
 at ij.IJ.runPlugIn(IJ.java:166)
 at ij.Executer.runCommand(Executer.java:128)
 at ij.Executer.run(Executer.java:61)
 at java.lang.Thread.run(Thread.java:619)

the problem not appear clicking Cancel.
If not in the Record mode the File>Import>ImageSequence command work well, over the same directory.
Thanks in advance
Alberto Duina    

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

Re: ImageJ macro recording bug?

Rasband, Wayne (NIH/NIMH) [E]
On Jun 18, 2013, at 2:20 AM, [hidden email] wrote:

> Hi group,
> I am trying to record the command File>Import>ImageSequence and, after the dialog "Sequence Options", when click on the OK button lead to an Exception:
> ImageJ 1.47t; Java 1.6.0_10 [32-bit]; Windows XP 5.1; 4460K of 1500MB (<1%)
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at java.lang.String.charAt(String.java:687)
> at ij.gui.GenericDialog.getNextString(GenericDialog.java:902)
> at ij.plugin.FolderOpener.showDialog(FolderOpener.java:379)
> at ij.plugin.FolderOpener.run(FolderOpener.java:123)
> at ij.IJ.runPlugIn(IJ.java:166)
> at ij.Executer.runCommand(Executer.java:128)
> at ij.Executer.run(Executer.java:61)
> at java.lang.Thread.run(Thread.java:619)
>
> the problem not appear clicking Cancel.
> If not in the Record mode the File>Import>ImageSequence command work well, over the same directory.


This ImageJ 1.47t regression is fixed in the 1.47u daily build.

-wayne

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