[Soot-list] Exception while running

Zeinab Lashkaripour lashkaripour at yahoo.com
Sat Feb 2 11:26:23 EST 2013


Hi,
I created jar files and even downloaded them from http://chirrup.org/rootbeer/maven/soot/
But the exception still exists!
Can there be another problem that causes this exception?

Regards,
Zeinab



________________________________
 From: Zeinab Lashkaripour <lashkaripour at yahoo.com>
To: Zeinab Lashkaripour <lashkaripour at yahoo.com> 
Cc: "soot-list at sable.mcgill.ca" <soot-list at sable.mcgill.ca> 
Sent: Saturday, February 2, 2013 4:38 PM
Subject: Re: [Soot-list] Exception while running
 

I'll create jar files from the directories given from sootall and see if the exception goes away.

Thanks



________________________________
 From: Zeinab Lashkaripour <lashkaripour at yahoo.com>
To: Phil Pratt-Szeliga <pcpratts at trifort.org> 
Cc: "soot-list at sable.mcgill.ca" <soot-list at sable.mcgill.ca> 
Sent: Saturday, February 2, 2013 4:29 PM
Subject: Re: [Soot-list] Exception while running
 


Thanks Phil,
You'r right, but there is a problem. I got sootall and after extracting it gave me 3 folders for soot, jasmin and polyglot but no jars.
I have also got soot.jar and the 3 jars of soot/jasmin/polyglot classes but I don't have any jar for jasmin and polyglot by them selves and I didn't find any in the download site either. 

How can I get these 2 jars?

Regards



----- Original Message -----
From: Phil Pratt-Szeliga <pcpratts at trifort.org>
To: Zeinab Lashkaripour <lashkaripour at yahoo.com>
Cc: "soot-list at sable.mcgill.ca" <soot-list at sable.mcgill.ca>
Sent: Saturday, February 2, 2013 4:09 PM
Subject: Re: [Soot-list] Exception while running

Hi Zeinab,

You need jasmin on the classpath of soot.

Sincerely,
Phil Pratt-Szeliga

On Sat, Feb 2, 2013 at 7:18 AM, Zeinab Lashkaripour
<lashkaripour at yahoo.com> wrote:
> Hi,
> I ran my code to see what's right and whats wrong but, the following
> exception occurred:
>
> Exception in thread "main"
 java.lang.NoClassDefFoundError: jasmin/Main
>     at soot.util.JasminOutputStream.flush(JasminOutputStream.java:35)
>     at sun.nio.cs.StreamEncoder.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:915)
>     at soot.PackManager.writeOutput(PackManager.java:475)
>     at soot.PackManager.writeOutput(PackManager.java:400)
>     at
 soot.Main.run(Main.java:199)
>     at soot.Main.main(Main.java:141)
>     at MyMain.main(MyMain.java:293)
> Caused by: java.lang.ClassNotFoundException: jasmin.Main
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.net.URLClassLoader$1.run(Unknown Source)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>     at java.lang.ClassLoader.loadClass(Unknown Source)
>     ...
>
> Whats the problem? Can anyone help me?
>
> Regards,
> Zeinab
>

_______________________________________________
Soot-list
 mailing list
Soot-list at sable.mcgill.ca
http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130202/b6b05941/attachment.html 


More information about the Soot-list mailing list