Dear all (or Prof. Bodden),
I want to run eclipse application (not the one in dacapo benchmarks) with tamiflex, and then do some operations on eclipse to generate some inputs.
The command I used:
$ java -javaagent:poa-2.0.1.jar -jar eclipse/plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
====================================
Now, eclipse is launched, and I create a workspace...
====================================
However, after closing eclipse, the following exception is thrown and tamiflex does not output any log.
============================================================
TamiFlex Play-Out Agent Version 2.0.1
Loaded properties from /home/yueli/Desktop/tamiflex/poa.properties
============================================================
Exception in thread "Thread-0" java.lang.IllegalStateException: ClassReader.accept() should be called with EXPAND_FRAMES flag
at org.objectweb.asm.commons.LocalVariablesSorter.visitFrame(Unknown Source)
at org.objectweb.asm.commons.RemappingMethodAdapter.visitFrame(Unknown Source)
at org.objectweb.asm.MethodAdapter.visitFrame(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at de.bodden.tamiflex.normalizer.Hasher.generateHashNumber(Hasher.java:99)
at de.bodden.tamiflex.playout.ClassDumper.writeClassesToDisk(ClassDumper.java:82)
at de.bodden.tamiflex.playout.Agent$1.run(Agent.java:122)
----------------------------------------------------------------------------------------------------------------------------------------------------
The environment I used is ubuntu12.04 and oracle JDK1.7.0.51.
I do not know if I did it right.
Thanks.
Roger