Open SnowOnion opened 8 years ago
See https://groups.google.com/forum/#!topic/tamiflex-discuss/6q6ShId_TIw
In short, Soot is behind Tamiflex and cannot handle this 'new' reflection mechanism.
In ~/.tamiflex/poa.properties, remove the lines that look for these mechanisms. Delete all the output of the POA run, and re-run.
With soot-2.5.0, I ended up with these transformations:
transformations =\
de.bodden.tamiflex.playout.transformation.clazz.ClassForNameTransformation \
de.bodden.tamiflex.playout.transformation.clazz.ClassNewInstanceTransformation \
de.bodden.tamiflex.playout.transformation.constructor.ConstructorNewInstanceTransformation \
de.bodden.tamiflex.playout.transformation.method.MethodInvokeTransformation \
de.bodden.tamiflex.playout.transformation.array.ArrayMultiNewInstanceTransformation \
de.bodden.tamiflex.playout.transformation.clazz.ClassGetDeclaredMethodsTransformation \
de.bodden.tamiflex.playout.transformation.clazz.ClassGetDeclaredMethodTransformation \
de.bodden.tamiflex.playout.transformation.clazz.ClassGetFieldTransformation \
de.bodden.tamiflex.playout.transformation.clazz.ClassGetFieldsTransformation \
de.bodden.tamiflex.playout.transformation.constructor.ConstructorToGenericStringTransformation \
de.bodden.tamiflex.playout.transformation.constructor.ConstructorToStringTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldGetDeclaringClassTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldGetModifiersTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldGetTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldSetTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldToGenericStringTransformation \
de.bodden.tamiflex.playout.transformation.field.FieldToStringTransformation \
de.bodden.tamiflex.playout.transformation.method.MethodGetDeclaringClassTransformation \
de.bodden.tamiflex.playout.transformation.method.MethodToGenericStringTransformation \
de.bodden.tamiflex.playout.transformation.method.MethodToStringTransformation
I followed the tutorial "DaCapoAndSoot". When doing "Step 2: Running Soot", after executing
the following exceptions occur:
What happened? How to deal with it?
(
dacapo-9.12-bach.jar; pia-2.0.3.jar, poa-2.0.3.jar; soot-2.4.0.jar
$ java -version
yieldsjava version "1.8.0_101"
) in Ubuntu 14.04 LTS, and setJRE=/usr/lib/jvm/java-8-oracle/jre/lib
temporarily before running the long command. )Thank you!