Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Problems with inter type declaration aspects on the Aspect Path
Problems with inter type declaration aspects on the Aspect Path [message #73244] Fri, 20 February 2009 18:21 Go to next message
Filip Croes is currently offline Filip CroesFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I have several problems using inter type declaration with AJDT :(

After I got that ugly SIOOB Exception of yesterday, I tried to reproduce
this error in an isolated environment, but instead I got some more
errors... S

And my inter type is not working either, whereas it does in the project
where the Aspect is defined... :s

Please download and test my example here:
http://www.2shared.com/file/4921023/91eb4dc1/aspects-example .html
(It's Maven-ready, except for the Aspect Path: I configured this manually
in Eclipse.)

List of my errors:

java.lang.NullPointerException
at java.lang.String.<init>(String.java:176)
at
org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .getInterTypeDecls(AspectsConvertingParser.java:611)
at
org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .convert(AspectsConvertingParser.java:387)
at
org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompilationUnit.initContents(ContentAssistProvide r.java:59)
at
org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompilationUnit. <init>(ContentAssistProvider.java:53)
at
org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider.doContentAssist(ContentAssistProvider.java:101)
at
org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_eclipse_contribution_jdt_itdawareness_ITDAwa renessAspect$5$a811c9a4(ITDAwarenessAspect.aj:243)
at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable .java:105)
at
org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.java:344)
at
org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.java:337)
at
org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.internalComputeCompletionProposals(JavaCompletionPr oposalComputer.java:190)
at
org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.computeCompletionProposals(JavaCompletionProposalCo mputer.java:156)
at
org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProp osalComputer.computeCompletionProposals(JavaTypeCompletionPr oposalComputer.java:58)
at
org.eclipse.mylyn.internal.java.ui.editor.FocusedJavaTypePro posalComputer.computeCompletionProposals(FocusedJavaTypeProp osalComputer.java:35)
at
org.eclipse.jdt.internal.ui.text.java.CompletionProposalComp uterDescriptor.computeCompletionProposals(CompletionProposal ComputerDescriptor.java:316)
at
org.eclipse.jdt.internal.ui.text.java.CompletionProposalCate gory.computeCompletionProposals(CompletionProposalCategory.j ava:264)
at
org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .collectProposals(ContentAssistProcessor.java:285)
at
org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .computeCompletionProposals(ContentAssistProcessor.java:245)
at
org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposals(ContentAssistant.java:1836)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(CompletionProposalPopup.java:553)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$16(CompletionProposalPopup.java:550)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup $2.run(CompletionProposalPopup.java:485)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .showProposals(CompletionProposalPopup.java:479)
at
org.eclipse.jface.text.contentassist.ContentAssistant$2.run( ContentAssistant.java:377)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)


java.lang.NullPointerException
at
org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyResolver.java:582)
at
org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(HierarchyBuilder.java:115)
at
org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(IndexBasedHierarchyBuilder.java:135)
at
org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.java:300)
at
org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.java:1241)
at
org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(CreateTypeHierarchyOperation.java:90)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:709)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:770)
at
org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java:704)
at
org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java:656)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(SuperTypeHierarchyCache.java:120)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(SuperTypeHierarchyCache.java:80)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverrideTester(SuperTypeHierarchyCache.java:89)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(OverrideIndicatorLabelDecorator.java:168)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(OverrideIndicatorLabelDecorator.java:133)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorLabelDecorator.java:269)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:269)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:356)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:338)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(DecorationScheduler.java:374)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:334)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



java.lang.NullPointerException
at
org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyResolver.java:582)
at
org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(HierarchyBuilder.java:115)
at
org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(IndexBasedHierarchyBuilder.java:135)
at
org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.java:300)
at
org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.java:1241)
at
org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(CreateTypeHierarchyOperation.java:90)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:709)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:770)
at
org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java:704)
at
org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java:656)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(SuperTypeHierarchyCache.java:120)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(SuperTypeHierarchyCache.java:80)
at
org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverrideTester(SuperTypeHierarchyCache.java:89)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(OverrideIndicatorLabelDecorator.java:168)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(OverrideIndicatorLabelDecorator.java:133)
at
org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorLabelDecorator.java:269)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(LightweightDecoratorDefinition.java:269)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunnable.run(LightweightDecoratorManager.java: 72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(LightweightDecoratorManager.java:356)
at
org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(LightweightDecoratorManager.java:338)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(DecorationScheduler.java:374)
at
org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationScheduler.java:334)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

