TransformationToolContest / ttc15-live-contest-solutions

Solutions of the TTC 2015 Live Contest
1 stars 0 forks source link

ATL solution for Live Contest #7

Closed fjouault closed 9 years ago

fjouault commented 9 years ago

Could you please give us write access to submit our solution?

Thanks,

Frédéric

tsdh commented 9 years ago

Hey Frédéric, you should have received an invitation now.

fikovnik commented 9 years ago

Any specific Java version I should use? When I try to run it I get the following error:

./test.sh 
java -Xmx1G -jar jamopp/jamoppc.jar --disable-layout src/ src.xmi lib/slf4j-api-1.6.4.jar
Registering JAR /Users/krikava/Downloads/ttc15-live-contest-solutions/ATL/lib/slf4j-api-1.6.4.jar
Recursing into src/ttc15
Recursing into src/ttc15/tranj
Recursing into src/ttc15/tranj/annotation
Parsing src/ttc15/tranj/annotation/Cacheable.java
Parsing src/ttc15/tranj/annotation/Loggable.java
Parsing src/ttc15/tranj/annotation/RetryOnFailure.java
Recursing into src/ttc15/tranj/examples
Parsing src/ttc15/tranj/examples/FinalURLDownload.java
Parsing src/ttc15/tranj/examples/ManualURLDownload.java
Parsing src/ttc15/tranj/examples/SynthesizedURLDownload.java
Parsing src/ttc15/tranj/examples/URLDownload.java
Parsing src/ttc15/tranj/examples/URLDownloadWithCache.java
Parsing src/ttc15/tranj/examples/URLDownloadWithLogging.java
Parsing src/ttc15/tranj/examples/URLDownloadWithRetry.java
Resolving cross-references of 1427 EObjects.
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.emftext.language.java.commons.impl.CommentableImpl.getLibInterface(CommentableImpl.java:183)
    at org.emftext.language.java.types.impl.TypeImpl.isSuperType(TypeImpl.java:270)
    at org.emftext.language.java.members.impl.MethodImpl.isMethodForCall(MethodImpl.java:393)
    at org.emftext.language.java.members.impl.MethodImpl.isBetterMethodForCall(MethodImpl.java:428)
    at org.emftext.language.java.resource.java.analysis.decider.MethodDecider.isPossibleTarget(MethodDecider.java:132)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.searchInAdditionalContent(ScopedTreeWalker.java:209)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.doWalk(ScopedTreeWalker.java:94)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.walk(ScopedTreeWalker.java:77)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.searchFromStartingPoint(ElementReferenceTargetReferenceResolver.java:187)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.resolve(ElementReferenceTargetReferenceResolver.java:151)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.resolve(ElementReferenceTargetReferenceResolver.java:54)
    at org.emftext.language.java.resource.java.mopp.JavaContextDependentURIFragment.resolve(JavaContextDependentURIFragment.java:62)
    at org.emftext.language.java.resource.java.mopp.JavaResource.getEObject(JavaResource.java:397)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.getEObject(JavaSourceOrClassFileResource.java:197)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:223)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.references.impl.ElementReferenceImpl.getTarget(ElementReferenceImpl.java:86)
    at org.emftext.language.java.references.impl.ElementReferenceImpl.eGet(ElementReferenceImpl.java:130)
    at org.emftext.language.java.references.impl.MethodCallImpl.eGet(MethodCallImpl.java:177)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:124)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:57)
    at org.emftext.language.java.classifiers.impl.InterfaceImpl.getAllSuperClassifiers(InterfaceImpl.java:133)
    at org.emftext.language.java.classifiers.impl.ClassImpl.getAllSuperClassifiers(ClassImpl.java:299)
    at org.emftext.language.java.types.impl.TypeImpl.isSuperType(TypeImpl.java:255)
    at org.emftext.language.java.members.impl.MethodImpl.isMethodForCall(MethodImpl.java:393)
    at org.emftext.language.java.members.impl.MethodImpl.isSomeMethodForCall(MethodImpl.java:418)
    at org.emftext.language.java.resource.java.analysis.decider.MethodDecider.isPossibleTarget(MethodDecider.java:126)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.searchInAdditionalContent(ScopedTreeWalker.java:209)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.doWalk(ScopedTreeWalker.java:94)
    at org.emftext.language.java.resource.java.analysis.helper.ScopedTreeWalker.walk(ScopedTreeWalker.java:77)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.searchFromStartingPoint(ElementReferenceTargetReferenceResolver.java:187)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.resolve(ElementReferenceTargetReferenceResolver.java:151)
    at org.emftext.language.java.resource.java.analysis.ElementReferenceTargetReferenceResolver.resolve(ElementReferenceTargetReferenceResolver.java:54)
    at org.emftext.language.java.resource.java.mopp.JavaContextDependentURIFragment.resolve(JavaContextDependentURIFragment.java:62)
    at org.emftext.language.java.resource.java.mopp.JavaResource.getEObject(JavaResource.java:397)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.getEObject(JavaSourceOrClassFileResource.java:197)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:223)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.references.impl.ElementReferenceImpl.getTarget(ElementReferenceImpl.java:86)
    at org.emftext.language.java.references.impl.ElementReferenceImpl.eGet(ElementReferenceImpl.java:130)
    at org.emftext.language.java.references.impl.MethodCallImpl.eGet(MethodCallImpl.java:177)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
