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 476 - Updates does not work
Updates does not work
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-28 10:38 CDT by Falk Lucas
Modified: 2012-08-29 20:29 CDT
0 users

See Also:

Description Falk Lucas 2012-08-28 10:38:25 CDT
Hi,
just downloaded the official release (1.45b) from fiji.sc on a WIN XP SP3 32-bit. After the first start, it asks for updates and comes back there is a update for the updater itself. Click OK - Message: Could not Overwrite Updater - Click OK. Close FIJI and restart. FIJI comes up and has in the status line: Loading the remote ImageJ updater. There it gets stuck... You can click on everything - FIJI seems to work except there are no updates.

Best,
Falk
Comment 1 Johannes Schindelin 2012-08-28 18:58:59 CDT
I just tested and could not reproduce the problem. Could you switch on the command-line as described here: http://fiji.sc/Debugging_intro#Command_line_debugging and paste the output here?
Comment 2 Falk Lucas 2012-08-29 16:14:10 CDT
Hi,
just tested this.
first call - no console output - fiji finds update for the updater
close fiji
second call - no console output - in status line " Loading the remote ImageJ updater => nothing else happens ==> no more updates possible
after a while i get some error messages
-in the status line: Could not find the class: imagej.updater.core.UpToDate
-and an exception:
java.lang.RuntimeException: java.lang.NullPointerException
	at fiji.updater.Adapter.check(Adapter.java:276)
	at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:78)
	at fiji.updater.Updater.run(Updater.java:14)
	at fiji.updater.UptodateCheck.run(UptodateCheck.java:8)
	at fiji.Main.gentlyRunPlugIn(Main.java:308)
	at fiji.Main.runUpdater(Main.java:299)
	at fiji.Main$1.run(Main.java:346)
Caused by: java.lang.NullPointerException
	at fiji.updater.Adapter.invokeStatic(Adapter.java:447)
	at fiji.updater.Adapter.check(Adapter.java:274)
	... 6 more

same behavior on a win7 32 bit machine
Thx,
Falk
Comment 3 Johannes Schindelin 2012-08-29 17:53:34 CDT
Yeah, you cannot get the update because your updater is borked... Kind of a catch 22.

Could you please overwrite your Fiji.app/plugins/Fiji_Updater.jar with the version from http://jenkins.imagej.net/job/Stable-Fiji/ws/Fiji.app/plugins/Fiji_Updater.jar? This is the place where one of our Jenkins jobs keeps a Fiji.app up-to-date by updating whenever there are new file versions.

After overwriting that .jar file, you should be back in the game.
Comment 4 Falk Lucas 2012-08-29 19:01:32 CDT
great, it is working...
will this be fixed shortly?
We will start our Summer School next week and 50+ students will download FIJI from the web and use it.
If not, just let me know and I will ditribute a short "how to fix" to them.

Thx again,
Falk
Comment 5 Johannes Schindelin 2012-08-29 20:29:23 CDT
I just tested it with a fresh checkout and it works (there is only the known bug that the Updater claims "Could not overwrite the Fiji Updater" and you have to restart Fiji to continue, as well as the one-time complaint that it would be dangerous to continue without a restart -- but it usually works anyway when saying "Yes, continue").

If in doubt, you should update one copy of Fiji for yourself and then make a package with Plugins>Utilities>Make Fiji Package and let your users unpack that.