org.eclipse.core.runtime.OperationCanceledException
at
org.eclipse.jdt.internal.core.CancelableProblemFactory.creat eProblem(CancelableProblemFactory.java:36)
at
org.eclipse.jdt.internal.compiler.problem.ProblemHandler.cre ateProblem(ProblemHandler.java:91)
at
org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler.java:135)
at
org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler.java:179)
at
org.eclipse.jdt.internal.compiler.problem.ProblemReporter.ha ndle(ProblemReporter.java:1830)
at
org.eclipse.jdt.internal.compiler.problem.ProblemReporter.pa rseErrorInsertToComplete(ProblemReporter.java:5610)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportPrimaryError(DiagnoseParser.java:2318)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportError(DiagnoseParser.java:2135)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryDiagnosis(DiagnoseParser.java:1023)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryPhase(DiagnoseParser.java:704)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.errorRecovery(DiagnoseParser.java:519)
at
org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.diagnoseParse(DiagnoseParser.java:377)
at
org.eclipse.jdt.internal.compiler.parser.Parser.reportSyntax Errors(Parser.java:10235)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9315)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9500)
at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9457)
at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCo mpile(Compiler.java:694)
at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Co mpiler.java:376)
at
org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.beginToCompile(AJCompilationUnitProblemFinder.java:134 )
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:838)
at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:904)
at
org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.processAJ(AJCompilationUnitProblemFinder.java:219)
at
org.eclipse.ajdt.core.AspectJPlugin$1.problemFind(AspectJPlu gin.java:184)
at
org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_eclipse_contribution_jdt_itdawareness_ITDAwa renessAspect$4$8b05d765(ITDAwarenessAspect.aj:205)
at
org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(CompilationUnitProblemFinder.java:153)
at
org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(CompilationUnitProblemFinder.java:243)
at
org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. makeConsistent(ReconcileWorkingCopyOperation.java:190)
at
org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. executeOperation(ReconcileWorkingCopyOperation.java:89)
at
org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:709)
at
org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:770)
at
org.eclipse.jdt.internal.core.CompilationUnit.reconcile(Comp ilationUnit.java:1224)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaReconcilingStrategy.java:124)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.access$0(JavaReconcilingStrategy.java:108)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y$1.run(JavaReconcilingStrategy.java:89)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaReconcilingStrategy.java:87)
at
org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaReconcilingStrategy.java:149)
at
org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrateg y.reconcile(CompositeReconcilingStrategy.java:86)
at
org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStr ategy.reconcile(JavaCompositeReconcilingStrategy.java:102)
at
org.eclipse.jface.text.reconciler.MonoReconciler.process(Mon oReconciler.java:77)
at
org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(AbstractReconciler.java:206)

