New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.RuntimeException when ... #625

karanaggarwal1994 opened this Issue Aug 16, 2016 · 0 comments


None yet
1 participant

karanaggarwal1994 commented Aug 16, 2016

Steps to reproduce:
1.) ...

Files used to reproduce:

Soot version:


Command line:

-prepend-classpath -app -validate -exclude -exclude java.lang -no-bodies-for-excluded -f class -soot-class-path Testcases/project-1/project-1.jar -main-class test1.Main test1.Main -output-dir Testcases/project-1/sootBin/

Max Memory:


Stack trace:

java.lang.RuntimeException: This operation requires resolving level SIGNATURES but is at resolving level HIERARCHY
If you are extending Soot, try to add the following call before calling soot.Main.main(..):
Otherwise, try whole-program mode (-w).
    at soot.SootClass.checkLevelIgnoreResolving(
    at soot.SootClass.checkLevel(
    at soot.SootClass.addField(
    at soot.asm.SootClassBuilder.visitField(
    at org.objectweb.asm.ClassReader.readField(
    at org.objectweb.asm.ClassReader.accept(
    at org.objectweb.asm.ClassReader.accept(
    at soot.asm.AsmClassSource.resolve(
    at soot.SootResolver.bringToHierarchy(
    at soot.SootResolver.bringToSignatures(
    at soot.SootResolver.processResolveWorklist(
    at soot.SootResolver.resolveClass(
    at soot.Scene.loadClass(
    at soot.Scene.loadClassAndSupport(
    at e0210.Analysis.internalTransform(
    at soot.BodyTransformer.transform(
    at soot.Transform.apply(
    at soot.BodyPack.internalApply(
    at soot.Pack.apply(
    at soot.PackManager.runBodyPacks(
    at soot.PackManager.access$000(
    at soot.PackManager$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment