Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » ClassNotFoundException in Plugin
ClassNotFoundException in Plugin [message #331584] Fri, 12 September 2008 09:07 Go to next message
Jochen Mader is currently offline Jochen MaderFriend
Messages: 24
Registered: July 2009
Junior Member
I have a very confusing problem.
I have one plugin (let's call it plugin one) which is used by 3
applications. Two of these work flawlessly.
The 3rd app has the following problem:
I have the main app plugin (two) that contains the eclipse rcp. This main
plugin depends on another plugin (three) for some functionality. Both
plugins depend on plugin one.
If I start this application suddenly plugin three thrwows a
classnotofundexception for a class from plugin one. This class is found
by plugin two without a problem.
To test things I created an activator for plugin three that creates an
instance of the class that is not found. Starting just plugin three with
this activator works.
I validated the plugins before starting, no problems there.
Any hints how I can debug this????
Thanks
Jochen
Re: ClassNotFoundException in Plugin [message #331591 is a reply to message #331584] Fri, 12 September 2008 10:09 Go to previous message
Jochen Mader is currently offline Jochen MaderFriend
Messages: 24
Registered: July 2009
Junior Member
Found it.
The classnotfound didn't happen in the plugin that threw the exception.
That's darn confusing. A class embedded in another plugin usesd
classForName to load a class, the needed class wasn't there. It
propagated upwards until it arrived in my other plugin.
there was no sign in the stacktrace that the exception came from another
plugin.
I have no idea if there is a better way to deal with such problems in the
future.

Thanks,
Jochen
Previous Topic:Patch to Eclipse plug-in
Next Topic:Radio Buttons in Dynamic Menu
Goto Forum:
  


Current Time: Tue Jul 30 21:17:27 GMT 2024

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

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

Back to the top