Cache Sample Images error

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

Cache Sample Images error

Gabriel Landini
When I try the Cache Sample Images I get this error just after the
LineGraph.jpg image has been copied:

ImageJ 1.48e3; Java 1.7.0_40 [64-bit]; Linux 3.7.10-1.16-desktop; 85MB of
983MB (8%)
 
java.lang.NegativeArraySizeException
        at ij.plugin.PluginInstaller.download(PluginInstaller.java:101)
        at ij.plugin.URLOpener.cacheSampleImages(URLOpener.java:148)
        at ij.plugin.URLOpener.run(URLOpener.java:27)
        at ij.IJ.runPlugIn(IJ.java:166)
        at ij.Executer.runCommand(Executer.java:131)
        at ij.Executer.run(Executer.java:64)
        at java.lang.Thread.run(Thread.java:724)

Regards

Gabriel

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

Re: Cache Sample Images error

Rasband, Wayne (NIH/NIMH) [E]
On Oct 14, 2013, at 2:44 PM, Gabriel Landini wrote:

> When I try the Cache Sample Images I get this error just after the
> LineGraph.jpg image has been copied:
>
> ImageJ 1.48e3; Java 1.7.0_40 [64-bit]; Linux 3.7.10-1.16-desktop; 85MB of
> 983MB (8%)
>
> java.lang.NegativeArraySizeException
> at ij.plugin.PluginInstaller.download(PluginInstaller.java:101)

The File>Open Samples>Cache Sample Images command in ImageJ 1.48d throws an exception when it attempts to download the 26MB Mitosis 5d stack. You can work around this problem by upgrading to the 1.48e daily build. It will download all the sample images except the Mitosis stack, which you can open and save (using File>Save As>ZIP) as Spindly-GFP.zip in the ImageJ/samples folder. The Spindly-GFP.zip file may be corrupted but I can't replace it until the U.S. Government shutdown ends.

Due to the shutdown, you can't use Help>Update ImageJ to upgrade to the daily build. Instead, thanks to Johannes Schindelin, you can download it from

     http://wsr.imagej.net/download/ij.jar

-wayne

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

Re: Cache Sample Images error

dscho
Hi,

On Mon, 14 Oct 2013, Rasband, Wayne (NIH/NIMH) [E] wrote:

> On Oct 14, 2013, at 2:44 PM, Gabriel Landini wrote:
>
> > When I try the Cache Sample Images I get this error just after the
> > LineGraph.jpg image has been copied:
> >
> > ImageJ 1.48e3; Java 1.7.0_40 [64-bit]; Linux 3.7.10-1.16-desktop; 85MB of
> > 983MB (8%)
> >
> > java.lang.NegativeArraySizeException
> > at ij.plugin.PluginInstaller.download(PluginInstaller.java:101)
>
> The File>Open Samples>Cache Sample Images command in ImageJ 1.48d throws
> an exception when it attempts to download the 26MB Mitosis 5d stack. You
> can work around this problem by upgrading to the 1.48e daily build. It
> will download all the sample images except the Mitosis stack, which you
> can open and save (using File>Save As>ZIP) as Spindly-GFP.zip in the
> ImageJ/samples folder. The Spindly-GFP.zip file may be corrupted but I
> can't replace it until the U.S. Government shutdown ends.
>
> Due to the shutdown, you can't use Help>Update ImageJ to upgrade to the
> daily build. Instead, thanks to Johannes Schindelin, you can download it
> from
>
>      http://wsr.imagej.net/download/ij.jar

Just to clarify: I only set up the website, but it is of course hosted by
the lab I work in, LOCI. ;-)

Glad it works out!
Johannes

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