Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Error creating advice
Error creating advice [message #61682] Mon, 06 February 2006 10:36 Go to next message
Eclipse UserFriend
Originally posted by: kanonmicke.gmail.com

Hi!

I wonder if anybody have had these problems and know a workaround or a
solution.

Im using eclipse 3.1.0 and have downloaded and installed
ajdt_1.3_for_eclipse_3.1.zip. I using jdk1.5.
After converting my existing project to a aspectj project I
get the following exceptions:
Unhandled event loop exception
An exception stack trace is not available.
Failed to execute runnable (java.lang.VerifyError: class
org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
overrides final method .)

org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.VerifyError: class
org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
overrides final method .)
at org.eclipse.swt.SWT.error(SWT.java:3251)
at org.eclipse.swt.SWT.error(SWT.java:3174)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3171)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2826)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1755)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:368)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:377)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:164)
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.invokeFramework(Main.java:338 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.VerifyError: class
org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
overrides final method .
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:233)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
at
org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:68)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at
org.eclipse.ajdt.internal.ui.editor.AJSourceViewerConfigurat ion.getContentAssistant(AJSourceViewerConfiguration.java:58)
at
org.eclipse.jface.text.source.SourceViewer.configure(SourceV iewer.java:331)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.conf igure(JavaSourceViewer.java:214)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor $AdaptedSourceViewer.configure(CompilationUnitEditor.java:31 4)
at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2532)
at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:326)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPart Control(JavaEditor.java:2628)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .createPartControl(CompilationUnitEditor.java:1725)
at
org.eclipse.ajdt.internal.ui.editor.AspectJEditor.createPart Control(AspectJEditor.java:325)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:599)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
at
org.eclipse.ajdt.internal.builder.AJModelUtils$RefreshOutlin ePagesJob.runInUIThread(AJModelUtils.java:78)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
... 18 more






