[Soot-list] Upgrading soot problems

mbatch at cs.mcgill.ca mbatch at cs.mcgill.ca
Thu Aug 2 17:32:32 EDT 2007


The Dave,

It looks as though the jasmin file you are trying to process might be
corrupt or incomplete. The error stack shows that the problem arises when
the jasmin is being parsed by Soot. (However, it appears as if it may just
be a blank source tag, in which case perhaps it is a bug that doesn't
check for nullness before using it?).

Michael Batchelder

P.S. The Dave may want to reconsider having his phone numbers on his
signature when email public mailing lists.

On Thu, August 2, 2007 4:30 pm, David Vollmar wrote:
> Hi there!
> I am trying to upgrade from 2.2.3 to 2.2.4 by using the following jars:
> polyglotclasses-1.3.4.jar sootclasses-2.2.4.jar jasminclasses-2.2.4.jar Yet
> after installing these classes I am getting the attached stack trace
> during the instrumentation phase. Does anyone have an idea what might be
> going on? Thanks
>
> Kavika
>
>
> [java] Jasmin:1: Jasmin: exception -
> <java.lang.NullPointerException> null..
> [java] .source
> [java]         ^
> [java] java.lang.NullPointerException
> [java]     at java_cup.runtime.lr_parser.parse(lr_parser.java:553)
> [java]     at jasmin.ClassFile.readJasmin(ClassFile.java:1052)
> [java]     at jasmin.Main.assemble(Main.java:24)
> [java]     at soot.util.JasminOutputStream.flush
> (JasminOutputStream.java:35)
> [java]     at sun.nio.cs.StreamEncoder.implFlush
> (StreamEncoder.java:278)
> [java]     at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:
> 122)
> [java]     at java.io.OutputStreamWriter.flush
> (OutputStreamWriter.java:211)
> [java]     at java.io.PrintWriter.flush(PrintWriter.java:276)
> [java]     at soot.PackManager.writeClass(PackManager.java:901)
> [java]     at soot.PackManager.writeOutput(PackManager.java:463)
> [java]     at soot.PackManager.writeOutput(PackManager.java:390)
> [java]     at soot.Main.run(Main.java:204)
> [java]     at soot.Main.main(Main.java:146)
> [java]     at cute.instrument.CuteInstrumenter.main
> (CuteInstrumenter.java:359)
> [java] Jasmin: Found 1 errors
>
>
>
>
>
> David Vollmar




More information about the Soot-list mailing list