IJ 1.47u11cannot create files with 1 letter name

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

IJ 1.47u11cannot create files with 1 letter name

Gabriel Landini
IJ 1.47u11cannot create files with 1 letter name
It gives this error when attempting to create or duplicate an image and typing
1 letter only as name. One number only is fine...

ImageJ 1.47u11; Java 1.6.0_35 [64-bit]; Linux 3.7.10-1.16-desktop; 33MB of
4991MB (<1%)
 
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
        at java.lang.String.charAt(String.java:686)
        at ij.gui.GenericDialog.getNextString(GenericDialog.java:902)
        at ij.gui.NewImage.showDialog(NewImage.java:317)
        at ij.gui.NewImage.openImage(NewImage.java:340)
        at ij.gui.NewImage.<init>(NewImage.java:35)
        at ij.plugin.Commands.run(Commands.java:22)
        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:662)

Cheers
Gabriel

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

Re: IJ 1.47u11cannot create files with 1 letter name

Bill Christens-Barry-2
Gabriel,

It works here for me on Mac OS 10.7.4 when I save an image named "a.tif".

Bill Christens-Barry

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

Re: IJ 1.47u11cannot create files with 1 letter name

Gabriel Landini
On Tuesday 25 Jun 2013 15:40:15 Bill Christens-Barry wrote:
> It works here for me on Mac OS 10.7.4 when I save an image named "a.tif".

It started working here again now. So odd!
Now I can make an image without any title too.

Sorry for the false alarm.

Cheers

Gabriel

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

Re: IJ 1.47u11cannot create files with 1 letter name

Rasband, Wayne (NIH/NIMH) [E]
In reply to this post by Gabriel Landini
On Jun 25, 2013, at 10:06 AM, Gabriel Landini wrote:

> IJ 1.47u11cannot create files with 1 letter name
> It gives this error when attempting to create or duplicate an image and typing
> 1 letter only as name. One number only is fine...
>
> ImageJ 1.47u11; Java 1.6.0_35 [64-bit]; Linux 3.7.10-1.16-desktop; 33MB of
> 4991MB (<1%)
>
> java.lang.StringIndexOutOfBoundsException: String index out of range: 1
> at java.lang.String.charAt(String.java:686)
> at ij.gui.GenericDialog.getNextString(GenericDialog.java:902)

This is a v1.47t regression, that only occurs when the recorder is running, that is fixed in v1.47u.

-wayne

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

Re: IJ 1.47u11cannot create files with 1 letter name

Gabriel Landini
On Tuesday 25 Jun 2013 19:20:27 Rasband, Wayne  [E] wrote:

> On Jun 25, 2013, at 10:06 AM, Gabriel Landini wrote:
> > IJ 1.47u11cannot create files with 1 letter name
> > It gives this error when attempting to create or duplicate an image and
> > typing 1 letter only as name. One number only is fine...
> >
> > ImageJ 1.47u11; Java 1.6.0_35 [64-bit]; Linux 3.7.10-1.16-desktop; 33MB of
> > 4991MB (<1%)
> >
> > java.lang.StringIndexOutOfBoundsException: String index out of range: 1
> >
> > at java.lang.String.charAt(String.java:686)
> > at ij.gui.GenericDialog.getNextString(GenericDialog.java:902)
>
> This is a v1.47t regression, that only occurs when the recorder is running,
> that is fixed in v1.47u.

Thank you Wayne, yes it was during macro recording mode and when I tried some
time later it was fine, but I did not realise I wasn't recording.
Thanks again,
Regards

Gabriel

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