Fiji Updater Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Fiji Updater Error

LIM Soon Yew John (IMB)
Dear All,

I get the following error message below when I try to update Fiji which I just downloaded from the Fiji's webpage. I am using Window 7 64-bit and I get this error for both 64 bit and 32 bit version of Fiji.

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
 at fiji.updater.Adapter.check(Adapter.java:263)
 at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
 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.reflect.InvocationTargetException
 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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
 at fiji.updater.Adapter.check(Adapter.java:261)
 ... 6 more
Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
 at imagej.updater.core.UpToDate.check(UpToDate.java:88)
 ... 12 more
Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
 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:181)
 at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
 at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
 ... 13 more

Any help will be greatly appreciated.

Thank You,
John
________________________________________
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
Hi John,

On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:

> I get the following error message below when I try to update Fiji which
> I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
> and I get this error for both 64 bit and 32 bit version of Fiji.
>
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>  at fiji.updater.Adapter.check(Adapter.java:263)
>  at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
>  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.reflect.InvocationTargetException
>  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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
>  at fiji.updater.Adapter.check(Adapter.java:261)
>  ... 6 more
> Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
>  at imagej.updater.core.UpToDate.check(UpToDate.java:88)
>  ... 12 more
> Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
>  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:181)
>  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
>  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
>  ... 13 more
>
> Any help will be greatly appreciated.

I'm terribly sorry about that, there are still a couple of rough edges in
the Updater which had been hidden by the fact that we previously had only
one update site, but now we have two, and we are preparing to offer
ImageJ2 via that updater, too.

Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

Aryeh Weiss
On 8/15/12 7:23 PM, Johannes Schindelin wrote:

> Hi John,
>
> On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:
>
>> I get the following error message below when I try to update Fiji which
>> I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
>> and I get this error for both 64 bit and 32 bit version of Fiji.
>>
>> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>>   at fiji.updater.Adapter.check(Adapter.java:263)
>>   at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
>>   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.reflect.InvocationTargetException
>>   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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
>>   at fiji.updater.Adapter.check(Adapter.java:261)
>>   ... 6 more
>> Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
>>   at imagej.updater.core.UpToDate.check(UpToDate.java:88)
>>   ... 12 more
>> Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
>>   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:181)
>>   at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
>>   at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
>>   ... 13 more
>>
>> Any help will be greatly appreciated.
>
> I'm terribly sorry about that, there are still a couple of rough edges in
> the Updater which had been hidden by the fact that we previously had only
> one update site, but now we have two, and we are preparing to offer
> ImageJ2 via that updater, too.
>
> Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
> ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?
>

Hi Johannes,

I have a similar problem. I just tried removing the two SNAPSHOT files
you mentioned. In this case the updater does not crash, but reports that
it could not download the ImageJ Updater.

One less serious issue  that is probably related to the current
transition is that loci_tools gets duplicated. The solution is to remove
the old loci_tools.jar from the plugins directory.

Best regards,
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
Hi Aryeh,

On Wed, 15 Aug 2012, Aryeh Weiss wrote:

> On 8/15/12 7:23 PM, Johannes Schindelin wrote:
>
> > On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:
> >
> > > I get the following error message below when I try to update Fiji which
> > > I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
> > > and I get this error for both 64 bit and 32 bit version of Fiji.
> > >
> > > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> > >   at fiji.updater.Adapter.check(Adapter.java:263)
> > >   at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
> > >   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.reflect.InvocationTargetException
> > >   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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
> > >   at fiji.updater.Adapter.check(Adapter.java:261)
> > >   ... 6 more
> > > Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
> > >   at imagej.updater.core.UpToDate.check(UpToDate.java:88)
> > >   ... 12 more
> > > Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
> > >   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:181)
> > >   at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
> > >   at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
> > >   ... 13 more
> > >
> > > Any help will be greatly appreciated.
> >
> > I'm terribly sorry about that, there are still a couple of rough edges in
> > the Updater which had been hidden by the fact that we previously had only
> > one update site, but now we have two, and we are preparing to offer
> > ImageJ2 via that updater, too.
> >
> > Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
> > ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?
> >
>
> Hi Johannes,
>
> I have a similar problem. I just tried removing the two SNAPSHOT files
> you mentioned. In this case the updater does not crash, but reports that
> it could not download the ImageJ Updater.

I had that issue in one test where I was too impatient to wait for the
automatic up-to-date check to offer me to run the updater. But a simple
restart fixed the issue, so I tried to address other issues first ;-)

> One less serious issue  that is probably related to the current
> transition is that loci_tools gets duplicated. The solution is to remove
> the old loci_tools.jar from the plugins directory.

That is one long-standing bug in the updater which I fixed recently: the
updater would not offer you to uninstall obsolete files (loci_tools.jar
was obsoleted by loci_plugins.jar). It should actually be fixed after the
Updater ran (which should have marked loci_tools.jar for uninstallation).

