Community
Participate
Working Groups
Build ID: M20060629-1905 Steps To Reproduce: 1. Each time when build my workspace. It's a complexe workspace. Aspect has build on a project and the aspect are copied on a folder in an another project. In this project, this folder in put in the aspectpath. 2. 3. More information: failure on create eclipse marker when path contains '!' instead of '/' AJDT tries to create a marker on a file that does not exist. The path of the file contains a '!' instead of '/'. My conclusion is that AJDT converted poorly the path of the file containing a '!'. example, the path is L/Config.TeamWork.Editor/components/CU.TeamWork.TeamWork/aspects!fede/teamwork/domain/internal/EntityAJ.class instead of L/Config.TeamWork.Editor/components/CU.TeamWork.TeamWork/aspects/fede/teamwork/domain/internal/EntityAJ.class L/Config.TeamWork.Editor/components/CU.TeamWork.TeamWork/aspects is a binary directory The error is in the class file org.eclipse.ajdt.internal.ui.ajde.CompilerTaskListManager, line 251. it's org.aspectj.weaver.ShadowMunger in getBinaryFile method where the path is created. It's a good path if i understand correctly the javadoc. the method private IResource locationToResource(ISourceLocation isl, IProject project) in CompilerTaskListManager The method returns in certain case a bad value. It returns an object IFile that does not exist physically on the hard disc notably when the path contains a '!' Version: 1.4.1.200609201103 AspectJ version: 1.5.3.200608290814
I couldn't reproduce this. Can you attach a simple project that demonstrates the problem?
Created attachment 55937 [details] 3 projects for reproduce bug : clean and rebuild 3 projects - JavaProject is a java project to build java classe - AspectProject is a aspectj project to build an aspect This classes is copied into TissageProject/components/JavaProject/classes/ and TissageProject/components/AspectProject/aspect/ - TissageProject is an aspectj project to weaving the aspects. no source only binary
Created attachment 55938 [details] error creating marker dialog
Created attachment 55939 [details] the error log message
Hi, I got the same problem. I've created 2 AJDT projects, project A and project B which depends on A. Project B has been configured to use aspects of project A (Properties=>AspectJ Build=>Aspect Path , Add class folder which points to A/bin) Every time I change a file, I get a message box : "AJDT Internal error" (X) Error creating marker
We have the same problem with 1.4.1 and this is kind of a blocker. We need to downgrade to 1.4.0 in the meanwhile.
I've reproduced the problem using the attached testcase.
Putting fix into 1.4.2 and 1.5.0 development builds
Fixed in development builds: 1.5.0.200701181851 for Eclipse 3.3M4 (build.103) 1.4.2.200701190441 for Eclipse 3.2 (build.239)