I am trying to perform slicing of a java source code but i am getting this error:
com.ibm.wala.ipa.cha.ClassHierarchyException: failed to load root <Primordial,Ljava/lang/Object> of class hierarchy at com.ibm.wala.ipa.cha.ClassHierarchy.<init>(ClassHierarchy.java:261) at com.ibm.wala.ipa.cha.ClassHierarchy.<init>(ClassHierarchy.java:176) at com.ibm.wala.ipa.cha.ClassHierarchyFactory.make(ClassHierarchyFactory.java:54) at com.ibm.wala.ipa.cha.ClassHierarchyFactory.make(ClassHierarchyFactory.java:34)
According to the Troubleshooting the java_runtime_dir property in your wala.properties file is incorrect. I have set this to the following value:
I am trying to perform slicing of a java source code but i am getting this error:
com.ibm.wala.ipa.cha.ClassHierarchyException: failed to load root <Primordial,Ljava/lang/Object> of class hierarchy at com.ibm.wala.ipa.cha.ClassHierarchy.<init>(ClassHierarchy.java:261) at com.ibm.wala.ipa.cha.ClassHierarchy.<init>(ClassHierarchy.java:176) at com.ibm.wala.ipa.cha.ClassHierarchyFactory.make(ClassHierarchyFactory.java:54) at com.ibm.wala.ipa.cha.ClassHierarchyFactory.make(ClassHierarchyFactory.java:34)
According to the Troubleshooting the java_runtime_dir property in your wala.properties file is incorrect. I have set this to the following value:
java_runtime_dir = /usr/lib/jvm/java-8-oracle/jre/lib
I built the code using maven with java8 and i am running the program under Debian Jessie. Here is there source code i used:
The primodial.txt file used:
I am new to the subject. The code i used is more or less what is used in the PDFSlice example. Any idea what i am doing wrong