Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Bug in stack handling in 3.1.1?(Getting ArrayIndexOutOfBoundsException:-1 when running transformation against ATL EMFVM 3.1.1)
[ATL] Bug in stack handling in 3.1.1? [message #632382] Tue, 12 October 2010 17:48
Marek Cyzio is currently offline Marek CyzioFriend
Messages: 2
Registered: August 2010
Junior Member
ASMOperation.java
					case Bytecode.DUP:
						s = stack[fp - 1]; // fp is 0!!!
						stack[fp++] = s;
						break;


Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at org.eclipse.m2m.atl.engine.emfvm.ASMOperation.exec(ASMOperat ion.java:493)
... 30 more

Some more information - I managed to get some stack trace and this error seems to happen when abstract rule is called - it seems to do some crazy calls:
__matchAbstractCreateIqConfig:12    call B.not():B
    locals: self=TransformUsV1ToImplConfig : ASMModule, iq=xml!testalloptions    Calling true.not()
    stack: false
    locals: self=TransformUsV1ToImplConfig : ASMModule, iq=xml!testalloptions
__matchAbstractCreateIqConfig:13    if 190
    stack: 
    locals: self=TransformUsV1ToImplConfig : ASMModule, iq=xml!testalloptions
__matchAbstractCreateIqConfig:14    dup

[Updated on: Tue, 12 October 2010 18:05]

Report message to a moderator

Previous Topic:A helper with a "Type element" parameter
Next Topic:[Qvto] Error saving
Goto Forum:
  


Current Time: Tue Sep 17 01:10:00 GMT 2019

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

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

Back to the top