Hi,
I am trying to run 'dacapo-9.12-bach' with Calfuzzer framework (CalFuzzer: An Extensible Active Testing Framework for Concurrent Programs). I followed this post
For xalan benchmark:
I first followed 0,1,2 steps.
For step3, I have specified "<property name="jvm_args"
value="-javaagent:${javato.home.dir}/lib/pia.jar"/>" in calfuzzer's run.xml
When I tried to run calfuzzer using classpath as sootified/xalan-small folder it gave me following error :
analysis-once:
[java] =======================================================
[java] TamiFlex Play-In Agent Version 2.0.1
[java] Loaded properties from /home/monika/.tamiflex/pia.properties
[java] =======================================================
[java] Analysis class javato.activetesting.FastTrackAnalysis
[java] >>>>>>>>>Assigned0 <<<<<<<<<<<<<<<<<<<<
[java] Using scaled threading model. 2 processors detected, 2 threads used to drive the workload, in a possible range of [1,100]
[java] (Location of error unknown)java.io.FileNotFoundException: /home/monika/Desktop/05-03/src/javato/./scratch/xalan/xmlspec.xsl (No such file or directory)
[java] Normal completion.
[java] finish() with total of 0
[java]
[java] =======================================================
[java] TamiFlex Play-In Agent Vers===== DaCapo unknown xalan starting =====
[java]
[java] Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "Thread-2"
[java]
[java] Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "Thread-3"
[java] ===== DaCapo unknown xalan PASSED in 4 msec =====
[java] ion 2.0.1
[java] Replaced 829 out of 1059 classes.
[java] =======================================================
[stopwatch] [timer: 2.391 sec]
and when i did not include sootified/xalan-small in classpath it gave me following error:
analysis-once:
[java] =======================================================
[java] TamiFlex Play-In Agent Version 2.0.1
[java] Loaded properties from /home/monika/.tamiflex/pia.properties
[java] =======================================================
[java] Analysis class javato.activetesting.FastTrackAnalysis
[java] >>>>>>>>>Assigned0 <<<<<<<<<<<<<<<<<<<<
[java] Using scaled threading model. 2 processors detected, 2 threads used to drive the workload, in a possible range of [1,100]
[java] java.lang.reflect.InvocationTargetException
[java] java.lang.reflect.InvocationTargetException
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[java] at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
[java] at org.dacapo.harness.TestHarness.runBenchmark(TestHarness.java:211)
[java] at org.dacapo.harness.TestHarness.main(TestHarness.java:171)
[java] at Harness.main(Harness.java:17)
[java] Caused by: java.lang.ClassNotFoundException: org.dacapo.xalan.XSLTBench
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
[java] at org.dacapo.harness.DacapoClassLoader.loadClass(DacapoClassLoader.java:127)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:270)
[java] at org.dacapo.harness.Xalan.<init>(Xalan.java:33)
[java] ... 7 more
[java]
[java] =======================================================
[java] TamiFlex Play-In Agent Version 2.0.1
[java] Replaced 632 out of 699 classes.
[java] =======================================================
[java] finish() with total of 0
[java] Java Result: 255
[stopwatch] [timer: 2.243 sec]
[I have specified inDir = ......./sootified/xalan-small in pia.properties]
Can you please help in figuring out the mistake that is causing this error?
-monika