[Soot-list] No active body present for method

Eric Bodden eric.bodden at ec-spride.de
Wed Jan 25 03:18:27 EST 2012


Hi Ubaid.

This was easy to fix. Should be fixed in the next nightly build.

Cheers,
Eric

On 25 January 2012 08:22, Ubaid Raja <ubaidsatti at yahoo.com> wrote:
>
> Hi Eric,
> This is the stack trace that I am getting.
>
> Applying phase wjtp.jbco_cc to the scene.
> Collecting Constant Data
> Exception in thread "main" java.lang.RuntimeException: no active body
> present for method <jxl.biff.AutoFilterRecord: void <clinit>()>
>         at soot.SootMethod.getActiveBody(SootMethod.java:290)
>         at
> soot.jbco.jimpleTransformations.CollectConstants.addInitializingValue(CollectConstants.java:165)
>         at
> soot.jbco.jimpleTransformations.CollectConstants.internalTransform(CollectConstants.java:134)
>         at soot.SceneTransformer.transform(SceneTransformer.java:39)
>         at soot.Transform.apply(Transform.java:89)
>         at soot.ScenePack.internalApply(ScenePack.java:43)
>         at soot.Pack.apply(Pack.java:114)
>         at soot.PackManager.runWholeProgramPacks(PackManager.java:409)
>         at soot.PackManager.runPacks(PackManager.java:329)
>         at soot.Main.run(Main.java:198)
>         at soot.Main.main(Main.java:141)
>         at soot.jbco.Main.main(Main.java:271)
> ________________________________
> From: Eric Bodden <eric.bodden at ec-spride.de>
> To: Ubaid Raja <ubaidsatti at yahoo.com>
> Cc: "Soot-list at sable.mcgill.ca" <Soot-list at sable.mcgill.ca>
> Sent: Tuesday, January 24, 2012 8:32 PM
> Subject: Re: [Soot-list] No active body present for method
>
> Dear Ubaid,
>
> if you could provide us with a full stack trace that would be very helpful.
>
> Cheers,
> Eric
>
> On 24 January 2012 13:36, Ubaid Raja <ubaidsatti at yahoo.com> wrote:
>> Hi all,
>> I have been trying to obfuscate my web application with JBCO and I am
>> using
>> following command line
>> java -Xms256m -Xmx1024m soot.jbco.Main -w -v -cp "{Class Path Entries}" -d
>> "{Output path}" -app -pp {Main Class} -jbco:verbose -t:9:jtp.jbco_cae2bo
>>
>> Classpath has the entry of jxl.jar which contains this file.
>>
>> but I am constantly running into this problem.
>>
>> no active body present for method <jxl.biff.AutoFilterRecord: void
>> <clinit>()>.
>>
>> Any help will be highly appreciated.
>>
>> Thnaks,
>> Ubaid Raja
>>
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>>
>
>
>
> --
> Eric Bodden, Ph.D., http://bodden.de/
> Head of Secure Software Engineering Group at EC SPRIDE
> Principal Investigator in Secure Services at CASED
> Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
> Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
>
>



-- 
Eric Bodden, Ph.D., http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Principal Investigator in Secure Services at CASED
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt


More information about the Soot-list mailing list