Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] AJDT 1.2.0M1 problem: can't open editor on an aspect

Hello,

I've just made a clean install of eclipse 3.1M1 (since I was running
M2 and AJDT 1.2.0M1 supposedly doesn't run with M2), and installed
AJDT 1.2.0M1 through the "Software updates" function. No preferences
change in between or after.

Now, if I import a (trivial) aspectJ project and try to open a .aj
file, I get the following exception in the logs (and of course, the
editor fails to open). (See exception at the end of this mail).

If I create a completely empty aspect in a file (no members
whatsoever), the editor opens up ok. But if I add a valid pointcut and
close the editor, I get the same problem when I try to open it up
again.

I'm running Windows XP SP1, and J2SE 1.4.2_04.

Also, now I want to install an older AJDT, but I now seem to get a 403
HTTP error when accessing the update site. Separate issue, I know...

Please help... Thanks!

/Robert

!ENTRY org.eclipse.core.runtime 4 2 Oct 17, 2004 20:12:44.399
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.core.Member.<init>(Lorg/eclipse/jdt/internal/core/JavaElement;Ljava/lang/String;)V
	at org.eclipse.ajdt.core.javaelements.AspectJMemberElement.<init>(AspectJMemberElement.java:40)
	at org.eclipse.ajdt.core.javaelements.IntertypeElement.<init>(IntertypeElement.java:21)
	at org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequestor.enterInterTypeDeclaration(AJCompilationUnitStructureRequestor.java:296)
	at org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequestor.enterMethod(AJCompilationUnitStructureRequestor.java:130)
	at org.eclipse.ajdt.parserbridge.AJCompilationUnitStructureRequestor.enterMethod(AJCompilationUnitStructureRequestor.java:97)
	at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySourceElementRequestor(AJSourceElementParser.java:885)
	at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySourceElementRequestor(AJSourceElementParser.java:1118)
	at org.eclipse.ajdt.parserbridge.AJSourceElementParser.notifySourceElementRequestor(AJSourceElementParser.java:716)
	at org.eclipse.ajdt.parserbridge.AJSourceElementParser.parseCompilationUnit(AJSourceElementParser.java:1200)
	at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.buildStructure(AJCompilationUnit.java:199)
	at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:183)
	at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.generateInfos(AJCompilationUnit.java:147)
	at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:543)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:290)
	at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:276)
	at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getElementInfo(AJCompilationUnit.java:107)
	at org.eclipse.jdt.internal.core.JavaElement.getChildren(JavaElement.java:231)
	at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getChildren(AJCompilationUnit.java:326)
	at org.eclipse.jdt.internal.core.JavaElement.getChildrenOfType(JavaElement.java:245)
	at org.eclipse.jdt.internal.core.CompilationUnit.getTypes(CompilationUnit.java:825)
	at org.eclipse.ajdt.core.javaelements.AJCompilationUnit.getTypes(AJCompilationUnit.java:331)
	at org.eclipse.jdt.internal.corext.refactoring.util.JavaElementUtil.getMainType(JavaElementUtil.java:85)
	at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.getSingleSelectedType(ConvertNestedToTopAction.java:126)
	at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.canEnable(ConvertNestedToTopAction.java:115)
	at org.eclipse.jdt.ui.actions.ConvertNestedToTopAction.selectionChanged(ConvertNestedToTopAction.java:89)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchSelectionChanged(SelectionDispatchAction.java:200)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.selectionChanged(SelectionDispatchAction.java:195)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
	at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
	at org.eclipse.core.runtime.Platform.run(Platform.java:747)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:161)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1453)
	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:726)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:753)
	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:209)
	at org.eclipse.jface.util.OpenStrategy.access$3(OpenStrategy.java:204)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:364)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1435)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1406)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:263)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
	at org.eclipse.core.launcher.Main.run(Main.java:644)
	at org.eclipse.core.launcher.Main.main(Main.java:628)


Back to the top