Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Plug-in with AspectJ (PDE Development) - How do I run AspectJ Instrumented Plugin ?
Plug-in with AspectJ (PDE Development) - How do I run AspectJ Instrumented Plugin ? [message #581216] Mon, 12 July 2004 23:10
Eclipse User
Originally posted by: schroeder.teccomm.les.inf.puc-rio.br

Hello all.

I work for a year and a half at the Software Engeneering Laboratory from
PUC-Rio (http://www.teccomm.les.inf.puc-rio.br) in a project sponsored by
eclipse inovation grants.
I'm developing a plugin and I want to add some instrumentation to the
code: tracing capability. For that, I've installed AJDT on my Eclipse 2.1.2
platform.
When I run my plugin in the runtime-workbench, I get a No Class
definition error comming from org.eclipse.ui.workbench for
org/aspectj/lang/Signature.
I've already tried to convert org.eclipse.ui.workbench into an aspectj
project. I've also tried to add aspectjrt.jar in the plugin manifest
plugin.xml of both org.eclipse.ui.workbench and my plugin, it was useless.

How do I run AspectJ Instrumented Plugin ?

At the end follows the stack trace from the error log.

Thnaks for the att.

Bruno Schroeder

java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.getConstructor(Unknown Source)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivatio
n(PluginDescriptor.java:709)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(Plugin
Descriptor.java:188)
at
org.eclipse.core.internal.plugins.PluginClassLoader.activate Plugin(PluginCla
ssLoader.java:112)
at
org.eclipse.core.internal.plugins.PluginClassLoader.internal FindClassParents
Self(PluginClassLoader.java:185)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.find ClassParentsSelf
(DelegatingURLClassLoader.java:485)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegating
URLClassLoader.java:882)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.load Class(Delegating
URLClassLoader.java:862)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension
(PluginDescriptor.java:130)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExe cutableExtension
(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.creat eExecutableExten
sion(ConfigurationElement.java:103)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:158)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java
:155)
at org.eclipse.ui.internal.EditorManager$3.run(EditorManager.ja va:676)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:674)
at
org.eclipse.ui.internal.EditorManager.openInternalEditor(Edi torManager.java:
661)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager
..java:459)
at
org.eclipse.ui.internal.EditorManager.openEditorFromInput(Ed itorManager.java
:333)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:424)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2056
)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage .java:2004)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:1991)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1986)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1887)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileActio n.java:96)
at
org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystem EditorAction.jav
a:96)
at
org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAct ion(OpenActionGr
oup.java:111)
at
org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAct ion(MainActionGr
oup.java:250)
at
org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen( ResourceNavigato
r.java:613)
at
org.eclipse.ui.views.navigator.ResourceNavigator$6.open(Reso urceNavigator.ja
va:384)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:397)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:39
5)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:
605)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.jav
a:694)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.jav
a:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Previous Topic:NoAspectBoundException when debugging Aspect with
Next Topic:Plug-in with AspectJ (PDE Development) - How do I run AspectJ Instrumented Plugin ?
Goto Forum:
  


Current Time: Mon Oct 20 04:47:44 GMT 2014

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

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