Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] Plugin not started 2

Unfortunately i am not allowed to post the projects because its license
i can give you as a further detail the full stack trace

java.lang.NoClassDefFoundError: com/example/ReferencedPlugin
	at
com.example.application.splashHandlers.InteractiveSplashHandler.handleButtonOKWidgetSelected(InteractiveSplashHandler.java:166)
	at
com.example.application.InteractiveSplashHandler.createUIListenersButtonOK(InteractiveSplashHandler.java:149)
	at
com.example.application.splashHandlers.InteractiveSplashHandler.createUIListeners(InteractiveSplashHandler.java:113)
	at
com.example.application.splashHandlers.InteractiveSplashHandler.init(InteractiveSplashHandler.java:86)
	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:595)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at
org.eclipse.ui.internal.Workbench.createSplashWrapper(Workbench.java:611)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2248)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at com.example.application.Application.start(Application.java:25)
	at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
	at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Exception in thread "Thread-1" java.lang.NoClassDefFoundError:
com/example/ReferencedPlugin
	at
com.example.application.ClassReferencingPlugin.initialize(ObjectRepository.java:26)
	at
com.example.application.splashHandlers.InteractiveSplashHandler$3.run(InteractiveSplashHandler.java:374)

I have replaced the original names used in the projects with the com.example
things.
I hope this helps more



Brian Bauman wrote:
> 
> Any chance you can post the projects?
> 

I saw the previous topic : Plugin not started
I have tried everything you suggested but nothing seems to work

So my problem is very similar:
I have an RCP application, and a plugin
the plugin contains the necessary libraries for the application to run, it
exports the packages, and the application plugin requires this "library
plugin". it worked for a time, but now, i do not know why, it does not 
work,
it gives me that ugly NoClassDefFoundException when the app reaches a line
where it references the other plugin. While debugging, I've found out that
there is also a LinkageError... so the application does not find the 
plugin
while running, so it throws the LinkageError when invoking
MyPlugin.getDefault().
Eclipse doesn't give me any build errors, so everything seems fine, andI
can't find out what's the problem
Please help me....
Thank you in advance...
        Robert
--
-- 
View this message in context: http://www.nabble.com/Plugin-not-started-2-tf4569362.html#a13057845
Sent from the Eclipse PDE - General mailing list archive at Nabble.com.



Back to the top