soot
soot copied to clipboard
encounter java.lang.NullPointerException while using soot-2.5.0 processing .java file
First time using soot, fail to processing .java files and here's my command [root@localhost soottest]# java -jar soot-2.5.0.jar -cp . -pp A B with trace Soot started on Fri Feb 26 23:43:32 PST 2021 Exception in thread "main" java.lang.NullPointerException at soot.JastAddInitialResolver.resolveFromJavaFile(JastAddInitialResolver.java:103) at soot.JavaClassSource.resolve(JavaClassSource.java:57) at soot.SootResolver.bringToHierarchy(SootResolver.java:215) at soot.SootResolver.bringToSignatures(SootResolver.java:239) at soot.SootResolver.processResolveWorklist(SootResolver.java:154) at soot.SootResolver.resolveClass(SootResolver.java:124) at soot.Scene.loadClass(Scene.java:448) at soot.Scene.loadClassAndSupport(Scene.java:433) at soot.Scene.loadNecessaryClass(Scene.java:1053) at soot.Scene.loadNecessaryClasses(Scene.java:1067) at soot.Main.run(Main.java:167) at soot.Main.main(Main.java:141) this directory has three files [root@localhost soottest]# ls A.java B.java soot-2.5.0.jar
Hi, have you found any solutions? Seems that I meet the same trouble #1848 .
#1848 I have solved this problem on my machine.
搞半天搞不好之后我就换成用optaplanner去了(看了眼你的地区我就用中文了...
#1848 I have solved this problem on my machine.