[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soot-list
Subject:    [Soot-list] Bug?
From:       eric.bodden () mail ! mcgill ! ca (Eric Bodden)
Date:       2008-11-14 10:03:00
Message-ID: 804e3c660811140702j125ec539l1d34c851b3d7ce13 () mail ! gmail ! com
[Download RAW message or body]

Hmm, why is java-cup-11a-runtime.jar on your classpath?

I think the problem might be that polyglot (used by jasmin to parse
the jasmin assembler) is using a wrong version of CUP in your case.
Usually, CUP is bundled with your polyglot 1.3.5 already.

Eric

2008/11/14 Alexander Lee <wat_z_up@yahoo.com>:
> Hi,
> 
> here is what I used:
> java -cp "/home/[my user]/soot/java-cup-11a-runtime.jar:/home/[my \
> user]/soot/soot-2.3.0/classes:/home/[my \
> user]/soot/jasminclasses-2.3.0.jar:/home/[my user]/soot/polyglot-1.3.5/classes" \
> soot.Main -pp -cp "/home/[my user]/[the jar contain the class I want to \
> decompile]:/home/[my user]/groovy-all-1.0.jar:/home/[my \
> user]/izmcomjni.jar:/home/[my user]/jakarta-oro-2.0.6.jar:/home/[my \
> user]/log4j-1.2.6.jar:/home/[my user]/xercesImpl.jar" -d "/home/[my user]/" [my \
> class] 
> 
> Cheers,
> - A
> 
> 
> 
> ----- Original Message ----
> From: Eric Bodden <eric.bodden@mail.mcgill.ca>
> To: Alexander Lee <wat_z_up@yahoo.com>
> Cc: soot-list@sable.mcgill.ca
> Sent: Thursday, November 13, 2008 11:12:20 AM
> Subject: Re: [Soot-list] Bug?
> 
> Hi Alexander.
> 
> What's your input and what's your exact Soot command line?
> 
> Eric
> 
> 2008/11/13 Alexander Lee <wat_z_up@yahoo.com>:
> > Hi,
> > 
> > I am having the same problem as another poster stated here:
> > 
> > http://www.sable.mcgill.ca/pipermail/soot-list/2007-August/001361.html
> > 
> > The stack trace:
> > 
> > Jasmin:1: Jasmin: exception - <java.lang.NullPointerException> null..
> > .source
> > ^
> > java.lang.NullPointerException
> > at java_cup.runtime.lr_parser.parse(lr_parser.java:553)
> > at jasmin.ClassFile.readJasmin(ClassFile.java:1087)
> > at jasmin.Main.assemble(Main.java:24)
> > at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
> > at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:410)
> > at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
> > at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
> > at java.io.PrintWriter.flush(PrintWriter.java:270)
> > at soot.PackManager.writeClass(PackManager.java:905)
> > at soot.PackManager.writeOutput(PackManager.java:464)
> > at soot.PackManager.writeOutput(PackManager.java:391)
> > at soot.Main.run(Main.java:203)
> > at soot.Main.main(Main.java:145)
> > Jasmin: Found 1 errors
> > 
> > I don't see a solution.
> > 
> > Is it a bug?
> > 
> > Thanks in advance.
> > 
> > - A
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list@sable.mcgill.ca
> > http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> > 
> 
> 
> 
> --
> Eric Bodden
> Sable Research Group, McGill University, Montr?al, Canada
> Got an interesting job offer? http://www.bodden.de/hire-me/
> 
> 
> 
> 
> 



-- 
Eric Bodden
Sable Research Group, McGill University, Montr?al, Canada
Got an interesting job offer? http://www.bodden.de/hire-me/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic