Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Plugin classpath problems
Plugin classpath problems [message #492487] Tue, 20 October 2009 15:16 Go to next message
Prashant Deva is currently offline Prashant DevaFriend
Messages: 32
Registered: July 2009
I am trying to desrialize an object of type A. Although my plugin has the proper dependency on plugin C which has type A and can also create and instantiate an object of type A, when I try to desiralize an object of type A, it fails.

The reason I believe is that the* classes which are actually doing the deserialization cannot see type A.

What do I have to put in the manifest of plugin C so that the system classes can see type A?

Here is a stack trace I am getting-

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at Source)
at ect(
at (
at (
at hod(
at 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch( :3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4( 21)
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault (
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(
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( 559)
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
Re: Plugin classpath problems [message #493214 is a reply to message #492487] Fri, 23 October 2009 15:38 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 242
Registered: July 2009
Senior Member
Prashant Deva wrote:
> What do I have to put in the manifest of plugin C so that the system
> classes can see type A?

You'll need to look at Eclipse-BuddyPolicy.

Previous Topic:Changing eclipse icon
Next Topic:Plugin classpath problems
Goto Forum:

Current Time: Sat Aug 08 18:15:34 GMT 2020

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

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

Back to the top