[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: java.lang.VerifyError trying to run soot
Navindra Umanee wrote:
> Archie Cobbs <archie@dellroad.org> wrote:
> > Hmm... just downloaded the Soot JAR files and am getting this:
> >
> > Exception in thread "main" java.lang.VerifyError: (class: soot/PackManager, method: init signature: ()V) Incompatible argument to function
> > at soot.PhaseOptions.getPM(PhaseOptions.java:67)
> > at soot.PhaseOptions.setPhaseOption(PhaseOptions.java:206)
> > at SourceFile.processArgs(SourceFile.java:283)
> > at HFile.main(HFile.java:357)
> > at SourceFile.main(SourceFile.java:296)
>
> What is it you're typing at the command line that gives this error?
I'm not running Soot from the command line, I'm trying to use
it like a library (this has worked fine in the past with 1.x).
My code is trying to do this:
PhaseOptions.v().setPhaseOption("jb", "pack-locals");
Whether that's correct or not is another question... as mentioned
earlier I'm trying to update from 1.x, where previously I was doing this:
Scene.v().getPhaseOptions("jb").put("pack-locals", "true");
In any case, this might just be a problem with me mixing old and
new classfiles. Let me do some more investigation on my end before
bothering the list...
Thanks,
-Archie
__________________________________________________________________________
Archie Cobbs * Halloo Communications * http://www.halloo.com