NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 742 - Fiji update affects .java plugins
Fiji update affects .java plugins
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Plugins
unspecified
PC Windows
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-05-07 18:58 CDT by Doug
Modified: 2014-05-08 09:53 CDT
2 users (show)

See Also:

Description Doug 2014-05-07 18:58:42 CDT
After updating Fiji this morning (May 7) I can no longer open a number of Fiji plugins.  While trying to open "Rolling_Ball_Background.java", "Diffraction_PSF_3D.java" and "Align_RGB_planes.java" I recieve the error message below.  The only commonality I can find between these files is that they are the only plugins in my Fiji that are .java files and not .jar files.  There appears to be a issue accessing the associated .class files.

Rolling back ImageJ to the previous version (1.47) does not help, it appears to be the Fiji update that has affected these plugins and not ImageJ.

Thanks for the help!

-Doug


Error message:

(Fiji Is Just) ImageJ 1.48v; Java 1.6.0_24 [64-bit]; Windows 7 6.1; 24MB of 3700MB (<1%)
 
java.lang.NoClassDefFoundError: org/scijava/util/LineOutputStream
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at fiji.scripting.java.PlugInExecutor.tryRun(PlugInExecutor.java:116)
	at fiji.scripting.java.PlugInExecutor.tryRun(PlugInExecutor.java:105)
	at fiji.scripting.java.PlugInExecutor.run(PlugInExecutor.java:86)
	at fiji.scripting.java.Refresh_Javas.runPlugin(Refresh_Javas.java:378)
	at fiji.scripting.java.Refresh_Javas.compileAndRun(Refresh_Javas.java:126)
	at fiji.scripting.java.Refresh_Javas.runScript(Refresh_Javas.java:71)
	at common.RefreshScripts.run(RefreshScripts.java:287)
	at fiji.scripting.java.Refresh_Javas.run(Refresh_Javas.java:61)
	at ij.IJ.runUserPlugIn(IJ.java:199)
	at ij.IJ.runPlugIn(IJ.java:163)
	at ij.Executer.runCommand(Executer.java:131)
	at ij.Executer.run(Executer.java:64)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: org.scijava.util.LineOutputStream
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	... 24 more
Comment 1 Johannes Schindelin 2014-05-08 08:17:39 CDT
This is caused by some version skew. To work around until the time when I can fix it (I am transiting all day, so I cannot do it today), please download https://oss.sonatype.org/service/local/artifact/maven/redirect?r=releases&g=org.scijava&a=scijava-common&v=2.18.1&e=jar into your Fiji.app/jars/ directory and delete the scijava-common-2.9.0.jar that is there already.

Sorry for the inconvenience.
Comment 2 Curtis Rueden 2014-05-08 09:53:18 CDT
I uploaded scijava-common 2.18.1 to the core update site, and all seems to be working now!