[Soot-list] RuntimeException from Jasmin

Eric Bodden eric.bodden at mail.mcgill.ca
Sun Feb 11 17:18:40 EST 2007


To me it seems that the class that is stated below contains illegal
bytecode (the program counter points to a value larger than 64K). From
the path of that class I assume it is generated, so this could well be
the case.

Eric

On 2/11/07, nlstewar at ncsu.edu <nlstewar at ncsu.edu> wrote:
> While soot is running the following error is displayed:
> Writing to
> C:\jcute\tmpjcute\classes\bpel_2_1171226213127\xmlns\http___www_w3_org_2001_xmlschema\_anyType.class
> Jasmin:36848: Jasmin: exception - <java.lang.RuntimeException> PC great
> than 65535, the token is label3107 : 65576..
> java.lang.RuntimeException: PC great than 65535, the token is label3107 :
> 65576
>         at jas.CodeAttributeDecoder.decode(CodeAttributeDecoder.java:95)
>         at jas.CodeAttr.processSootAttributes(CodeAttr.java:145)
>         at jas.CodeAttr.write(CodeAttr.java:250)
>         at jas.Method.write(Method.java:124)
>         at jas.ClassEnv.write(ClassEnv.java:194)
>         at jasmin.ClassFile.write(ClassFile.java:1081)
>         at jasmin.Main.assemble(Main.java:34)
> Writing to
> C:\jcute\tmpjcute\classes\org\eclipse\stp\b2j\core\jengine\internal\core\bpel\WSEndpointReference.class
>         at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
>         at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(Unknown Source)
>         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
>         at java.io.OutputStreamWriter.flush(Unknown Source)
>         at java.io.PrintWriter.flush(Unknown Source)
>         at soot.PackManager.writeClass(PackManager.java:812)
>         at soot.PackManager.writeOutput(PackManager.java:408)
>         at soot.PackManager.writeOutput(PackManager.java:360)
>         at soot.Main.run(Main.java:204)
>         at soot.Main.main(Main.java:146)
>         at cute.instrument.CuteInstrumenter.main(CuteInstrumenter.java:181)
> Jasmin: Found 1 errors
>
> However, I'm not sure how to debug what the problem is.  Can anyone help
> me with this?
>
> Thanks in advance!
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list