[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

soot-2.1.0 - spark problem



hello,

i am trying to get from soot 2.0.1 to soot 2.1.0 with my code yet i encountered the following problem even if running just the soot itself (it was no problem for the older version):

can you, please, give an advise?

thanks a lot!

best regards,
richard

this is it:

java soot.Main -allow-phantom-refs -app -W -p wjop enabled:false -p wjap enabled:false -p cg.cha enabled:false -p cg.spark enabled:true -f c demo10

Soot started on Thu May 13 15:59:04 CEST 2004
[Call Graph] For information on where the call graph may be incomplete, use the verbose option to the cg phase.
[Spark] Pointer Assignment Graph in 34.8 seconds.
[Spark] Type masks in 15.7 seconds.
[Spark] Pointer Graph simplified in 0.1 seconds.
Exception in thread "main" java.lang.RuntimeException: No field type in class java.lang.Object
at soot.SootClass.getField(SootClass.java:203)
at soot.SootClass.getField(SootClass.java:202)
at soot.coffi.CFG.generateJimple(CFG.java:4335)
at soot.coffi.CFG.jimplify(CFG.java:1463)
at soot.coffi.CFG.jimplify(CFG.java:1126)
at soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:98)
at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:79)
at soot.SootMethod.retrieveActiveBody(SootMethod.java:274)
at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod(OnFlyCallGraphBuilder.java:191)
at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processReachables(OnFlyCallGraphBuilder.java:82)
at soot.jimple.spark.solver.OnFlyCallGraph.build(OnFlyCallGraph.java:61)
at soot.jimple.spark.solver.PropWorklist.handleVarNode(PropWorklist.java:126)
at soot.jimple.spark.solver.PropWorklist.propagate(PropWorklist.java:55)
at soot.jimple.spark.SparkTransformer.internalTransform(SparkTransformer.java:121)
at soot.SceneTransformer.transform(SceneTransformer.java:39)
at soot.Transform.apply(Transform.java:79)
at soot.RadioScenePack.internalApply(RadioScenePack.java:60)
at soot.jimple.toolkits.callgraph.CallGraphPack.internalApply(CallGraphPack.java:36)
at soot.Pack.apply(Pack.java:107)
at soot.PackManager.runWholeProgramPacks(PackManager.java:292)
at soot.PackManager.runPacks(PackManager.java:275)
at soot.Main.run(Main.java:180)
at soot.Main.main(Main.java:154)