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 103 - Fiji Updater crashes with an exception while attempting to delete class files in the plugins folder that are symlinks
Fiji Updater crashes with an exception while attempting to delete class files...
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Linux
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2009-11-13 15:17 CST by Stephan Saalfeld
Modified: 2009-11-16 16:41 CST
0 users

See Also:

Description Stephan Saalfeld 2009-11-13 15:17:36 CST
The exception is this:

java.lang.RuntimeException: Tried to remove plugins/Blablabla_.class, which is not known to Fiji
	at fiji.updater.logic.Checksummer.handle(Checksummer.java:116)
	at fiji.updater.logic.Checksummer.handleQueue(Checksummer.java:147)
	at fiji.updater.logic.Checksummer.updateFromLocal(Checksummer.java:220)
	at fiji.updater.Updater.run(Updater.java:92)
	at ij.IJ.runUserPlugIn(IJ.java:183)
	at ij.IJ.runPlugIn(IJ.java:150)
	at ij.Executer.runCommand(Executer.java:145)
	at ij.Executer.run(Executer.java:76)
	at java.lang.Thread.run(Thread.java:619)

On the other hand---why does the updater delete class files at all?
Comment 1 Johannes Schindelin 2009-11-16 14:06:53 CST
Did you mark them as "Uninstall it"?  Or does that happen before you can select anything?
Comment 2 Stephan Saalfeld 2009-11-16 14:14:35 CST
it happened before doing anything
Comment 3 Johannes Schindelin 2009-11-16 16:41:21 CST
The problem (as discussed on Skype) are not the symbolic links, but that the targets of the symbolic links are not reachable.

Fixed: http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=fiji.git;a=commitdiff;h=eaa3859cae282ca680df1bdc459ae3fbd66d360f