version info:
eclipse.buildId=M20080911-1700
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Eclipse AspectJ Development Tools
Version: 1.6.3.20090122141228
AspectJ version: 1.6.4.20090106083800
Re: Problems with inter type declaration aspects on the Aspect Path [message #73268 is a reply to message #73244] Sat, 21 February 2009 04:23 Go to previous message
Eclipse UserFriend
Originally posted by: andrew.eisenberg.springsource.com

Hi Filip,

I have not been able to reproduce your NPEs, because I think I addressed
them in the fix to your previous post (which is available now as a dev build
from the dev update site).

However, there does appear to be a problem with generating the crosscutting
model of ITDs when they are in other projects. Thank you for the test case.
It is very easy to track the problem with it.

The bug has been logged here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265729

The code is compiling correctly, it is only not being displayed properly in
the editor.


On 20/02/09 10:21 AM, in article
25dc96f2f55d3764593baabfc8d5e89e$1@www.eclipse.org, "Filip Croes"
<filip.croes@cronos.be> wrote:

> Hi,
>
> I have several problems using inter type declaration with AJDT :(
>
> After I got that ugly SIOOB Exception of yesterday, I tried to reproduce
> this error in an isolated environment, but instead I got some more
> errors... S
>
> And my inter type is not working either, whereas it does in the project
> where the Aspect is defined... :s
>
> Please download and test my example here:
> http://www.2shared.com/file/4921023/91eb4dc1/aspects-example .html
> (It's Maven-ready, except for the Aspect Path: I configured this manually
> in Eclipse.)
>
> List of my errors:
>
> java.lang.NullPointerException
> at java.lang.String.<init>(String.java:176)
> at
> org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .getInterTypeDecls
> (AspectsConvertingParser.java:611)
> at
> org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .convert(AspectsCo
> nvertingParser.java:387)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompila
> tionUnit.initContents(ContentAssistProvider.java:59)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompila
> tionUnit.<init>(ContentAssistProvider.java:53)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider.doContentAs
> sist(ContentAssistProvider.java:101)
> at
> org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_ec
> lipse_contribution_jdt_itdawareness_ITDAwarenessAspect$5$a81 1c9a4(ITDAwareness
> Aspect.aj:243)
> at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable .java:105)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.jav
> a:344)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.jav
> a:337)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.internalC
> omputeCompletionProposals(JavaCompletionProposalComputer.jav a:190)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.computeCo
> mpletionProposals(JavaCompletionProposalComputer.java:156)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProp osalComputer.compu
> teCompletionProposals(JavaTypeCompletionProposalComputer.jav a:58)
> at
> org.eclipse.mylyn.internal.java.ui.editor.FocusedJavaTypePro posalComputer.comp
> uteCompletionProposals(FocusedJavaTypeProposalComputer.java: 35)
> at
> org.eclipse.jdt.internal.ui.text.java.CompletionProposalComp uterDescriptor.com
> puteCompletionProposals(CompletionProposalComputerDescriptor .java:316)
> at
> org.eclipse.jdt.internal.ui.text.java.CompletionProposalCate gory.computeComple
> tionProposals(CompletionProposalCategory.java:264)
> at
> org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .collectProposals(
> ContentAssistProcessor.java:285)
> at
> org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .computeCompletion
> Proposals(ContentAssistProcessor.java:245)
> at
> org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposa
> ls(ContentAssistant.java:1836)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(
> CompletionProposalPopup.java:553)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$16(Complet
> ionProposalPopup.java:550)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup $2.run(CompletionP
> roposalPopup.java:485)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .showProposals(Com
> pletionProposalPopup.java:479)
> at
> org.eclipse.jface.text.contentassist.ContentAssistant$2.run( ContentAssistant.j
> ava:377)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:19
> 3)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.j
> ava:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
>
> java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyRes
> olver.java:582)
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(Hiera
> rchyBuilder.java:115)
> at
> org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(Index
> BasedHierarchyBuilder.java:135)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.ja
> va:300)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.ja
> va:1241)
> at
> org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(Cr
> eateTypeHierarchyOperation.java:90)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :704)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :656)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:120)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:80)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverride
> Tester(SuperTypeHierarchyCache.java:89)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(Overr
> ideIndicatorLabelDecorator.java:168)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(Overr
> ideIndicatorLabelDecorator.java:133)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorL
> abelDecorator.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(Lig
> htweightDecoratorDefinition.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunn
> able.run(LightweightDecoratorManager.java:72)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(Lightw
> eightDecoratorManager.java:356)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(
> LightweightDecoratorManager.java:338)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(De
> corationScheduler.java:374)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationSchedul
> er.java:334)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
>
> java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyRes
> olver.java:582)
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(Hiera
> rchyBuilder.java:115)
> at
> org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(Index
> BasedHierarchyBuilder.java:135)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.ja
> va:300)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.ja
> va:1241)
> at
> org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(Cr
> eateTypeHierarchyOperation.java:90)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :704)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :656)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:120)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:80)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverride
> Tester(SuperTypeHierarchyCache.java:89)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(Overr
> ideIndicatorLabelDecorator.java:168)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(Overr
> ideIndicatorLabelDecorator.java:133)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorL
> abelDecorator.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(Lig
> htweightDecoratorDefinition.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunn
> able.run(LightweightDecoratorManager.java:72)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(Lightw
> eightDecoratorManager.java:356)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(
> LightweightDecoratorManager.java:338)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(De
> corationScheduler.java:374)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationSchedul
> er.java:334)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> org.eclipse.core.runtime.OperationCanceledException
> at
> org.eclipse.jdt.internal.core.CancelableProblemFactory.creat eProblem(Cancelabl
> eProblemFactory.java:36)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.cre ateProblem(Problem
> Handler.java:91)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler
> .java:135)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler
> .java:179)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemReporter.ha ndle(ProblemReport
> er.java:1830)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemReporter.pa rseErrorInsertToCo
> mplete(ProblemReporter.java:5610)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportPrimary
> Error(DiagnoseParser.java:2318)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportError(D
> iagnoseParser.java:2135)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryDiagno
> sis(DiagnoseParser.java:1023)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryPhase(
> DiagnoseParser.java:704)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.errorRecovery
> (DiagnoseParser.java:519)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.diagnoseParse
> (DiagnoseParser.java:377)
> at
> org.eclipse.jdt.internal.compiler.parser.Parser.reportSyntax Errors(Parser.java
> :10235)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9315)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9500)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9457)
> at
> org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCo mpile(Compiler.jav
> a:694)
> at
> org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Co mpiler.java:376)
> at
> org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.beginToCompi
> le(AJCompilationUnitProblemFinder.java:134)
> at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:838)
> at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:904)
> at
> org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.processAJ(AJ
> CompilationUnitProblemFinder.java:219)
> at
> org.eclipse.ajdt.core.AspectJPlugin$1.problemFind(AspectJPlu gin.java:184)
> at
> org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_ec
> lipse_contribution_jdt_itdawareness_ITDAwarenessAspect$4$8b0 5d765(ITDAwareness
> Aspect.aj:205)
> at
> org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(Compilation
> UnitProblemFinder.java:153)
> at
> org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(Compilation
> UnitProblemFinder.java:243)
> at
> org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. makeConsistent(Rec
> oncileWorkingCopyOperation.java:190)
> at
> org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. executeOperation(R
> econcileWorkingCopyOperation.java:89)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.reconcile(Comp ilationUnit.java:1
> 224)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:124)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.access$0(JavaRec
> oncilingStrategy.java:108)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y$1.run(JavaReconc
> ilingStrategy.java:89)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:87)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:149)
> at
> org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrateg y.reconcile(Compos
> iteReconcilingStrategy.java:86)
> at
> org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStr ategy.reconcile(Ja
> vaCompositeReconcilingStrategy.java:102)
> at
> org.eclipse.jface.text.reconciler.MonoReconciler.process(Mon oReconciler.java:7
> 7)
> at
> org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(Abst
> ractReconciler.java:206)
>
> version info:
> eclipse.buildId=M20080911-1700
> java.version=1.6.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
> Eclipse AspectJ Development Tools
> Version: 1.6.3.20090122141228
> AspectJ version: 1.6.4.20090106083800
>
Re: Problems with inter type declaration aspects on the Aspect Path [message #599656 is a reply to message #73244] Sat, 21 February 2009 04:23 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 77
Registered: July 2009
Member
Hi Filip,

I have not been able to reproduce your NPEs, because I think I addressed
them in the fix to your previous post (which is available now as a dev build
from the dev update site).

However, there does appear to be a problem with generating the crosscutting
model of ITDs when they are in other projects. Thank you for the test case.
It is very easy to track the problem with it.

The bug has been logged here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=265729

The code is compiling correctly, it is only not being displayed properly in
the editor.


On 20/02/09 10:21 AM, in article
25dc96f2f55d3764593baabfc8d5e89e$1@www.eclipse.org, "Filip Croes"
<filip.croes@cronos.be> wrote:

> Hi,
>
> I have several problems using inter type declaration with AJDT :(
>
> After I got that ugly SIOOB Exception of yesterday, I tried to reproduce
> this error in an isolated environment, but instead I got some more
> errors... S
>
> And my inter type is not working either, whereas it does in the project
> where the Aspect is defined... :s
>
> Please download and test my example here:
> http://www.2shared.com/file/4921023/91eb4dc1/aspects-example .html
> (It's Maven-ready, except for the Aspect Path: I configured this manually
> in Eclipse.)
>
> List of my errors:
>
> java.lang.NullPointerException
> at java.lang.String.<init>(String.java:176)
> at
> org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .getInterTypeDecls
> (AspectsConvertingParser.java:611)
> at
> org.eclipse.ajdt.core.codeconversion.AspectsConvertingParser .convert(AspectsCo
> nvertingParser.java:387)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompila
> tionUnit.initContents(ContentAssistProvider.java:59)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider$MockCompila
> tionUnit.<init>(ContentAssistProvider.java:53)
> at
> org.eclipse.ajdt.internal.core.contentassist.ContentAssistPr ovider.doContentAs
> sist(ContentAssistProvider.java:101)
> at
> org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_ec
> lipse_contribution_jdt_itdawareness_ITDAwarenessAspect$5$a81 1c9a4(ITDAwareness
> Aspect.aj:243)
> at org.eclipse.jdt.internal.core.Openable.codeComplete(Openable .java:105)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.jav
> a:344)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.codeComplete(C ompilationUnit.jav
> a:337)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.internalC
> omputeCompletionProposals(JavaCompletionProposalComputer.jav a:190)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposal Computer.computeCo
> mpletionProposals(JavaCompletionProposalComputer.java:156)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaTypeCompletionProp osalComputer.compu
> teCompletionProposals(JavaTypeCompletionProposalComputer.jav a:58)
> at
> org.eclipse.mylyn.internal.java.ui.editor.FocusedJavaTypePro posalComputer.comp
> uteCompletionProposals(FocusedJavaTypeProposalComputer.java: 35)
> at
> org.eclipse.jdt.internal.ui.text.java.CompletionProposalComp uterDescriptor.com
> puteCompletionProposals(CompletionProposalComputerDescriptor .java:316)
> at
> org.eclipse.jdt.internal.ui.text.java.CompletionProposalCate gory.computeComple
> tionProposals(CompletionProposalCategory.java:264)
> at
> org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .collectProposals(
> ContentAssistProcessor.java:285)
> at
> org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor .computeCompletion
> Proposals(ContentAssistProcessor.java:245)
> at
> org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposa
> ls(ContentAssistant.java:1836)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(
> CompletionProposalPopup.java:553)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .access$16(Complet
> ionProposalPopup.java:550)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup $2.run(CompletionP
> roposalPopup.java:485)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
> at
> org.eclipse.jface.text.contentassist.CompletionProposalPopup .showProposals(Com
> pletionProposalPopup.java:479)
> at
> org.eclipse.jface.text.contentassist.ContentAssistant$2.run( ContentAssistant.j
> ava:377)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:133)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3800)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3425)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.ja
> va:113)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:19
> 3)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(Ec
> lipseAppLauncher.java:110)
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppL
> auncher.java:79)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:386)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.j
> ava:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
>
>
> java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyRes
> olver.java:582)
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(Hiera
> rchyBuilder.java:115)
> at
> org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(Index
> BasedHierarchyBuilder.java:135)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.ja
> va:300)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.ja
> va:1241)
> at
> org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(Cr
> eateTypeHierarchyOperation.java:90)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :704)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :656)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:120)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:80)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverride
> Tester(SuperTypeHierarchyCache.java:89)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(Overr
> ideIndicatorLabelDecorator.java:168)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(Overr
> ideIndicatorLabelDecorator.java:133)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorL
> abelDecorator.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(Lig
> htweightDecoratorDefinition.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunn
> able.run(LightweightDecoratorManager.java:72)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(Lightw
> eightDecoratorManager.java:356)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(
> LightweightDecoratorManager.java:338)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(De
> corationScheduler.java:374)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationSchedul
> er.java:334)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
>
> java.lang.NullPointerException
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyResolver.re solve(HierarchyRes
> olver.java:582)
> at
> org.eclipse.jdt.internal.core.hierarchy.HierarchyBuilder.bui ldSupertypes(Hiera
> rchyBuilder.java:115)
> at
> org.eclipse.jdt.internal.core.hierarchy.IndexBasedHierarchyB uilder.build(Index
> BasedHierarchyBuilder.java:135)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.comput e(TypeHierarchy.ja
> va:300)
> at
> org.eclipse.jdt.internal.core.hierarchy.TypeHierarchy.refres h(TypeHierarchy.ja
> va:1241)
> at
> org.eclipse.jdt.internal.core.CreateTypeHierarchyOperation.e xecuteOperation(Cr
> eateTypeHierarchyOperation.java:90)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :704)
> at
> org.eclipse.jdt.internal.core.SourceType.newSupertypeHierarc hy(SourceType.java
> :656)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:120)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getTypeHierarchy(
> SuperTypeHierarchyCache.java:80)
> at
> org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache .getMethodOverride
> Tester(SuperTypeHierarchyCache.java:89)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.getOverri deIndicators(Overr
> ideIndicatorLabelDecorator.java:168)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.computeAd ornmentFlags(Overr
> ideIndicatorLabelDecorator.java:133)
> at
> org.eclipse.jdt.ui.OverrideIndicatorLabelDecorator.decorate( OverrideIndicatorL
> abelDecorator.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefin ition.decorate(Lig
> htweightDecoratorDefinition.java:269)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er$LightweightRunn
> able.run(LightweightDecoratorManager.java:72)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.decorate(Lightw
> eightDecoratorManager.java:356)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManag er.getDecorations(
> LightweightDecoratorManager.java:338)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ens ureResultCached(De
> corationScheduler.java:374)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.run (DecorationSchedul
> er.java:334)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> org.eclipse.core.runtime.OperationCanceledException
> at
> org.eclipse.jdt.internal.core.CancelableProblemFactory.creat eProblem(Cancelabl
> eProblemFactory.java:36)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.cre ateProblem(Problem
> Handler.java:91)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler
> .java:135)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemHandler.han dle(ProblemHandler
> .java:179)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemReporter.ha ndle(ProblemReport
> er.java:1830)
> at
> org.eclipse.jdt.internal.compiler.problem.ProblemReporter.pa rseErrorInsertToCo
> mplete(ProblemReporter.java:5610)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportPrimary
> Error(DiagnoseParser.java:2318)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.reportError(D
> iagnoseParser.java:2135)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryDiagno
> sis(DiagnoseParser.java:1023)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.primaryPhase(
> DiagnoseParser.java:704)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.errorRecovery
> (DiagnoseParser.java:519)
> at
> org.eclipse.jdt.internal.compiler.parser.diagnose.DiagnosePa rser.diagnoseParse
> (DiagnoseParser.java:377)
> at
> org.eclipse.jdt.internal.compiler.parser.Parser.reportSyntax Errors(Parser.java
> :10235)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9315)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9500)
> at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser .java:9457)
> at
> org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCo mpile(Compiler.jav
> a:694)
> at
> org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Co mpiler.java:376)
> at
> org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.beginToCompi
> le(AJCompilationUnitProblemFinder.java:134)
> at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:838)
> at org.eclipse.jdt.internal.compiler.Compiler.resolve(Compiler. java:904)
> at
> org.eclipse.ajdt.core.parserbridge.AJCompilationUnitProblemF inder.processAJ(AJ
> CompilationUnitProblemFinder.java:219)
> at
> org.eclipse.ajdt.core.AspectJPlugin$1.problemFind(AspectJPlu gin.java:184)
> at
> org.eclipse.contribution.jdt.itdawareness.ITDAwarenessAspect .ajc$around$org_ec
> lipse_contribution_jdt_itdawareness_ITDAwarenessAspect$4$8b0 5d765(ITDAwareness
> Aspect.aj:205)
> at
> org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(Compilation
> UnitProblemFinder.java:153)
> at
> org.eclipse.jdt.internal.core.CompilationUnitProblemFinder.p rocess(Compilation
> UnitProblemFinder.java:243)
> at
> org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. makeConsistent(Rec
> oncileWorkingCopyOperation.java:190)
> at
> org.eclipse.jdt.internal.core.ReconcileWorkingCopyOperation. executeOperation(R
> econcileWorkingCopyOperation.java:89)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:7
> 09)
> at
> org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperati
> on.java:770)
> at
> org.eclipse.jdt.internal.core.CompilationUnit.reconcile(Comp ilationUnit.java:1
> 224)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:124)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.access$0(JavaRec
> oncilingStrategy.java:108)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y$1.run(JavaReconc
> ilingStrategy.java:89)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:87)
> at
> org.eclipse.jdt.internal.ui.text.java.JavaReconcilingStrateg y.reconcile(JavaRe
> concilingStrategy.java:149)
> at
> org.eclipse.jdt.internal.ui.text.CompositeReconcilingStrateg y.reconcile(Compos
> iteReconcilingStrategy.java:86)
> at
> org.eclipse.jdt.internal.ui.text.JavaCompositeReconcilingStr ategy.reconcile(Ja
> vaCompositeReconcilingStrategy.java:102)
> at
> org.eclipse.jface.text.reconciler.MonoReconciler.process(Mon oReconciler.java:7
> 7)
> at
> org.eclipse.jface.text.reconciler.AbstractReconciler$Backgro undThread.run(Abst
> ractReconciler.java:206)
>
> version info:
> eclipse.buildId=M20080911-1700
> java.version=1.6.0_11
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
> Eclipse AspectJ Development Tools
> Version: 1.6.3.20090122141228
> AspectJ version: 1.6.4.20090106083800
>
Previous Topic:Problems with inter type declaration aspects on the Aspect Path
Next Topic:"Duplicate field" error with more than one "declare warning"
Goto Forum:
  


Current Time: Sat Dec 20 15:13:14 GMT 2014

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

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