1000/1427 done: Resolved 365 crossrefs, 0 crossrefs could not be resolved.
1427/1427 done: Resolved 508 crossrefs, 0 crossrefs could not be resolved.
Resolving cross-references of 9427 EObjects.
1000/9427 done: Resolved 365 crossrefs, 0 crossrefs could not be resolved.
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:124)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.eGet(ClassifierReferenceImpl.java:186)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:292)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
Can not find referenced element in classpath: pathmap:/javaclass/java.util.Comparator.java#//@classifiers[name='Comparator']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
2000/9427 done: Resolved 557 crossrefs, 4 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
3000/9427 done: Resolved 733 crossrefs, 11 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.reflect.AnnotatedElement.java#//@classifiers[name='AnnotatedElement']
4000/9427 done: Resolved 973 crossrefs, 12 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
5000/9427 done: Resolved 1051 crossrefs, 13 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
6000/9427 done: Resolved 1090 crossrefs, 16 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
7000/9427 done: Resolved 1291 crossrefs, 20 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.reflect.AnnotatedElement.java#//@classifiers[name='AnnotatedElement']
8000/9427 done: Resolved 1436 crossrefs, 21 crossrefs could not be resolved.
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:124)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.eGet(ClassifierReferenceImpl.java:186)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:292)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
Can not find referenced element in classpath: pathmap:/javaclass/java.util.function.IntConsumer.java#//@classifiers[name='IntConsumer']
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:124)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.eGet(ClassifierReferenceImpl.java:186)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:292)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
Can not find referenced element in classpath: pathmap:/javaclass/java.util.PrimitiveIterator$OfInt.java#//@classifiers[name='PrimitiveIterator']/@members[name='OfInt']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.lang.CharSequence.java#//@classifiers[name='CharSequence']
Can not find referenced element in classpath: pathmap:/javaclass/java.util.function.IntConsumer.java#//@classifiers[name='IntConsumer']
Can not find referenced element in classpath: pathmap:/javaclass/java.util.PrimitiveIterator$OfInt.java#//@classifiers[name='PrimitiveIterator']/@members[name='OfInt']
9000/9427 done: Resolved 1668 crossrefs, 29 crossrefs could not be resolved.
org.apache.bcel5_2_0.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
    at org.apache.bcel5_2_0.classfile.Constant.readConstant(Constant.java:147)
    at org.apache.bcel5_2_0.classfile.ConstantPool.<init>(ConstantPool.java:68)
    at org.apache.bcel5_2_0.classfile.ClassParser.readConstantPool(ClassParser.java:229)
    at org.apache.bcel5_2_0.classfile.ClassParser.parse(ClassParser.java:137)
    at org.emftext.language.java.resource.ClassFileModelLoader.parse(ClassFileModelLoader.java:85)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.doLoad(JavaSourceOrClassFileResource.java:106)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1505)
    at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1284)
    at org.emftext.language.java.resource.java.mopp.JavaResource.load(JavaResource.java:579)
    at org.emftext.language.java.resource.JavaSourceOrClassFileResource.load(JavaSourceOrClassFileResource.java:143)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:259)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
    at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:220)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:197)
    at org.eclipse.emf.ecore.util.EcoreUtil.resolve(EcoreUtil.java:257)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eResolveProxy(BasicEObjectImpl.java:1473)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.getTarget(ClassifierReferenceImpl.java:124)
    at org.emftext.language.java.types.impl.ClassifierReferenceImpl.eGet(ClassifierReferenceImpl.java:186)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1011)
    at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1003)
    at org.eclipse.emf.ecore.util.EContentsEList$FeatureIteratorImpl.hasNext(EContentsEList.java:403)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:272)
    at org.emftext.language.java.jamoppc.JaMoPPC.resolveAllProxies(JaMoPPC.java:292)
    at org.emftext.language.java.jamoppc.JaMoPPC.main(JaMoPPC.java:86)
Can not find referenced element in classpath: pathmap:/javaclass/java.util.concurrent.ConcurrentMap.java#//@classifiers[name='ConcurrentMap']
9427/9427 done: Resolved 1731 crossrefs, 30 crossrefs could not be resolved.
Resolution of some Proxies failed...
Error: Could not find or load main class Exec

I'm on OS X 10 with Java 8.

tsdh commented 9 years ago

Jamopp is not yet Java 8 compliant so you get this error. You have to use Java 7 or maybe even 6. But I think the error is probably harmless.

tsdh commented 9 years ago

Ah, probably not harmless...

fikovnik commented 9 years ago

