[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Error Traversing Resources

Title: Error Traversing Resources

Hi,

I'm getting this error after I compile an AspectJ project in Eclipse.

It doesn't seem to affect the result of the compilation, i.e. my woven code behaves as expected.

I think it's something to do with the IDE rather than AspectJ but it means I can't get AOP information like advice cross-references in the IDE.

Does anyone know what is causing it and if there is a solution????

/David


Error 2006-09-21 16:01:04.685 An error occurred while traversing resources.
java.lang.NullPointerException
        at org.eclipse.ajdt.core.model.AJProjectModel.createMapForFile(AJProjectModel.java:532)
        at org.eclipse.ajdt.core.model.AJProjectModel.access$9(AJProjectModel.java:405)
        at org.eclipse.ajdt.core.model.AJProjectModel$1.visit(AJProjectModel.java:304)
        at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103)
        at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:50)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
        at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126)
        at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60)
        at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101)
        at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80)
        at org.eclipse.ajdt.core.model.AJProjectModel.createProjectMap(AJProjectModel.java:297)
        at org.eclipse.ajdt.core.model.AJModel$1.run(AJModel.java:169)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1739)
        at org.eclipse.ajdt.core.model.AJModel.createMap(AJModel.java:167)
        at org.eclipse.ajdt.core.builder.AJBuilder.build(AJBuilder.java:299)
        at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
        at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
        at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:303)
        at org.eclipse.core.internal.resources.Project.build(Project.java:106)
        at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:190)
        at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:133)
        at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:424)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is

prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete

the message without disclosing it. Thank you.
E-mail including attachments is susceptible to data corruption, interception, unauthorized amendment, tampering and viruses, and we only

send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any

consequences thereof.