Hi Matt, This bus has sort-of resolved itself for me. I noticed after re-starting my machine the problem went away, then re-appeared after N compiles, then went away after a restart. So I would imagine it's possibly been resolved by the fix for bug 44215. I don't have the latest developer build, as my company prefers to only go with stable releases so I can't confirm that.
Anyway, at least I have a workaround. /David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chapman Sent: 21 September 2006 16:29 To: [email protected] Subject: 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) <[EMAIL PROTECTED]> 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(AJProjectMod el.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:3 04) > at > org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:103) > at > org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.jav a:50) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:81) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(Element TreeIterator.java:85) > at > org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTree Iterator.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(AJProjectMod el.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:59 3) > 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.ja va:168) > at > org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja va:202) > at > org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:23 1) > 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.ja va:234) > at > org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:30 3) > 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(InternalWor kspaceJob.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 > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
