[Soot-list] "Error: ... read in from a classfile in which ... was expected"

Mayank Vachher mayank13059 at iiitd.ac.in
Sun Sep 20 14:36:14 EDT 2015


Hi all,

I am trying to analyse the apache httpclient repository (
https://github.com/apache/httpclient) with the help of soot. On using the
-process-dir option on the folder, the following is the exception that I
get:

Exception in thread "main" java.lang.RuntimeException: Error: class
org.apache.http.client.fluent.TestFluent$1 read in from a classfile in
which
fluent-hc.target.test-classes.org.apache.http.client.fluent.TestFluent$1
was expected.
at soot.coffi.Util.resolveFromClassFile(Util.java:90)
at soot.CoffiClassSource.resolve(CoffiClassSource.java:39)
at soot.SootResolver.bringToHierarchy(SootResolver.java:215)
at soot.SootResolver.bringToSignatures(SootResolver.java:239)
at soot.SootResolver.processResolveWorklist(SootResolver.java:154)
at soot.SootResolver.resolveClass(SootResolver.java:124)
at soot.Scene.loadClass(Scene.java:448)
at soot.Scene.loadClassAndSupport(Scene.java:433)
at soot.Scene.loadNecessaryClasses(Scene.java:1076)
at soot.Main.run(Main.java:167)
at soot.Main.main(Main.java:141)
at modules.sootVariables.Driver.main(Driver.java:63)

Let me know if you need any more information/clarification, will be happy
to provide it.

I did find this in [Soot-list]:
https://mailman.cs.mcgill.ca/pipermail/soot-list/2006-January/000486.html,
but I have no clue how do I automate the process on a directory and whether
it would work. Any help would be appreciated.

Thanks,
Mayank Vachher
IIIT Delhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150921/408be77e/attachment.html 


More information about the Soot-list mailing list