Ciao,
Dscho

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

Aryeh Weiss
On 8/15/12 8:33 PM, Johannes Schindelin wrote:

> Hi Aryeh,
>
> On Wed, 15 Aug 2012, Aryeh Weiss wrote:
>
>> On 8/15/12 7:23 PM, Johannes Schindelin wrote:
>>
>>> On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:
>>>
>>>> I get the following error message below when I try to update Fiji which
>>>> I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
>>>> and I get this error for both 64 bit and 32 bit version of Fiji.
>>>>
>>>> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>>>>    at fiji.updater.Adapter.check(Adapter.java:263)
>>>>    at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
>>>>    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.reflect.InvocationTargetException
>>>>    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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
>>>>    at fiji.updater.Adapter.check(Adapter.java:261)
>>>>    ... 6 more
>>>> Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
>>>>    at imagej.updater.core.UpToDate.check(UpToDate.java:88)
>>>>    ... 12 more
>>>> Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
>>>>    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:181)
>>>>    at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
>>>>    at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
>>>>    ... 13 more
>>>>
>>>> Any help will be greatly appreciated.
>>>
>>> I'm terribly sorry about that, there are still a couple of rough edges in
>>> the Updater which had been hidden by the fact that we previously had only
>>> one update site, but now we have two, and we are preparing to offer
>>> ImageJ2 via that updater, too.
>>>
>>> Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
>>> ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?
>>>
>>
>> Hi Johannes,
>>
>> I have a similar problem. I just tried removing the two SNAPSHOT files
>> you mentioned. In this case the updater does not crash, but reports that
>> it could not download the ImageJ Updater.
>
> I had that issue in one test where I was too impatient to wait for the
> automatic up-to-date check to offer me to run the updater. But a simple
> restart fixed the issue, so I tried to address other issues first ;-)
>

Hi Johannes

So, further testing here reveals that even though I removed these jar
files, they got put back, apparently as part of startup.
Then I got the updater to start (even with the error I reported last
email). I went into advanced mode, and asked it to uninstall those
updater jar files. It reported that it did so. When I restarted Fiji,
those files reappeared.

The updater now appears to function properly (no crash report).
I successfully "updated" my ij.jar (ie, changed to the Fiji ij.jar
instead of the daily build) just to check that the updater will do it.

Other relevant details:
I run OSX 10.6.8
Java is reported to be 1.6.0_33 (64 bit)

Best regards,
--aryeh
--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

Nicolás Pírez
In reply to this post by dscho
Hi Johannes,

In my case, I get the following message when I try to update Fiji:

Could not find the class: imagej.updater.gui.ImageJUpdater

Any suggestions?

Thanks, Nico.

--
Nicolás Pírez, Ph.D.
[hidden email]
+5491164161970



On Wed, Aug 15, 2012 at 1:23 PM, Johannes Schindelin <
[hidden email]> wrote:

> Hi John,
>
> On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:
>
> > I get the following error message below when I try to update Fiji which
> > I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
> > and I get this error for both 64 bit and 32 bit version of Fiji.
> >
> > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> >  at fiji.updater.Adapter.check(Adapter.java:263)
> >  at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
> >  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.reflect.InvocationTargetException
> >  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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
> >  at fiji.updater.Adapter.check(Adapter.java:261)
> >  ... 6 more
> > Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
> >  at imagej.updater.core.UpToDate.check(UpToDate.java:88)
> >  ... 12 more
> > Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
> >  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:181)
> >  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
> >  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
> >  ... 13 more
> >
> > Any help will be greatly appreciated.
>
> I'm terribly sorry about that, there are still a couple of rough edges in
> the Updater which had been hidden by the fact that we previously had only
> one update site, but now we have two, and we are preparing to offer
> ImageJ2 via that updater, too.
>
> Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
> ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?
>
> Ciao,
> Johannes
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
In reply to this post by Aryeh Weiss
Hi Aryeh,

On Wed, 15 Aug 2012, Aryeh Weiss wrote:

> So, further testing here reveals that even though I removed these jar
> files, they got put back, apparently as part of startup.  Then I got the
> updater to start (even with the error I reported last email). I went
> into advanced mode, and asked it to uninstall those updater jar files.
> It reported that it did so. When I restarted Fiji, those files
> reappeared.

Sorry, I rushed my answer a bit because I wanted it to get out before I
had other committments.

What I meant was: by removing those files you can force the Fiji Updater
to get the current versions of those files. It appeared that there was an
unresolved version conflict between the updater files; one part -- the
core -- was updated, but another -- the user interface -- was not, so the
user interface still expected certain classes that the new core no longer
had.

Therefore, what the updater did was exactly what I wanted it to ;-)

> The updater now appears to function properly (no crash report).  I
> successfully "updated" my ij.jar (ie, changed to the Fiji ij.jar instead
> of the daily build) just to check that the updater will do it.

Very good!

