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

Open
karanaggarwal1994 opened this Issue Aug 16, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@karanaggarwal1994

karanaggarwal1994 commented Aug 16, 2016

Steps to reproduce:
1.) ...

Files used to reproduce:
...

Soot version:

trunk

Command line:

-prepend-classpath -app -validate -exclude jdk.net -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:

444MB

Stack trace:

java.lang.RuntimeException: This operation requires resolving level SIGNATURES but java.io.InterruptedIOException is at resolving level HIERARCHY
If you are extending Soot, try to add the following call before calling soot.Main.main(..):
Scene.v().addBasicClass(java.io.InterruptedIOException,SIGNATURES);
Otherwise, try whole-program mode (-w).
    at soot.SootClass.checkLevelIgnoreResolving(SootClass.java:169)
    at soot.SootClass.checkLevel(SootClass.java:147)
    at soot.SootClass.addField(SootClass.java:222)
    at soot.asm.SootClassBuilder.visitField(SootClassBuilder.java:141)
    at org.objectweb.asm.ClassReader.readField(ClassReader.java:768)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:689)
    at org.objectweb.asm.ClassReader.accept(ClassReader.java:506)
    at soot.asm.AsmClassSource.resolve(AsmClassSource.java:70)
    at soot.SootResolver.bringToHierarchy(SootResolver.java:243)
    at soot.SootResolver.bringToSignatures(SootResolver.java:275)
    at soot.SootResolver.processResolveWorklist(SootResolver.java:173)
    at soot.SootResolver.resolveClass(SootResolver.java:134)
    at soot.Scene.loadClass(Scene.java:805)
    at soot.Scene.loadClassAndSupport(Scene.java:791)
    at e0210.Analysis.internalTransform(Analysis.java:24)
    at soot.BodyTransformer.transform(BodyTransformer.java:54)
    at soot.Transform.apply(Transform.java:105)
    at soot.BodyPack.internalApply(BodyPack.java:49)
    at soot.Pack.apply(Pack.java:125)
    at soot.PackManager.runBodyPacks(PackManager.java:986)
    at soot.PackManager.access$000(PackManager.java:138)
    at soot.PackManager$1.run(PackManager.java:633)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment