Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Deprecated AbstractUIPlugin (IPluginDescriptor descr) called from Eclipse M9?
Deprecated AbstractUIPlugin (IPluginDescriptor descr) called from Eclipse M9? [message #250169] Mon, 07 June 2004 12:19 Go to next message
Eclipse UserFriend
Originally posted by: karypid.inf.uth.nospam.gr

When I choose "Window -> Show View -> The view I created" the error log
shows:

"my.plugin.package" was unable to instantiate class
"my.plugin.package.MyPlugin".

In the stack trace, I see:

java.lang.NoSuchMethodException:
my.plugin.package.MyPlugin.<init>(org.eclipse.core.runtime.IPluginDescriptor)

After this error, the log contains a number of identical errors:

Attempt to activate a disabled plug-in: "my.plugin.package".

But there is no stack trace for these.

I'm using Eclipse 3.0M9 and the API docs say that the constructor
AbstractUIPlugin (IPluginDescriptor descr) is deprecated.

In spite of all this, my plugin works flawlessly. What gives?

--
Alexandros Karypidis
Re: Deprecated AbstractUIPlugin (IPluginDescriptor descr) called from Eclipse M9? [message #250174 is a reply to message #250169] Mon, 07 June 2004 12:27 Go to previous message
Eclipse UserFriend
Originally posted by: karypid.inf.uth.nospam.gr

The problem was that plugin.xml had "org.eclipse.core.runtime.compatibility"
listed as a dependency. Removing it fixed everything.

--
Alexandros Karypidis
Previous Topic:MESSAGE Unable to access "http://update.eclipse.org/updates/3.0".
Next Topic:RCP and preferences issues.
Goto Forum:
  


Current Time: Tue Jul 15 12:28:56 EDT 2025

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

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

Back to the top