imagej exception error

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

imagej exception error

Greet Meulepas
Dear all,

I try to digitize several pictures in a folder using a self-made (not by me)
plugin.
But after the first picture I get an exception error which says:

java.lang.NoSuchMethodError: ij.text.TextPanel.saveAs(Ljava/lang/String;)V
        at skull_ventral.run(skull_ventral.java:108)
        at ij.IJ.runFilterPlugIn(IJ.java:147)
        at ij.IJ.runUserPlugIn(IJ.java:268)
        at ij.IJ.runPlugIn(IJ.java:120)
        at ij.Executer.runCommand(Executer.java:95)
        at ij.Executer.run(Executer.java:49)
        at java.lang.Thread.run(Unknown Source)

Can somebody help me, 'cause I'm getting desperate...

thanks,

Greet

_________________________________________________________________
In 2 tellen een GRATIS online foto dagboek http://spaces.live.com/
Reply | Threaded
Open this post in threaded view
|

Re: imagej exception error

dscho
Hi,

On Tue, 6 Mar 2007, Greet Meulepas wrote:

> I try to digitize several pictures in a folder using a self-made (not by
> me) plugin. But after the first picture I get an exception error which
> says:
>
> java.lang.NoSuchMethodError: ij.text.TextPanel.saveAs(Ljava/lang/String;)V

This means that Java did not find the method "public void saveAs(String
arg)" in the class TextPanel.

However, asking my software archive, it seems that this method is included
in ImageJ since _at least_ version 1.20. Which version do you run? Is your
ImageJ modified?

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: imagej exception error

Greet Meulepas
In reply to this post by Greet Meulepas
Hi,

I have downloaded imageJ, version 1.37v for windows from
http://rsb.info.nih.gov/ij/download.html...
I chose the version bundled with Java 1.5.0_09

Can I download another version somewhere else?

Thanks for helping me!

Greet
Reply | Threaded
Open this post in threaded view
|

Re: imagej exception error

Gabriel Landini
On Tuesday 06 March 2007 13:28:03 Greet Meulepas wrote:
> I have downloaded imageJ, version 1.37v for windows from
> http://rsb.info.nih.gov/ij/download.html...
> I chose the version bundled with Java 1.5.0_09
>
> Can I download another version somewhere else?

Reading the documentation sometimes helps...

http://imagejdocu.tudor.lu/imagej-documentation-wiki/faq/how-do-i-update-imagej

G.
Reply | Threaded
Open this post in threaded view
|

Re: imagej exception error

ctrueden
In reply to this post by Greet Meulepas
Hi Greet,

This sounds like a classpath clash. Could there be a piece of an old
ImagJ embedded in your self-made plugin? Or perhaps you have another
(older) version of ij.jar somewhere else in your classpath?

-Curtis

On 3/6/07, Greet Meulepas <[hidden email]> wrote:

> Dear all,
>
> I try to digitize several pictures in a folder using a self-made (not by me)
> plugin.
> But after the first picture I get an exception error which says:
>
> java.lang.NoSuchMethodError: ij.text.TextPanel.saveAs(Ljava/lang/String;)V
>         at skull_ventral.run(skull_ventral.java:108)
>         at ij.IJ.runFilterPlugIn(IJ.java:147)
>         at ij.IJ.runUserPlugIn(IJ.java:268)
>         at ij.IJ.runPlugIn(IJ.java:120)
>         at ij.Executer.runCommand(Executer.java:95)
>         at ij.Executer.run(Executer.java:49)
>         at java.lang.Thread.run(Unknown Source)
>
> Can somebody help me, 'cause I'm getting desperate...
>
> thanks,
>
> Greet
>
> _________________________________________________________________
> In 2 tellen een GRATIS online foto dagboek http://spaces.live.com/
>