Re: RatioPlus issue_Unable to run

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

Re: RatioPlus issue_Unable to run

Sindy Kueh-2
Dear ImageJ users,

I recently encounter issues with the RatioPlus plugin. Error message as below:


(Fiji Is Just) ImageJ 2.0.0-rc-56/1.51j; Java 1.8.0_66 [64-bit]; Windows 7 6.1; 50MB of 494MB (10%)
 
java.lang.ClassFormatError: Truncated class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at ij.IJ.runUserPlugIn(IJ.java:215)
        at ij.IJ.runPlugIn(IJ.java:181)
        at ij.Executer.runCommand(Executer.java:137)
        at ij.Executer.run(Executer.java:66)
        at java.lang.Thread.run(Thread.java:745)


I have updated my FIJI however, but problem still occurs. Also, IT have installed the latest Java... I have similar issue on a separate computer.
 
Has anyone encountered this error message ... would value any input/ help on how to rectify this.
Cheers
Sindy



Sindy Kueh, PhD| Research Officer
Anatomy and Cell Biology|School of Medicine

T: 02-4620 3938|  F: 02 4620 3890| E:  [hidden email]

Building 30, Goldsmith Avenue|Campbelltown NSW 2560
Mailing address:    Locked Bag 1797,Penrith NSW 2751

westernsydney.edu.au






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

Re: RatioPlus issue_Unable to run

ctrueden
Hi Sindy,

The Ratio_Plus.class file downloaded from
https://imagej.net/plugins/ratio-plus.html is 5287 bytes. If yours is
smaller, then your download got truncated somehow.

If redownloading the .class file somehow does not help, I also compiled a
version from the .java source, and placed it online, which you could try:

  http://curtis.imagej.net/2017-03-08-ratio-plus/Ratio_Plus.class

This latter version is compiled for Java 6 or later, and is 5638 bytes in
size.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden
Did you know ImageJ has a forum? http://forum.imagej.net/


On Tue, Mar 7, 2017 at 10:27 PM, Sindy Kueh <[hidden email]>
wrote:

> Dear ImageJ users,
>
> I recently encounter issues with the RatioPlus plugin. Error message as
> below:
>
>
> (Fiji Is Just) ImageJ 2.0.0-rc-56/1.51j; Java 1.8.0_66 [64-bit]; Windows 7
> 6.1; 50MB of 494MB (10%)
>
> java.lang.ClassFormatError: Truncated class file
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at ij.IJ.runUserPlugIn(IJ.java:215)
>         at ij.IJ.runPlugIn(IJ.java:181)
>         at ij.Executer.runCommand(Executer.java:137)
>         at ij.Executer.run(Executer.java:66)
>         at java.lang.Thread.run(Thread.java:745)
>
>
> I have updated my FIJI however, but problem still occurs. Also, IT have
> installed the latest Java... I have similar issue on a separate computer.
>
> Has anyone encountered this error message ... would value any input/ help
> on how to rectify this.
> Cheers
> Sindy
>
>
>
> Sindy Kueh, PhD| Research Officer
> Anatomy and Cell Biology|School of Medicine
>
> T: 02-4620 3938|  F: 02 4620 3890| E:  [hidden email]
>
> Building 30, Goldsmith Avenue|Campbelltown NSW 2560
> Mailing address:    Locked Bag 1797,Penrith NSW 2751
>
> westernsydney.edu.au
>
>
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

Re: RatioPlus issue_Unable to run

Sindy Kueh-2
Hi Curtis,
Fantastic. I tried the first link in your email, and it did not work. But the second one,  http://curtis.imagej.net/2017-03-08-ratio-plus/Ratio_Plus.class worked.
Cheers
I am up and running again.
Best regards
Sindy



Sindy Kueh, PhD| Research Officer
Anatomy and Cell Biology|School of Medicine

T: 02-4620 3938|  F: 02 4620 3890| E:  [hidden email]

Building 30, Goldsmith Avenue|Campbelltown NSW 2560
Mailing address:    Locked Bag 1797,Penrith NSW 2751

westernsydney.edu.au

 

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Curtis Rueden
Sent: Thursday, 9 March 2017 3:54 AM
To: [hidden email]
Subject: Re: RatioPlus issue_Unable to run

Hi Sindy,

The Ratio_Plus.class file downloaded from https://imagej.net/plugins/ratio-plus.html is 5287 bytes. If yours is smaller, then your download got truncated somehow.

If redownloading the .class file somehow does not help, I also compiled a version from the .java source, and placed it online, which you could try:

  http://curtis.imagej.net/2017-03-08-ratio-plus/Ratio_Plus.class

This latter version is compiled for Java 6 or later, and is 5638 bytes in size.

Regards,
Curtis

--
Curtis Rueden
LOCI software architect - https://loci.wisc.edu/software
ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden Did you know ImageJ has a forum? http://forum.imagej.net/


On Tue, Mar 7, 2017 at 10:27 PM, Sindy Kueh <[hidden email]>
wrote:

> Dear ImageJ users,
>
> I recently encounter issues with the RatioPlus plugin. Error message
> as
> below:
>
>
> (Fiji Is Just) ImageJ 2.0.0-rc-56/1.51j; Java 1.8.0_66 [64-bit];
> Windows 7 6.1; 50MB of 494MB (10%)
>
> java.lang.ClassFormatError: Truncated class file
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>         at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at ij.IJ.runUserPlugIn(IJ.java:215)
>         at ij.IJ.runPlugIn(IJ.java:181)
>         at ij.Executer.runCommand(Executer.java:137)
>         at ij.Executer.run(Executer.java:66)
>         at java.lang.Thread.run(Thread.java:745)
>
>
> I have updated my FIJI however, but problem still occurs. Also, IT
> have installed the latest Java... I have similar issue on a separate computer.
>
> Has anyone encountered this error message ... would value any input/
> help on how to rectify this.
> Cheers
> Sindy
>
>
>
> Sindy Kueh, PhD| Research Officer
> Anatomy and Cell Biology|School of Medicine
>
> T: 02-4620 3938|  F: 02 4620 3890| E:  [hidden email]
>
> Building 30, Goldsmith Avenue|Campbelltown NSW 2560
> Mailing address:    Locked Bag 1797,Penrith NSW 2751
>
> westernsydney.edu.au
>
>
>
>
>
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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

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