Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] AbstractUIPlugin cannot be resolved or is not a valid superclass

Greetings,

I'm getting this message in my log when trying to load my plugin.  It
seems
to work fine when launched from the "Runtime Workbench" feature.
However,
when I install it into my actuall Eclipse plugins directory, I get this
error.  The full stack trace is below.

Does anyone have any idea what this is about?  I have the dependency on
org.eclipse.ui plugin in the plugin.xml - so that class should be
available...

BTW, this will be an open-source JavaCC plugin once it is working
properly...

Cheers,

pete
peter m. murray
pete@xxxxxxxx


org.eclipse.core.internal.boot.DelegatingLoaderException:
org.eclipse.core.runtime.CoreException[2]:
java.lang.reflect.InvocationTargetException: java.lang.Error: Unresolved
compilation problems: 
	AbstractUIPlugin cannot be resolved or is not a valid superclass
	The constructor
java.lang.Object(org.eclipse.core.runtime.IPluginDescriptor) is
undefined


	at java.lang.reflect.Constructor.newInstance(Native Method)

	at
com.subx.eclipse.javacc.JavaccPlugin.<init>(JavaccPlugin.java:12)

	at java.lang.reflect.Constructor.newInstance(Native Method)

	at
org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActiv
ation(PluginDescriptor.java:680)

	at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(Pl
uginDescriptor.java:186)

	at
org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(Plugi
nClassLoader.java:58)

	at
org.eclipse.core.internal.plugins.PluginClassLoader.findClassParentsSelf
(PluginClassLoader.java:136)

	at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(Delega
tingURLClassLoader.java:750)

	at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(Delega
tingURLClassLoader.java:730)

	at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExten
sion(PluginDescriptor.java:130)

	at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExten
sion(PluginDescriptor.java:167)

	at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableE
xtension(ConfigurationElement.java:102)

	at
org.eclipse.core.internal.events.BuildManager.instantiateBuilder(BuildMa
nager.java:486)

	at
org.eclipse.core.internal.events.BuildManager.initializeBuilder(BuildMan
ager.java:441)

	at
org.eclipse.core.internal.events.BuildManager.getBuilder(BuildManager.ja
va:327)

	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:165)

	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:186)

	at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:14
6)

	at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.
java:831)

	at org.eclipse.core.runtime.Platform.run(Platform.java:416)

	at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:160)

	at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:21
1)

	at
org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.jav
a:733)

	at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1366)

	at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOpera
tion.java:78)

	at
org.eclipse.ui.texteditor.AbstractTextEditor.performSaveOperation(Abstra
ctTextEditor.java:2120)

	at
org.eclipse.ui.texteditor.AbstractTextEditor.doSave(AbstractTextEditor.j
ava:1982)

	at
org.eclipse.ui.internal.EditorManager$11.run(EditorManager.java:987)

	at
org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:856)

	at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext
.java:299)

	at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249)

	at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:
394)

	at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66)

	at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:39
1)

	at
org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1105)

	at
org.eclipse.ui.internal.EditorManager.runProgressMonitorOperation(Editor
Manager.java:862)

	at
org.eclipse.ui.internal.EditorManager.saveEditor(EditorManager.java:992)

	at
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:1922
)

	at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:32)

	at
org.eclipse.ui.internal.registry.AcceleratorScope$AcceleratorAction.run(
AcceleratorScope.java:284)

	at
org.eclipse.ui.internal.registry.AcceleratorScope.processKey(Accelerator
Scope.java:258)

	at
org.eclipse.ui.internal.KeyBindingService.processKey(KeyBindingService.j
ava:100)

	at
org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.verif
yKey(AbstractTextEditor.java:444)

	at
org.eclipse.jface.text.TextViewer$VerifyKeyListenersManager.verifyKey(Te
xtViewer.java:328)

	at
org.eclipse.swt.custom.StyledTextListener.handleEvent(StyledTextListener
.java:51)

	at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)

	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)

	at
org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:636)

	at
org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:4626)

	at
org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:4371)

	at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77)

	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:827)

	at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1529)

	at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1291)

	at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1177)

	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)

	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader
.java:775)

	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)

	at java.lang.reflect.Method.invoke(Native Method)

	at org.eclipse.core.launcher.Main.basicRun(Main.java:248)

	at org.eclipse.core.launcher.Main.run(Main.java:698)

	at org.eclipse.core.launcher.Main.main(Main.java:534)





Back to the top