I also get the exact same errors creating an aspect following the
HelloWorld example, http://www.eclipse.org/ajdt/demos/index.php.
Re: Error creating advice [message #61706 is a reply to message #61682] Mon, 06 February 2006 12:53 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi,

This looks like the sort of error caused by a mismatch between AJDT and
Eclipse versions. If you go to Help > About Eclipse SDK, what build id do
you see - is it I20050627-1435? Next click on the AJ feature icon on that
dialog, then press "Plug-in Details". Expand the Version column of that
table and look at the last field of the version number - is it
20051220093604 for all plugins? Have you ever installed any other version
of AJDT into the same eclipse installation? If so, it could be picking up
that other version.

Regards,

Matt.

On Mon, 06 Feb 2006 10:36:39 +0000, Mikael wrote:
> I wonder if anybody have had these problems and know a workaround or a
> solution.
>
> Im using eclipse 3.1.0 and have downloaded and installed
> ajdt_1.3_for_eclipse_3.1.zip. I using jdk1.5.
> After converting my existing project to a aspectj project I
> get the following exceptions:
> Unhandled event loop exception
> An exception stack trace is not available.
> Failed to execute runnable (java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .)
>
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .)
> at org.eclipse.swt.SWT.error(SWT.java:3251)
> at org.eclipse.swt.SWT.error(SWT.java:3174)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3171)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2826)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1755)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:368)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:377)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:164)
> 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.invokeFramework(Main.java:338 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:68)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> org.eclipse.ajdt.internal.ui.editor.AJSourceViewerConfigurat ion.getContentAssistant(AJSourceViewerConfiguration.java:58)
> at
> org.eclipse.jface.text.source.SourceViewer.configure(SourceV iewer.java:331)
> at
> org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.conf igure(JavaSourceViewer.java:214)
> at
> org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor $AdaptedSourceViewer.configure(CompilationUnitEditor.java:31 4)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2532)
> at
> org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:326)
> at
> org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPart Control(JavaEditor.java:2628)
> at
> org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .createPartControl(CompilationUnitEditor.java:1725)
> at
> org.eclipse.ajdt.internal.ui.editor.AspectJEditor.createPart Control(AspectJEditor.java:325)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:599)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
> at
> org.eclipse.ajdt.internal.builder.AJModelUtils$RefreshOutlin ePagesJob.runInUIThread(AJModelUtils.java:78)
> at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> ... 18 more
>
>
>
>
>
>
> I also get the exact same errors creating an aspect following the
> HelloWorld example, http://www.eclipse.org/ajdt/demos/index.php.
Re: Error creating advice [message #592121 is a reply to message #61682] Mon, 06 February 2006 12:53 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
Hi,

This looks like the sort of error caused by a mismatch between AJDT and
Eclipse versions. If you go to Help > About Eclipse SDK, what build id do
you see - is it I20050627-1435? Next click on the AJ feature icon on that
dialog, then press "Plug-in Details". Expand the Version column of that
table and look at the last field of the version number - is it
20051220093604 for all plugins? Have you ever installed any other version
of AJDT into the same eclipse installation? If so, it could be picking up
that other version.

Regards,

Matt.

On Mon, 06 Feb 2006 10:36:39 +0000, Mikael wrote:
> I wonder if anybody have had these problems and know a workaround or a
> solution.
>
> Im using eclipse 3.1.0 and have downloaded and installed
> ajdt_1.3_for_eclipse_3.1.zip. I using jdk1.5.
> After converting my existing project to a aspectj project I
> get the following exceptions:
> Unhandled event loop exception
> An exception stack trace is not available.
> Failed to execute runnable (java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .)
>
> org.eclipse.swt.SWTException: Failed to execute runnable
> (java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .)
> at org.eclipse.swt.SWT.error(SWT.java:3251)
> at org.eclipse.swt.SWT.error(SWT.java:3174)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:126)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3171)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2826)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1755)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:368)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:106)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:377)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:164)
> 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.invokeFramework(Main.java:338 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:282)
> at org.eclipse.core.launcher.Main.run(Main.java:977)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> Caused by: java.lang.VerifyError: class
> org.eclipse.ajdt.internal.ui.editor.contentassist.AJCompleti onProcessor
> overrides final method .
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.d efineClass(DefaultClassLoader.java:370)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:233)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClassImpl(DefaultClassLoader.java:343)
> at
> org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.f indClass(DefaultClassLoader.java:235)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:183)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:141)
> at
> org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:68)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
> at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
> at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at
> org.eclipse.ajdt.internal.ui.editor.AJSourceViewerConfigurat ion.getContentAssistant(AJSourceViewerConfiguration.java:58)
> at
> org.eclipse.jface.text.source.SourceViewer.configure(SourceV iewer.java:331)
> at
> org.eclipse.jdt.internal.ui.javaeditor.JavaSourceViewer.conf igure(JavaSourceViewer.java:214)
> at
> org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor $AdaptedSourceViewer.configure(CompilationUnitEditor.java:31 4)
> at
> org.eclipse.ui.texteditor.AbstractTextEditor.createPartContr ol(AbstractTextEditor.java:2532)
> at
> org.eclipse.ui.texteditor.StatusTextEditor.createPartControl (StatusTextEditor.java:53)
> at
> org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.create PartControl(AbstractDecoratedTextEditor.java:326)
> at
> org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.createPart Control(JavaEditor.java:2628)
> at
> org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .createPartControl(CompilationUnitEditor.java:1725)
> at
> org.eclipse.ajdt.internal.ui.editor.AspectJEditor.createPart Control(AspectJEditor.java:325)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:599)
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:374)
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:213)
> at
> org.eclipse.ajdt.internal.builder.AJModelUtils$RefreshOutlin ePagesJob.runInUIThread(AJModelUtils.java:78)
> at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
> ... 18 more
>
>
>
>
>
>
> I also get the exact same errors creating an aspect following the
> HelloWorld example, http://www.eclipse.org/ajdt/demos/index.php
Previous Topic:Error creating advice
Next Topic:AspectJ DOM
Goto Forum:
  


Current Time: Sat Nov 09 00:56:46 GMT 2024

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

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

Back to the top