Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » DiagnosticException in own ATL-Plugin(After every module change)
DiagnosticException in own ATL-Plugin [message #1691940] Fri, 10 April 2015 15:41 Go to next message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
Hi all,

I have a nasty behaviour in my ATL-Plugin.
After every change in one of my .atl-modules an error-dialog appears and the whole workspace is build new (take some seconds).

The error looks like this:

https://dl.dropboxusercontent.com/u/18688378/eclipseCoding/ATL/ATL-Plugin-Error.JPG


Any ideas welcome!

~Alex
Re: DiagnosticException in own ATL-Plugin [message #1693955 is a reply to message #1691940] Wed, 29 April 2015 13:13 Go to previous message
Alexander R is currently offline Alexander RFriend
Messages: 211
Registered: July 2013
Senior Member
Hi,

this error appears in the generated ATL-Plugin (ATL-Project-Wizard).
The Log to this error looks like this:

org.eclipse.emf.common.util.WrappedException: org.eclipse.emf.common.util.DiagnosticException: A problem was detected while parsing a Java file
	at org.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper.createCompilationUnit(ASTFacadeHelper.java:280)
	at org.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper.createCompilationUnit(ASTFacadeHelper.java:1)
	at org.eclipse.emf.codegen.merge.java.JMerger.createCompilationUnitForContents(JMerger.java:375)
	at org.eclipse.m2m.atl.adt.runner.CreateRunnableAtlOperation.createFile(CreateRunnableAtlOperation.java:121)
	at org.eclipse.m2m.atl.adt.runner.CreateRunnableAtlOperation.run(CreateRunnableAtlOperation.java:79)
	at org.eclipse.m2m.atl.adt.AtlBuildVisitor.visit(AtlBuildVisitor.java:130)
	at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:126)
	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:85)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:86)
	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:127)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:95)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:124)
	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:108)
	at org.eclipse.m2m.atl.adt.AtlBuilder.fullBuild(AtlBuilder.java:68)
	at org.eclipse.m2m.atl.adt.AtlBuilder$1.run(AtlBuilder.java:49)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2295)
	at org.eclipse.m2m.atl.adt.AtlBuilder.run(AtlBuilder.java:108)
	at org.eclipse.m2m.atl.adt.AtlBuilder.build(AtlBuilder.java:52)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.emf.common.util.DiagnosticException: A problem was detected while parsing a Java file
	... 41 more


After some research I found out, that it has something to do with the 'Specify the minimum execution' for the generated plugin, but I don't know how to fix this.

Any ideas are welcome!

~Alex
Previous Topic:ATL file generation and Rule printing
Next Topic:Error running RegularVM transformation from Java
Goto Forum:
  


Current Time: Fri Jan 19 23:35:01 GMT 2018

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

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