Java Update issues in Image J FIJI

java
Tags: #<Tag:0x00007fb87e204f98>

#1

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; 85MB of 494MB (17%) 
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 tried updating FIJI and JAVA …but problem still occurs.
Has anyone encountered this error message … would value any input/ help.
Cheers
Sindy


#2

Dear @SINDY,

when does the error occur: after starting ImageJ/Fiji or when you start the RatioPlus plugin?

Could you try to download and “install” the Ratio_Plugin.class again, it might have been corrupted.

Best,
Stefan


#3

Hi Stefan
It occurs when I am using the RatioPlus plugin. I have install the Ratio Plugin again… and even downloaded FIJI and installed… with no luck. Not sure what has happened. Hope to get some advice…
Cheers
Sindy


#4

Dear @SINDY,

since the issue seems to be with the plugin itself, your best shot is to contact the author of the plugin (see the plugin page https://imagej.nih.gov/ij/plugins/ratio-plus.html).

Best,
Stefan


#5

@SINDY has cross-posted on the ImageJ mailinglist: http://imagej.1557.x6.nabble.com/Re-RatioPlus-issue-Unable-to-run-tp5018240.html

Curtis has recompiled the plugin at http://curtis.imagej.net/2017-03-08-ratio-plus/Ratio_Plus.class which seems to solve the issue.