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 468 - Updater problem: NoClassDefFoundError: imagej/updater/util/UpdateCanceledException
Updater problem: NoClassDefFoundError: imagej/updater/util/UpdateCanceledExce...
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2012-08-15 12:01 CDT by Andrew French
Modified: 2013-07-07 09:02 CDT
1 user (show)

See Also:

Description Andrew French 2012-08-15 12:01:28 CDT
Hi

I'm getting this error when I run the updater. After a few rounds of updating this morning (15/8), which worked fine, it now does this when I go to update. I have restarted Fiji several times.

Windows 7, Fiji 1.47b 64bit

java.lang.NoClassDefFoundError: imagej/updater/util/UpdateCanceledException
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
	at java.lang.Class.getConstructor0(Class.java:2699)
	at java.lang.Class.newInstance0(Class.java:326)
	at java.lang.Class.newInstance(Class.java:308)
	at fiji.updater.Adapter.runUpdater(Adapter.java:160)
	at fiji.updater.Updater.run(Updater.java:17)
	at ij.IJ.runUserPlugIn(IJ.java:185)
	at ij.IJ.runPlugIn(IJ.java:152)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at ij.Command.runPlugIn(Command.java:146)
	at ij.Command.runCommand(Command.java:95)
	at ij.Executer.run(Executer.java:64)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: imagej.updater.util.UpdateCanceledException
	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 fiji.FijiClassLoader.loadClass(FijiClassLoader.java:266)
	at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:217)
	at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:212)
	... 17 more

Thanks for any help
Comment 1 Johannes Schindelin 2012-08-15 18:39:02 CDT
Sorry, my mistake. I tried to fix something manually and forgot ij-ui-swing-updater-2.0.0-SNAPSHOT.jar. Could you delete that file from your Fiji.app/jars/ folder and try to update again? It should work now.
Comment 2 Johannes Schindelin 2013-07-07 09:02:53 CDT
I assume that my fixes worked -- even if there was no feedback.