[Soot-list] soot.CompilationDeathException: there were errors during parsing and/or type checking (JastAdd frontend)

周 筱川 cobra at live.com
Sun Aug 19 23:38:18 EDT 2018


Hi there,
    I'm a beginner for Soot, while trying to parse some java files , there's an error "soot.CompilationDeathException: there were errors during parsing and/or type checking (JastAdd frontend)".
   Thank you very much for any advice!

Detail as follows:

Tried commands:
java -cp D:\flowproject\soot\sootclasses-trunk-jar-with-dependencies.jar -debug  soot.Main  -cp . CardQueryService
java -cp D:\flowproject\soot\sootclasses-trunk-jar-with-dependencies.jar soot.Main --soot-classpath .;"%JAVA_HOME%"\jre\lib\rt.jar  CardQueryService

Error Message
Soot started on Mon Aug 20 11:20:20 CST 2018
soot.CompilationDeathException: there were errors during parsing and/or type checking (JastAdd frontend)
        at soot.JastAddInitialResolver.formAst(JastAddInitialResolver.java:66)
        at soot.JavaClassSource.resolve(JavaClassSource.java:57)
        at soot.SootResolver.bringToHierarchyUnchecked(SootResolver.java:240)
        at soot.SootResolver.bringToHierarchy(SootResolver.java:212)
        at soot.SootResolver.bringToSignatures(SootResolver.java:273)
        at soot.SootResolver.processResolveWorklist(SootResolver.java:174)
        at soot.SootResolver.resolveClass(SootResolver.java:137)
        at soot.Scene.loadClass(Scene.java:861)
        at soot.Scene.loadClassAndSupport(Scene.java:847)
        at soot.Scene.loadNecessaryClass(Scene.java:1577)
        at soot.Scene.loadNecessaryClasses(Scene.java:1590)
        at soot.Main.run(Main.java:248)
        at soot.Main.main(Main.java:144)

Java File Example:
   plz see the attachment





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180820/12884b3e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CardQueryService.java
Type: application/octet-stream
Size: 338 bytes
Desc: CardQueryService.java
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20180820/12884b3e/attachment.obj>


More information about the Soot-list mailing list