Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » java.lang.IncompatibleClassChangeError?
java.lang.IncompatibleClassChangeError? [message #1801238] Tue, 15 January 2019 17:05 Go to next message
jo ber is currently offline jo berFriend
Messages: 92
Registered: August 2018
Member
Hi

I'm getting the following exception for EMFTVM. Any indication on which direction to search?

Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected
	at org.eclipse.m2m.atl.emftvm.jit.CodeBlockJIT.generateConstructor(CodeBlockJIT.java:176)
	at org.eclipse.m2m.atl.emftvm.jit.CodeBlockJIT.internalJit(CodeBlockJIT.java:151)
	at org.eclipse.m2m.atl.emftvm.jit.CodeBlockJIT$JITClassLoader.findClass(CodeBlockJIT.java:65)
	at org.eclipse.m2m.atl.emftvm.jit.CodeBlockJIT.jit(CodeBlockJIT.java:121)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.internalExecute(CodeBlockImpl.java:999)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.execute(CodeBlockImpl.java:726)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$SelectIterator.include(LazyCollection.java:1304)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$FilterIterator.hasNext(LazyCollection.java:1249)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$FilterIterator.hasNext(LazyCollection.java:1246)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection.appendElements(LazyCollection.java:1838)
	at org.eclipse.m2m.atl.emftvm.util.LazyList.asString(LazyList.java:1798)
	at org.eclipse.m2m.atl.emftvm.util.OCLOperations$2.execute(OCLOperations.java:268)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.invoke(CodeBlockImpl.java:2330)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.internalExecute(CodeBlockImpl.java:854)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.execute(CodeBlockImpl.java:726)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl$WithApplierWithoutPostApplyCbState.applyFor(RuleImpl.java:1276)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl$UniqueState.applyOne(RuleImpl.java:182)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl.applyOne(RuleImpl.java:2314)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl$ManualState.matchManual(RuleImpl.java:685)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl.matchManual(RuleImpl.java:2146)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.matchOne(CodeBlockImpl.java:2641)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.invokeStatic(CodeBlockImpl.java:2451)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.internalExecute(CodeBlockImpl.java:858)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.execute(CodeBlockImpl.java:726)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$CollectIterator.next(LazyCollection.java:1372)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$CachingIterator.next(LazyCollection.java:217)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$FlattenIterator.hasNext(LazyCollection.java:932)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$FlattenIterator.hasNext(LazyCollection.java:927)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$CachingIterator.hasNext(LazyCollection.java:205)
	at org.eclipse.m2m.atl.emftvm.util.LazyCollection$CachingIterator.hasNext(LazyCollection.java:205)
	at org.eclipse.m2m.atl.emftvm.util.EMFTVMUtil.addMany(EMFTVMUtil.java:842)
	at org.eclipse.m2m.atl.emftvm.util.EMFTVMUtil.setMany(EMFTVMUtil.java:785)
	at org.eclipse.m2m.atl.emftvm.util.EMFTVMUtil.set(EMFTVMUtil.java:631)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.set(CodeBlockImpl.java:1691)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.internalExecute(CodeBlockImpl.java:777)
	at org.eclipse.m2m.atl.emftvm.impl.CodeBlockImpl.execute(CodeBlockImpl.java:726)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl$WithApplierWithoutPostApplyCbState.applyFor(RuleImpl.java:1276)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl$IsNotAbstractState.apply(RuleImpl.java:1052)
	at org.eclipse.m2m.atl.emftvm.impl.RuleImpl.apply(RuleImpl.java:2284)
	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.matchAllSingle(ExecEnvImpl.java:2262)
	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.run(ExecEnvImpl.java:2109)
	at com.*.EMFTVMLauncher.launch(EMFTVMLauncher.java:61)
	at com.*.internal.EMFTVMLauncher.start(EMFTVMLauncher.java:115)
	at com.*.run.Example3.transform(Example3.java:50)
	at com.*.run.Example3.<init>(Example3.java:41)
	at com.*.run.Example3.main(Example3.java:27)


thank you and kind regards,
Re: java.lang.IncompatibleClassChangeError? [message #1801241 is a reply to message #1801238] Tue, 15 January 2019 17:37 Go to previous message
jo ber is currently offline jo berFriend
Messages: 92
Registered: August 2018
Member
sorry, was simply missng:
	<dependency>
		<groupId>org.ow2.asm</groupId>
		<artifactId>asm</artifactId>
		<version>[5.0.1,6.0)</version>
	</dependency>
Previous Topic:Is XMI required to provide model instances?
Next Topic:Meaning of '<:='
Goto Forum:
  


Current Time: Sat Nov 11 08:20:22 GMT 2023

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

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

Back to the top