[Soot-list] NullPointerException

mbatch at cs.mcgill.ca mbatch at cs.mcgill.ca
Tue Apr 18 16:12:32 EDT 2006


It would help if you could tell us which method is causing the exception
and include the source code for that method. FYI, this is happening before
anything happens to the original class, as it's in the
class-loading/jimplifying phase.

On Sun, April 16, 2006 1:54 pm, DTH wrote:

> And I get this error:
> created spec.harness.RunProgram with modifiers 0 bringing to HIERARCHY:
> spec.harness.RunProgram bringing to SIGNATURES: spec.harness.RunProgram
> bringing to BODIES: spec.harness.RunProgram Exception in thread "main"
> java.lang.NullPointerException at
> soot.coffi.Util.getLocalForIndex(Util.java:840)
> at soot.coffi.CFG.generateJimple(CFG.java:3241) at
> soot.coffi.CFG.jimplify(CFG.java:1464)
> at soot.coffi.CFG.jimplify(CFG.java:1127) at
> soot.coffi.CoffiMethodSource.getBody(CoffiMethodSource.java:98)
> at soot.SootMethod.getBodyFromMethodSource(SootMethod.java:80) at
> soot.SootMethod.retrieveActiveBody(SootMethod.java:304)
> at soot.jimple.toolkits.callgraph.OnFlyCallGraphBuilder.processNewMethod
> (OnFlyCallGraphBuilder.java:182)



More information about the Soot-list mailing list