[Soot-list] Exception while soot starting

Steven Arzt Steven.Arzt at cased.de
Tue Oct 14 08:29:45 EDT 2014


I have just tried the nightly build (soot-trunk.jar) on my machine and it works all fine. Note that only soot-trunk.jar contains all the required dependencies whereas soot-classes.jar only contains the Soot source code and expects you to take care of the dependencies on your own.

 

Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Roman Petriev
Gesendet: Dienstag, 14. Oktober 2014 11:34
An: Bodden, Eric; soot-list at cs.mcgill.ca
Betreff: Re: [Soot-list] Exception while soot starting

 

1)  <https://ssebuild.cased.de/nightly/soot/> https://ssebuild.cased.de/nightly/soot/  (I tried to use newest build today)

2) I got source code from repository https://github.com/Sable/soot and build project.

 

2014-10-14 13:33 GMT+04:00 Roman Petriev <vvpiroman at gmail.com>:

1) https://ssebuild.cased.de/nightly/soot/  (I tried to use newest build today)

2) I got source code from repository https://github.com/Sable/soot and build project.

 

2014-10-14 10:18 GMT+04:00 Bodden, Eric <eric.bodden at sit.fraunhofer.de>:

 

This should definitely work. Where did you get your soot.jar from?

Eric


On 13.10.2014, at 22:25, Roman Petriev <vvpiroman at gmail.com> wrote:

> For example: I want to show help text (cmd = "java -jar soot.jar --help" or "java -cp soot.jar soot.Main --help").
>
> 2014-10-13 14:26 GMT+04:00 Bodden, Eric <eric.bodden at sit.fraunhofer.de>:
> Help us help you.
>
> What is your command line? What are you trying to achieve?
>
> Eric
>
> On 11.10.2014, at 16:11, Roman Petriev <vvpiroman at gmail.com> wrote:
>
> > Hi, soot users!
> > I can't start soot. I can't do anything with it(help isn't shown)!
> > I saw some guides, but it didn't help me. Exception:
> >
> > Exception in thread "main" java.lang.NoClassDefFoundError: org/jf/dexlib2/iface/
> > value/EncodedValue
> >         at soot.PackManager.<init>(PackManager.java:537)
> >         at soot.Singletons.soot_PackManager(Singletons.java:472)
> >         at soot.PackManager.v(PackManager.java:344)
> >         at soot.Main.processCmdLine(Main.java:95)
> >         at soot.Main.run(Main.java:208)
> >         at soot.Main.main(Main.java:152)
> > Caused by: java.lang.ClassNotFoundException: org.jf.dexlib2.iface.value.EncodedV
> > alue
> >         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)
> >         ... 6 more
> >
> > And I use "-cp" command line parameter to link dexlib2-2.0.3-sources.jar, but it has no effect :(
> > What's wrong?
> >
> > P.s. soot-trunk, jdk 1.7
> > _______________________________________________
> > Soot-list mailing list
> > Soot-list at CS.McGill.CA
> > https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>
> --
> Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
> Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
> Tel: +49 6151 16-75422    Fax: +49 6151 869-127
> Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt
>
>

--
Prof. Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering at Fraunhofer SIT, TU Darmstadt and EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 869-127
Room B5.11, Fraunhofer SIT, Rheinstraße 75, 64295 Darmstadt

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141014/d06a8c8e/attachment.html 


More information about the Soot-list mailing list