Sorry for all the troubles,
Dscho

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
In reply to this post by Nicolás Pírez
Hi Nicolás,

On Wed, 15 Aug 2012, Nicolás Pírez wrote:

> In my case, I get the following message when I try to update Fiji:
>
> Could not find the class: imagej.updater.gui.ImageJUpdater

Did you try the same trick? Deleting
ij-ui-swing-updater-2.0.0-SNAPSHOT.jar and restart & run Help>Update Fiji?
It should kick the updater back into action.

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
Hi Nicolás,

On Wed, 15 Aug 2012, Nicolás Pírez wrote:

> I tried but in the Fiji.app/jars folders I can't find those files.

What files do you have in Fiji.app/jars/ that have an "ij-" prefix,
besides ij-1.47a.jar and ij-launcher-2.0.0-SNAPSHOT.jar?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

LIM Soon Yew John (IMB)
In reply to this post by dscho
Hi Johannes,

Thank you very much. The Fiji updater works properly after deleting the old ij-updater-core-2.0.0-SNAPSHOT.jar and ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/.

Best Regards,
John
________________________________________
From: Johannes Schindelin [[hidden email]]
Sent: Thursday, August 16, 2012 12:23 AM
To: LIM Soon Yew John (IMB)
Cc: [hidden email]
Subject: Re: Fiji Updater Error

Hi John,

On Wed, 15 Aug 2012, LIM Soon Yew John (IMB) wrote:

> I get the following error message below when I try to update Fiji which
> I just downloaded from the Fiji's webpage. I am using Window 7 64-bit
> and I get this error for both 64 bit and 32 bit version of Fiji.
>
> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
>  at fiji.updater.Adapter.check(Adapter.java:263)
>  at fiji.updater.Adapter.checkOrShowDialog(Adapter.java:81)
>  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.reflect.InvocationTargetException
>  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 fiji.updater.Adapter.invokeStatic(Adapter.java:436)
>  at fiji.updater.Adapter.check(Adapter.java:261)
>  ... 6 more
> Caused by: java.lang.NoClassDefFoundError: imagej/util/FileUtils
>  at imagej.updater.core.UpToDate.check(UpToDate.java:88)
>  ... 12 more
> Caused by: java.lang.ClassNotFoundException: imagej.util.FileUtils
>  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:181)
>  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:132)
>  at fiji.FijiClassLoader.loadClass(FijiClassLoader.java:127)
>  ... 13 more
>
> Any help will be greatly appreciated.

I'm terribly sorry about that, there are still a couple of rough edges in
the Updater which had been hidden by the fact that we previously had only
one update site, but now we have two, and we are preparing to offer
ImageJ2 via that updater, too.

Does it work if you delete ij-updater-core-2.0.0-SNAPSHOT.jar and
ij-ui-swing-updater-2.0.0-SNAPSHOT.jar from Fiji.app/jars/?

Ciao,
Johannes
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
In reply to this post by dscho
Hi Nicolás,

BTW I keep Cc:ing the list not to annoy you but because I have a hunch
that you might not be the only one having the issue. And it would be a
lousy use of my time to help each of you individually... don't you think?
;-)

On Wed, 15 Aug 2012, Nicolás Pírez wrote:

> \Fiji.app\jars
>
> In this file there is only an ij file. Nothing else with that prefix.
>
> Shall I delete and download it again?

If you have not updated in quite a while, or if you just unpacked Fiji
Madison, that is the normal situation. But the automatic update should
Just Work.

So this is what I tested: I downloaded fiji-win32-20110307 and unpacked
it. Ran it, it asked me to install a new updater which I let it do. It
then complained that it could not overwrite the updater (this is a known
bug in that old version of the updater which has been fixed in the
meantime; it should say that a restart of Fiji will fix things). So I
restarted and it ran the updater alright.

Another tack might be to download
http://jenkins.imagej.net/job/Stable-Fiji/lastSuccessfulBuild/artifact/fiji-nojre.zip
and copy over the jars/ directory.

Hopefully one of these methods helps you,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Fiji Updater Error

dscho
In reply to this post by dscho
Hi Jeff,

On Wed, 15 Aug 2012, Jeff C Hanson wrote:

> Sorry to throw more noise into the mix...  but, I'm having a similar problem on my 32-bit windows system.  I've tried a couple of different permutations of running the Fiji updater and always end up with getting a NullPointerException "at fiji.updater.Adapter.check(Adapter.java:263)".
> I tried starting fresh with fiji-win32-20110307.zip and using the Update Fiji command, to no avail.  At no point during the process are there ANY files with ij- prefix in the Fiji.app\jars folder.

As I just wrote to Nicolàs, I tried the very same procedure (although
after uploading some fixes yesterday) and it works here.

Could you try again to see whether my uploads yesterday fixed the issue?

If not, would you be willing to let me work on your computer to identify
the problem? (We could set up some VNC session for example.)

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html