Skip to main content

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

This is definitely an AJDT bug, but I'm not yet sure what is causing it.
The stack trace you give is very similar to the one on this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=155021
It's probably the same problem, just a slightly different version of
AJDT causing different line numbers.

Would you be able to try installing the latest dev build of AJDT? If
it still fails there, please could you update the above bug with the
new stack trace? Also if you can attach a small testcase which
reproduces the bug, that would be very helpful.

--Matt.

On 21/09/06, David Hatton (AT/LMI) <david.hatton@xxxxxxxxxxxx> wrote:



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.

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users





Back to the top