Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318638

Summary: Transformation KDM 2 UML : exception EmptyStackException from ATL
Product: [Modeling] MoDisco Reporter: Fabien Giquel <fabien.giquel>
Component: TechnologiesAssignee: Gabriel BARBIER <barbier.gabriel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: barbier.gabriel, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M4   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=559016
Whiteboard:
Attachments:
Description Flags
A sample application to reproduce the exception none

Description Fabien Giquel CLA 2010-07-01 13:37:20 EDT
Created attachment 173244 [details]
A sample application to reproduce the exception

Here is attached a sample application to reproduce one exception using ATL transformation "discover uml model from kdm model" : 

java.util.EmptyStackException
	at java.util.Stack.peek(Unknown Source)
	at java.util.Stack.pop(Unknown Source)
	at org.eclipse.m2m.atl.engine.vm.ASMStackFrame.pop(ASMStackFrame.java:107)
	at org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOperation.java:250)
	at org.eclipse.m2m.atl.engine.vm.ASMOperation.realExec(ASMOperation.java:357)
...
Comment 1 Gabriel BARBIER CLA 2010-12-14 12:27:18 EST
A test has been set up to check correction.
Comment 2 Hugo Bruneliere CLA 2011-01-11 04:56:39 EST
Bug fixed.