I see, going to Java 6 I still get

Error: Could not find or load main class Exec
fjouault commented 9 years ago

Hello,

The run.sh script was developed under cygwin. You may need to change the JVM -cp option to use colon as separator (Linux, MacOS) instead of semi colon Windows).

You are right about Java 8. But it seems harmless for the case.

Thanks,

Frédéric Le 24 juil. 2015 00:01, "Filip Krikava" notifications@github.com a écrit :

I see, getting to Java 6 I still get

Error: Could not find or load main class Exec

— Reply to this email directly or view it on GitHub https://github.com/TransformationToolContest/ttc15-live-contest-solutions/issues/7#issuecomment-124250778 .

fikovnik commented 9 years ago

I'm getting closer and closer

[krikava@kathmandu2:ATL (master)]$ ./test.sh 
make: `src.xmi' is up to date.
Metamodel contains several classifiers with same name: Annotable
Metamodel contains several classifiers with same name: AnnotationInstance
Metamodel contains several classifiers with same name: AnnotationParameter
Metamodel contains several classifiers with same name: SingleAnnotationParameter
Metamodel contains several classifiers with same name: AnnotationParameterList
Metamodel contains several classifiers with same name: AnnotationAttributeSetting
Metamodel contains several classifiers with same name: AnnotationValue
Metamodel contains several classifiers with same name: AnnotationAttribute
Metamodel contains several classifiers with same name: ArrayTypeable
Metamodel contains several classifiers with same name: ArrayDimension
Metamodel contains several classifiers with same name: ArrayInitializer
Metamodel contains several classifiers with same name: ArrayInitializationValue
Metamodel contains several classifiers with same name: ArrayInstantiation
Metamodel contains several classifiers with same name: ArrayInstantiationBySize
Metamodel contains several classifiers with same name: ArrayInstantiationByValues
Metamodel contains several classifiers with same name: ArrayInstantiationByValuesUntyped
Metamodel contains several classifiers with same name: ArrayInstantiationByValuesTyped
Metamodel contains several classifiers with same name: ArraySelector
Metamodel contains several classifiers with same name: Classifier
Metamodel contains several classifiers with same name: ConcreteClassifier
Metamodel contains several classifiers with same name: Implementor
Metamodel contains several classifiers with same name: Class
Metamodel contains several classifiers with same name: Interface
Metamodel contains several classifiers with same name: Enumeration
Metamodel contains several classifiers with same name: Annotation
Metamodel contains several classifiers with same name: AnonymousClass
Metamodel contains several classifiers with same name: Commentable
Metamodel contains several classifiers with same name: NamedElement
Metamodel contains several classifiers with same name: NamespaceAwareElement
Metamodel contains several classifiers with same name: JavaRoot
Metamodel contains several classifiers with same name: CompilationUnit
Metamodel contains several classifiers with same name: Package
Metamodel contains several classifiers with same name: EmptyModel
Metamodel contains several classifiers with same name: ExpressionList
Metamodel contains several classifiers with same name: Expression
Metamodel contains several classifiers with same name: AssignmentExpression
Metamodel contains several classifiers with same name: AssignmentExpressionChild
Metamodel contains several classifiers with same name: ConditionalExpression
Metamodel contains several classifiers with same name: ConditionalExpressionChild
Metamodel contains several classifiers with same name: ConditionalOrExpression
Metamodel contains several classifiers with same name: ConditionalOrExpressionChild
Metamodel contains several classifiers with same name: ConditionalAndExpression
Metamodel contains several classifiers with same name: ConditionalAndExpressionChild
Metamodel contains several classifiers with same name: InclusiveOrExpression
Metamodel contains several classifiers with same name: InclusiveOrExpressionChild
Metamodel contains several classifiers with same name: ExclusiveOrExpression
Metamodel contains several classifiers with same name: ExclusiveOrExpressionChild
Metamodel contains several classifiers with same name: AndExpression
Metamodel contains several classifiers with same name: AndExpressionChild
Metamodel contains several classifiers with same name: EqualityExpression
Metamodel contains several classifiers with same name: EqualityExpressionChild
Metamodel contains several classifiers with same name: InstanceOfExpression
Metamodel contains several classifiers with same name: InstanceOfExpressionChild
Metamodel contains several classifiers with same name: RelationExpression
Metamodel contains several classifiers with same name: RelationExpressionChild
Metamodel contains several classifiers with same name: ShiftExpression
Metamodel contains several classifiers with same name: ShiftExpressionChild
Metamodel contains several classifiers with same name: AdditiveExpression
Metamodel contains several classifiers with same name: AdditiveExpressionChild
Metamodel contains several classifiers with same name: MultiplicativeExpression
Metamodel contains several classifiers with same name: MultiplicativeExpressionChild
Metamodel contains several classifiers with same name: UnaryExpression
Metamodel contains several classifiers with same name: UnaryExpressionChild
Metamodel contains several classifiers with same name: UnaryModificationExpression
Metamodel contains several classifiers with same name: PrefixUnaryModificationExpression
Metamodel contains several classifiers with same name: SuffixUnaryModificationExpression
Metamodel contains several classifiers with same name: UnaryModificationExpressionChild
Metamodel contains several classifiers with same name: CastExpression
Metamodel contains several classifiers with same name: PrimaryExpression
Metamodel contains several classifiers with same name: NestedExpression
Metamodel contains several classifiers with same name: TypeArgument
Metamodel contains several classifiers with same name: TypeArgumentable
Metamodel contains several classifiers with same name: CallTypeArgumentable
Metamodel contains several classifiers with same name: TypeParametrizable
Metamodel contains several classifiers with same name: ExtendsTypeArgument
Metamodel contains several classifiers with same name: QualifiedTypeArgument
Metamodel contains several classifiers with same name: SuperTypeArgument
Metamodel contains several classifiers with same name: TypeParameter
Metamodel contains several classifiers with same name: UnknownTypeArgument
Metamodel contains several classifiers with same name: Import
Metamodel contains several classifiers with same name: ImportingElement
Metamodel contains several classifiers with same name: StaticImport
Metamodel contains several classifiers with same name: ClassifierImport
Metamodel contains several classifiers with same name: PackageImport
Metamodel contains several classifiers with same name: StaticClassifierImport
Metamodel contains several classifiers with same name: StaticMemberImport
Metamodel contains several classifiers with same name: Initializable
Metamodel contains several classifiers with same name: Instantiation
Metamodel contains several classifiers with same name: NewConstructorCall
Metamodel contains several classifiers with same name: ExplicitConstructorCall
Metamodel contains several classifiers with same name: Literal
Metamodel contains several classifiers with same name: Self
Metamodel contains several classifiers with same name: BooleanLiteral
Metamodel contains several classifiers with same name: CharacterLiteral
Metamodel contains several classifiers with same name: FloatLiteral
Metamodel contains several classifiers with same name: DecimalFloatLiteral
Metamodel contains several classifiers with same name: HexFloatLiteral
Metamodel contains several classifiers with same name: DoubleLiteral
Metamodel contains several classifiers with same name: DecimalDoubleLiteral
Metamodel contains several classifiers with same name: HexDoubleLiteral
Metamodel contains several classifiers with same name: IntegerLiteral
Metamodel contains several classifiers with same name: DecimalIntegerLiteral
Metamodel contains several classifiers with same name: HexIntegerLiteral
Metamodel contains several classifiers with same name: OctalIntegerLiteral
Metamodel contains several classifiers with same name: LongLiteral
Metamodel contains several classifiers with same name: DecimalLongLiteral
Metamodel contains several classifiers with same name: HexLongLiteral
Metamodel contains several classifiers with same name: OctalLongLiteral
Metamodel contains several classifiers with same name: NullLiteral
Metamodel contains several classifiers with same name: Super
Metamodel contains several classifiers with same name: This
Metamodel contains several classifiers with same name: ExceptionThrower
Metamodel contains several classifiers with same name: Member
Metamodel contains several classifiers with same name: MemberContainer
Metamodel contains several classifiers with same name: AdditionalField
Metamodel contains several classifiers with same name: Constructor
Metamodel contains several classifiers with same name: EmptyMember
Metamodel contains several classifiers with same name: Field
Metamodel contains several classifiers with same name: Method
Metamodel contains several classifiers with same name: InterfaceMethod
Metamodel contains several classifiers with same name: ClassMethod
Metamodel contains several classifiers with same name: EnumConstant
Metamodel contains several classifiers with same name: Modifier
Metamodel contains several classifiers with same name: AnnotationInstanceOrModifier
Metamodel contains several classifiers with same name: AnnotableAndModifiable
Metamodel contains several classifiers with same name: Modifiable
Metamodel contains several classifiers with same name: Abstract
Metamodel contains several classifiers with same name: Final
Metamodel contains several classifiers with same name: Native
Metamodel contains several classifiers with same name: Protected
Metamodel contains several classifiers with same name: Public
Metamodel contains several classifiers with same name: Private
Metamodel contains several classifiers with same name: Static
Metamodel contains several classifiers with same name: Strictfp
Metamodel contains several classifiers with same name: Synchronized
Metamodel contains several classifiers with same name: Transient
Metamodel contains several classifiers with same name: Volatile
Metamodel contains several classifiers with same name: Operator
Metamodel contains several classifiers with same name: AdditiveOperator
Metamodel contains several classifiers with same name: AssignmentOperator
Metamodel contains several classifiers with same name: EqualityOperator
Metamodel contains several classifiers with same name: MultiplicativeOperator
Metamodel contains several classifiers with same name: RelationOperator
Metamodel contains several classifiers with same name: ShiftOperator
Metamodel contains several classifiers with same name: UnaryOperator
Metamodel contains several classifiers with same name: UnaryModificationOperator
Metamodel contains several classifiers with same name: Assignment
Metamodel contains several classifiers with same name: AssignmentAnd
Metamodel contains several classifiers with same name: AssignmentDivision
Metamodel contains several classifiers with same name: AssignmentExclusiveOr
Metamodel contains several classifiers with same name: AssignmentMinus
Metamodel contains several classifiers with same name: AssignmentModulo
Metamodel contains several classifiers with same name: AssignmentMultiplication
Metamodel contains several classifiers with same name: AssignmentLeftShift
Metamodel contains several classifiers with same name: AssignmentOr
Metamodel contains several classifiers with same name: AssignmentPlus
Metamodel contains several classifiers with same name: AssignmentRightShift
Metamodel contains several classifiers with same name: AssignmentUnsignedRightShift
Metamodel contains several classifiers with same name: Equal
Metamodel contains several classifiers with same name: NotEqual
Metamodel contains several classifiers with same name: GreaterThan
Metamodel contains several classifiers with same name: GreaterThanOrEqual
Metamodel contains several classifiers with same name: LessThan
Metamodel contains several classifiers with same name: LessThanOrEqual
Metamodel contains several classifiers with same name: Addition
Metamodel contains several classifiers with same name: Subtraction
Metamodel contains several classifiers with same name: Division
Metamodel contains several classifiers with same name: Multiplication
Metamodel contains several classifiers with same name: Remainder
Metamodel contains several classifiers with same name: Complement
Metamodel contains several classifiers with same name: MinusMinus
Metamodel contains several classifiers with same name: Negate
Metamodel contains several classifiers with same name: PlusPlus
Metamodel contains several classifiers with same name: LeftShift
Metamodel contains several classifiers with same name: RightShift
Metamodel contains several classifiers with same name: UnsignedRightShift
Metamodel contains several classifiers with same name: Parameter
Metamodel contains several classifiers with same name: Parametrizable
Metamodel contains several classifiers with same name: OrdinaryParameter
Metamodel contains several classifiers with same name: VariableLengthParameter
Metamodel contains several classifiers with same name: Reference
Metamodel contains several classifiers with same name: Argumentable
Metamodel contains several classifiers with same name: ReferenceableElement
Metamodel contains several classifiers with same name: ElementReference
Metamodel contains several classifiers with same name: IdentifierReference
Metamodel contains several classifiers with same name: MethodCall
Metamodel contains several classifiers with same name: ReflectiveClassReference
Metamodel contains several classifiers with same name: PrimitiveTypeReference
Metamodel contains several classifiers with same name: StringReference
Metamodel contains several classifiers with same name: SelfReference
Metamodel contains several classifiers with same name: PackageReference
Metamodel contains several classifiers with same name: StatementContainer
Metamodel contains several classifiers with same name: StatementListContainer
Metamodel contains several classifiers with same name: Conditional
Metamodel contains several classifiers with same name: ForLoopInitializer
Metamodel contains several classifiers with same name: Statement
Metamodel contains several classifiers with same name: SwitchCase
Metamodel contains several classifiers with same name: Assert
Metamodel contains several classifiers with same name: Break
Metamodel contains several classifiers with same name: Block
Metamodel contains several classifiers with same name: CatchBlock
Metamodel contains several classifiers with same name: Condition
Metamodel contains several classifiers with same name: Continue
Metamodel contains several classifiers with same name: DefaultSwitchCase
Metamodel contains several classifiers with same name: DoWhileLoop
Metamodel contains several classifiers with same name: EmptyStatement
Metamodel contains several classifiers with same name: ExpressionStatement
Metamodel contains several classifiers with same name: ForLoop
Metamodel contains several classifiers with same name: ForEachLoop
Metamodel contains several classifiers with same name: Jump
Metamodel contains several classifiers with same name: JumpLabel
Metamodel contains several classifiers with same name: LocalVariableStatement
Metamodel contains several classifiers with same name: NormalSwitchCase
Metamodel contains several classifiers with same name: Return
Metamodel contains several classifiers with same name: Switch
Metamodel contains several classifiers with same name: SynchronizedBlock
Metamodel contains several classifiers with same name: Throw
Metamodel contains several classifiers with same name: TryBlock
Metamodel contains several classifiers with same name: WhileLoop
Metamodel contains several classifiers with same name: Type
Metamodel contains several classifiers with same name: TypedElement
Metamodel contains several classifiers with same name: TypeReference
Metamodel contains several classifiers with same name: ClassifierReference
Metamodel contains several classifiers with same name: NamespaceClassifierReference
Metamodel contains several classifiers with same name: PrimitiveType
Metamodel contains several classifiers with same name: Boolean
Metamodel contains several classifiers with same name: Byte
Metamodel contains several classifiers with same name: Char
Metamodel contains several classifiers with same name: Double
Metamodel contains several classifiers with same name: Float
Metamodel contains several classifiers with same name: Int
Metamodel contains several classifiers with same name: Long
Metamodel contains several classifiers with same name: Short
Metamodel contains several classifiers with same name: Void
Metamodel contains several classifiers with same name: Variable
Metamodel contains several classifiers with same name: LocalVariable
Metamodel contains several classifiers with same name: AdditionalLocalVariable
Exception in thread "main" java.lang.NullPointerException
    at JaMoPPSerializer.serialize(JaMoPPSerializer.java:62)
    at Exec.main(Exec.java:102)
fjouault commented 9 years ago

Can I come to help you?

If so, where are you?

Frédéric Le 24 juil. 2015 10:32, "Filip Krikava" notifications@github.com a écrit :

I'm getting closer and closer

[krikava@kathmandu2:ATL (master)]$ ./test.sh make: `src.xmi' is up to date. Metamodel contains several classifiers with same name: Annotable Metamodel contains several classifiers with same name: AnnotationInstance Metamodel contains several classifiers with same name: AnnotationParameter Metamodel contains several classifiers with same name: SingleAnnotationParameter Metamodel contains several classifiers with same name: AnnotationParameterList Metamodel contains several classifiers with same name: AnnotationAttributeSetting Metamodel contains several classifiers with same name: AnnotationValue Metamodel contains several classifiers with same name: AnnotationAttribute Metamodel contains several classifiers with same name: ArrayTypeable Metamodel contains several classifiers with same name: ArrayDimension Metamodel contains several classifiers with same name: ArrayInitializer Metamodel contains several classifiers with same name: ArrayInitializationValue Metamodel contains several classifiers with same name: ArrayInstantiation Metamodel contains several classifiers with same name: ArrayInstantiationBySize Metamodel contains several classifiers with same name: ArrayInstantiationByValues Metamodel contains several classifiers with same name: ArrayInstantiationByValuesUntyped Metamodel contains several classifiers with same name: ArrayInstantiationByValuesTyped Metamodel contains several classifiers with same name: ArraySelector Metamodel contains several classifiers with same name: Classifier Metamodel contains several classifiers with same name: ConcreteClassifier Metamodel contains several classifiers with same name: Implementor Metamodel contains several classifiers with same name: Class Metamodel contains several classifiers with same name: Interface Metamodel contains several classifiers with same name: Enumeration Metamodel contains several classifiers with same name: Annotation Metamodel contains several classifiers with same name: AnonymousClass Metamodel contains several classifiers with same name: Commentable Metamodel contains several classifiers with same name: NamedElement Metamodel contains several classifiers with same name: NamespaceAwareElement Metamodel contains several classifiers with same name: JavaRoot Metamodel contains several classifiers with same name: CompilationUnit Metamodel contains several classifiers with same name: Package Metamodel contains several classifiers with same name: EmptyModel Metamodel contains several classifiers with same name: ExpressionList Metamodel contains several classifiers with same name: Expression Metamodel contains several classifiers with same name: AssignmentExpression Metamodel contains several classifiers with same name: AssignmentExpressionChild Metamodel contains several classifiers with same name: ConditionalExpression Metamodel contains several classifiers with same name: ConditionalExpressionChild Metamodel contains several classifiers with same name: ConditionalOrExpression Metamodel contains several classifiers with same name: ConditionalOrExpressionChild Metamodel contains several classifiers with same name: ConditionalAndExpression Metamodel contains several classifiers with same name: ConditionalAndExpressionChild Metamodel contains several classifiers with same name: InclusiveOrExpression Metamodel contains several classifiers with same name: InclusiveOrExpressionChild Metamodel contains several classifiers with same name: ExclusiveOrExpression Metamodel contains several classifiers with same name: ExclusiveOrExpressionChild Metamodel contains several classifiers with same name: AndExpression Metamodel contains several classifiers with same name: AndExpressionChild Metamodel contains several classifiers with same name: EqualityExpression Metamodel contains several classifiers with same name: EqualityExpressionChild Metamodel contains several classifiers with same name: InstanceOfExpression Metamodel contains several classifiers with same name: InstanceOfExpressionChild Metamodel contains several classifiers with same name: RelationExpression Metamodel contains several classifiers with same name: RelationExpressionChild Metamodel contains several classifiers with same name: ShiftExpression Metamodel contains several classifiers with same name: ShiftExpressionChild Metamodel contains several classifiers with same name: AdditiveExpression Metamodel contains several classifiers with same name: AdditiveExpressionChild Metamodel contains several classifiers with same name: MultiplicativeExpression Metamodel contains several classifiers with same name: MultiplicativeExpressionChild Metamodel contains several classifiers with same name: UnaryExpression Metamodel contains several classifiers with same name: UnaryExpressionChild Metamodel contains several classifiers with same name: UnaryModificationExpression Metamodel contains several classifiers with same name: PrefixUnaryModificationExpression Metamodel contains several classifiers with same name: SuffixUnaryModificationExpression Metamodel contains several classifiers with same name: UnaryModificationExpressionChild Metamodel contains several classifiers with same name: CastExpression Metamodel contains several classifiers with same name: PrimaryExpression Metamodel contains several classifiers with same name: NestedExpression Metamodel contains several classifiers with same name: TypeArgument Metamodel contains several classifiers with same name: TypeArgumentable Metamodel contains several classifiers with same name: CallTypeArgumentable Metamodel contains several classifiers with same name: TypeParametrizable Metamodel contains several classifiers with same name: ExtendsTypeArgument Metamodel contains several classifiers with same name: QualifiedTypeArgument Metamodel contains several classifiers with same name: SuperTypeArgument Metamodel contains several classifiers with same name: TypeParameter Metamodel contains several classifiers with same name: UnknownTypeArgument Metamodel contains several classifiers with same name: Import Metamodel contains several classifiers with same name: ImportingElement Metamodel contains several classifiers with same name: StaticImport Metamodel contains several classifiers with same name: ClassifierImport Metamodel contains several classifiers with same name: PackageImport Metamodel contains several classifiers with same name: StaticClassifierImport Metamodel contains several classifiers with same name: StaticMemberImport Metamodel contains several classifiers with same name: Initializable Metamodel contains several classifiers with same name: Instantiation Metamodel contains several classifiers with same name: NewConstructorCall Metamodel contains several classifiers with same name: ExplicitConstructorCall Metamodel contains several classifiers with same name: Literal Metamodel contains several classifiers with same name: Self Metamodel contains several classifiers with same name: BooleanLiteral Metamodel contains several classifiers with same name: CharacterLiteral Metamodel contains several classifiers with same name: FloatLiteral Metamodel contains several classifiers with same name: DecimalFloatLiteral Metamodel contains several classifiers with same name: HexFloatLiteral Metamodel contains several classifiers with same name: DoubleLiteral Metamodel contains several classifiers with same name: DecimalDoubleLiteral Metamodel contains several classifiers with same name: HexDoubleLiteral Metamodel contains several classifiers with same name: IntegerLiteral Metamodel contains several classifiers with same name: DecimalIntegerLiteral Metamodel contains several classifiers with same name: HexIntegerLiteral Metamodel contains several classifiers with same name: OctalIntegerLiteral Metamodel contains several classifiers with same name: LongLiteral Metamodel contains several classifiers with same name: DecimalLongLiteral Metamodel contains several classifiers with same name: HexLongLiteral Metamodel contains several classifiers with same name: OctalLongLiteral Metamodel contains several classifiers with same name: NullLiteral Metamodel contains several classifiers with same name: Super Metamodel contains several classifiers with same name: This Metamodel contains several classifiers with same name: ExceptionThrower Metamodel contains several classifiers with same name: Member Metamodel contains several classifiers with same name: MemberContainer Metamodel contains several classifiers with same name: AdditionalField Metamodel contains several classifiers with same name: Constructor Metamodel contains several classifiers with same name: EmptyMember Metamodel contains several classifiers with same name: Field Metamodel contains several classifiers with same name: Method Metamodel contains several classifiers with same name: InterfaceMethod Metamodel contains several classifiers with same name: ClassMethod Metamodel contains several classifiers with same name: EnumConstant Metamodel contains several classifiers with same name: Modifier Metamodel contains several classifiers with same name: AnnotationInstanceOrModifier Metamodel contains several classifiers with same name: AnnotableAndModifiable Metamodel contains several classifiers with same name: Modifiable Metamodel contains several classifiers with same name: Abstract Metamodel contains several classifiers with same name: Final Metamodel contains several classifiers with same name: Native Metamodel contains several classifiers with same name: Protected Metamodel contains several classifiers with same name: Public Metamodel contains several classifiers with same name: Private Metamodel contains several classifiers with same name: Static Metamodel contains several classifiers with same name: Strictfp Metamodel contains several classifiers with same name: Synchronized Metamodel contains several classifiers with same name: Transient Metamodel contains several classifiers with same name: Volatile Metamodel contains several classifiers with same name: Operator Metamodel contains several classifiers with same name: AdditiveOperator Metamodel contains several classifiers with same name: AssignmentOperator Metamodel contains several classifiers with same name: EqualityOperator Metamodel contains several classifiers with same name: MultiplicativeOperator Metamodel contains several classifiers with same name: RelationOperator Metamodel contains several classifiers with same name: ShiftOperator Metamodel contains several classifiers with same name: UnaryOperator Metamodel contains several classifiers with same name: UnaryModificationOperator Metamodel contains several classifiers with same name: Assignment Metamodel contains several classifiers with same name: AssignmentAnd Metamodel contains several classifiers with same name: AssignmentDivision Metamodel contains several classifiers with same name: AssignmentExclusiveOr Metamodel contains several classifiers with same name: AssignmentMinus Metamodel contains several classifiers with same name: AssignmentModulo Metamodel contains several classifiers with same name: AssignmentMultiplication Metamodel contains several classifiers with same name: AssignmentLeftShift Metamodel contains several classifiers with same name: AssignmentOr Metamodel contains several classifiers with same name: AssignmentPlus Metamodel contains several classifiers with same name: AssignmentRightShift Metamodel contains several classifiers with same name: AssignmentUnsignedRightShift Metamodel contains several classifiers with same name: Equal Metamodel contains several classifiers with same name: NotEqual Metamodel contains several classifiers with same name: GreaterThan Metamodel contains several classifiers with same name: GreaterThanOrEqual Metamodel contains several classifiers with same name: LessThan Metamodel contains several classifiers with same name: LessThanOrEqual Metamodel contains several classifiers with same name: Addition Metamodel contains several classifiers with same name: Subtraction Metamodel contains several classifiers with same name: Division Metamodel contains several classifiers with same name: Multiplication Metamodel contains several classifiers with same name: Remainder Metamodel contains several classifiers with same name: Complement Metamodel contains several classifiers with same name: MinusMinus Metamodel contains several classifiers with same name: Negate Metamodel contains several classifiers with same name: PlusPlus Metamodel contains several classifiers with same name: LeftShift Metamodel contains several classifiers with same name: RightShift Metamodel contains several classifiers with same name: UnsignedRightShift Metamodel contains several classifiers with same name: Parameter Metamodel contains several classifiers with same name: Parametrizable Metamodel contains several classifiers with same name: OrdinaryParameter Metamodel contains several classifiers with same name: VariableLengthParameter Metamodel contains several classifiers with same name: Reference Metamodel contains several classifiers with same name: Argumentable Metamodel contains several classifiers with same name: ReferenceableElement Metamodel contains several classifiers with same name: ElementReference Metamodel contains several classifiers with same name: IdentifierReference Metamodel contains several classifiers with same name: MethodCall Metamodel contains several classifiers with same name: ReflectiveClassReference Metamodel contains several classifiers with same name: PrimitiveTypeReference Metamodel contains several classifiers with same name: StringReference Metamodel contains several classifiers with same name: SelfReference Metamodel contains several classifiers with same name: PackageReference Metamodel contains several classifiers with same name: StatementContainer Metamodel contains several classifiers with same name: StatementListContainer Metamodel contains several classifiers with same name: Conditional Metamodel contains several classifiers with same name: ForLoopInitializer Metamodel contains several classifiers with same name: Statement Metamodel contains several classifiers with same name: SwitchCase Metamodel contains several classifiers with same name: Assert Metamodel contains several classifiers with same name: Break Metamodel contains several classifiers with same name: Block Metamodel contains several classifiers with same name: CatchBlock Metamodel contains several classifiers with same name: Condition Metamodel contains several classifiers with same name: Continue Metamodel contains several classifiers with same name: DefaultSwitchCase Metamodel contains several classifiers with same name: DoWhileLoop Metamodel contains several classifiers with same name: EmptyStatement Metamodel contains several classifiers with same name: ExpressionStatement Metamodel contains several classifiers with same name: ForLoop Metamodel contains several classifiers with same name: ForEachLoop Metamodel contains several classifiers with same name: Jump Metamodel contains several classifiers with same name: JumpLabel Metamodel contains several classifiers with same name: LocalVariableStatement Metamodel contains several classifiers with same name: NormalSwitchCase Metamodel contains several classifiers with same name: Return Metamodel contains several classifiers with same name: Switch Metamodel contains several classifiers with same name: SynchronizedBlock Metamodel contains several classifiers with same name: Throw Metamodel contains several classifiers with same name: TryBlock Metamodel contains several classifiers with same name: WhileLoop Metamodel contains several classifiers with same name: Type Metamodel contains several classifiers with same name: TypedElement Metamodel contains several classifiers with same name: TypeReference Metamodel contains several classifiers with same name: ClassifierReference Metamodel contains several classifiers with same name: NamespaceClassifierReference Metamodel contains several classifiers with same name: PrimitiveType Metamodel contains several classifiers with same name: Boolean Metamodel contains several classifiers with same name: Byte Metamodel contains several classifiers with same name: Char Metamodel contains several classifiers with same name: Double Metamodel contains several classifiers with same name: Float Metamodel contains several classifiers with same name: Int Metamodel contains several classifiers with same name: Long Metamodel contains several classifiers with same name: Short Metamodel contains several classifiers with same name: Void Metamodel contains several classifiers with same name: Variable Metamodel contains several classifiers with same name: LocalVariable Metamodel contains several classifiers with same name: AdditionalLocalVariable Exception in thread "main" java.lang.NullPointerException at JaMoPPSerializer.serialize(JaMoPPSerializer.java:62) at Exec.main(Exec.java:102)

— Reply to this email directly or view it on GitHub https://github.com/TransformationToolContest/ttc15-live-contest-solutions/issues/7#issuecomment-124441318 .

tsdh commented 9 years ago

(resolved offline)

szarnyasg commented 8 years ago

Wow, I ran into the same problem today and had this feeling.

image (http://xkcd.com/979/)

For the record, the solution for me was use JDK 7. (Java 7 compliance was not enough.)