Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » NoSuchMethodError in Product Release
NoSuchMethodError in Product Release [message #448444] Tue, 25 April 2006 06:58 Go to next message
Eclipse UserFriend
Originally posted by: calisteron.calinied.de

Hi,

I'm working on a RCP standalone application. Everythings works fine when I start the app in the eclipse IDE, but I'm running into bad trouble if I build a release via a product configuration.

The application can be started, but I receive a NoSuchMethodError during the execution:

java.lang.NoSuchMethodError:
de.package.AbstractPO.isProcessed()Z

This is mystic. I opened the jar file and decompiled the class AbstractPO and there is a methode called "isProcessed()".

This problem only occurs when I start the product release, not within the IDE.

I'm totally confused about this. Does anybody has a hint or a similar problem?

I also wonder what the capital Z means after the methode name (see mini stack trace above)

Best regards,
Andreas Altwein
Re: NoSuchMethodError in Product Release [message #448518 is a reply to message #448444] Tue, 25 April 2006 17:19 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Andreas Altwein wrote:
> Hi,
>
> I'm working on a RCP standalone application. Everythings works fine when I start the app in the eclipse IDE, but I'm running into bad trouble if I build a release via a product configuration.
>
> The application can be started, but I receive a NoSuchMethodError during the execution:
>
> java.lang.NoSuchMethodError:
> de.package.AbstractPO.isProcessed()Z

Are there any earlier errors in the error log? If the plugin won't
start for any reason, then you can no longer load classes from that plugin.

The other option is that the RCP standalone app doesn't have enough
plugins to load your plugin ... Are all of your plugin dependencies in
your <rcp>/plugins directory?

>
> I also wonder what the capital Z means after the methode name (see mini stack trace above)

Z must be the return type.

Later,
PW


Re: NoSuchMethodError in Product Release [message #448523 is a reply to message #448518] Tue, 25 April 2006 19:08 Go to previous message
Eclipse UserFriend
Originally posted by: calisteron.calinied.de

Hi,

> Are there any earlier errors in the error log? If
> the plugin won't
> start for any reason, then you can no longer load
> classes from that plugin.

No, there were not... but after all, I finally found the mistake I made: Unfortunaltey there was a class with the same name in the classpath (why ever, i don't care - it was the work of my companion) which did not have the method isProcessed.

I threw away the JAR file with this obsolete class and now everything works fine.

Nevertheless, many thanks for your answer....

Best regards,
Andreas
Previous Topic:Accessing editor actionbar contribution
Next Topic:How to Refresh a ViewPart's Icon
Goto Forum:
  


Current Time: Fri Jan 03 02:10:10 GMT 2025

Powered by FUDForum. Page generated in 0.04717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top