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 475 - Update Fiji - Problem
Update Fiji - Problem
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P2 major
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2012-08-28 09:22 CDT by Sebastian Rhode
Modified: 2012-08-30 16:13 CDT
1 user (show)

See Also:

Description Sebastian Rhode 2012-08-28 09:22:06 CDT
Hi,

I just updates my Fiji after my vacation. First rhere was an update for the updater itself, and afterwards a few updates were installed. But after the restart of Fiji I tries the updater again (just to check) and got the following error message:

java.lang.reflect.UndeclaredThrowableException
	at $Proxy1.type(Unknown Source)
	at imagej.plugin.DefaultPluginFinder.createInfo(DefaultPluginFinder.java:110)
	at imagej.plugin.DefaultPluginFinder.findPlugins(DefaultPluginFinder.java:88)
	at imagej.plugin.PluginIndex.discover(PluginIndex.java:70)
	at imagej.plugin.PluginIndex.discover(PluginIndex.java:62)
	at imagej.ImageJ.<init>(ImageJ.java:182)
	at imagej.ImageJ.createContext(ImageJ.java:126)
	at imagej.ImageJ.createContext(ImageJ.java:96)
	at imagej.updater.gui.ImageJUpdater.run(ImageJUpdater.java:116)
	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.ext.plugin.PreprocessorPlugin
	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)
	at net.java.sezpoz.IndexItem$AnnotationProxy.evaluate(IndexItem.java:327)
	at net.java.sezpoz.IndexItem$AnnotationProxy.annCall(IndexItem.java:311)
	at net.java.sezpoz.IndexItem$AnnotationProxy.invoke(IndexItem.java:300)
	... 21 more

Any suggestions?

Thanks,

Sebi
Comment 1 Johannes Schindelin 2012-08-28 18:52:48 CDT
Please remove jars/ij-ui-swing-updater-2.0.0-SNAPSHOT.jar and try again. I just updated the Fiji Updater which would hopefully make things work more robustly...
Comment 2 Sebastian Rhode 2012-08-29 09:29:32 CDT
Hi Johannes,

i deleted the file and started Fiji. Next thing - a window pops up "Updates are available. Do you want to start the ImageJ updater now?" --> I choose YES.

Inside the Fiji window, two messages are displayed:

1) Loading the remote ImageJ updater.
2) Could not download the ImageJ Updater!

So I tried to restart Fiji and the message about possible updates comes up again. The file I deleted from jars is now back (exactly same file size).

But when I try the update, the following error message (same as before) comes up. May the download of your updated file did not work?

java.lang.reflect.UndeclaredThrowableException
	at $Proxy1.type(Unknown Source)
	at imagej.plugin.DefaultPluginFinder.createInfo(DefaultPluginFinder.java:110)
	at imagej.plugin.DefaultPluginFinder.findPlugins(DefaultPluginFinder.java:88)
	at imagej.plugin.PluginIndex.discover(PluginIndex.java:70)
	at imagej.plugin.PluginIndex.discover(PluginIndex.java:62)
	at imagej.ImageJ.<init>(ImageJ.java:182)
	at imagej.ImageJ.createContext(ImageJ.java:126)
	at imagej.ImageJ.createContext(ImageJ.java:96)
	at imagej.updater.gui.ImageJUpdater.run(ImageJUpdater.java:116)
	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.ext.plugin.PreprocessorPlugin
	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)
	at net.java.sezpoz.IndexItem$AnnotationProxy.evaluate(IndexItem.java:327)
	at net.java.sezpoz.IndexItem$AnnotationProxy.annCall(IndexItem.java:311)
	at net.java.sezpoz.IndexItem$AnnotationProxy.invoke(IndexItem.java:300)
	... 21 more

 
Comment 3 Johannes Schindelin 2012-08-29 17:55:47 CDT
Hmm, this seems to be the same problem as bug 476. Could you follow the same recipe as I described here: http://fiji.sc/cgi-bin/bugzilla/﷒0﷓ please?
Comment 4 Sebastian Rhode 2012-08-30 09:13:33 CDT
Hi Johannes,

this solved the problem.

Thanks,

Sebi