FW: [Soot-list] Exception: This operation requires resolvinglevel......

Eric Bodden eric.bodden at mail.mcgill.ca
Wed Feb 14 10:40:41 EST 2007


What's your command line? There are tons of previous posts about this
problem in the archive. Usually it's always the same problem...

Eric

On 2/13/07, Nitin Goel <ernitingoel at hotmail.com> wrote:
> Hi,
>
> Can anybody answer my question? I am stucked because of this.
>
> Thanks & Regards,
> Nitin Goel
>
>
> >From: "Nitin Goel" <ernitingoel at hotmail.com>
> >To: soot-list at sable.mcgill.ca
> >Subject: FW: [Soot-list] Exception: This operation requires
> >resolvinglevel......
> >Date: Tue, 06 Feb 2007 23:42:26 +0000
> >
> >
> >
> >
> >>From: "Nitin Goel" <ernitingoel at hotmail.com>
> >>To: soot-list at sable.mcgill.ca
> >>Subject: [Soot-list] Exception: This operation requires resolving
> >>level......
> >>Date: Thu, 01 Feb 2007 18:41:23 +0000
> >>
> >>Hi,
> >>
> >>After successfully printing the jimple for my following test class, when I
> >>want to iterate over the statment
> >>
> >>public class Test123 {
> >>    public Test123() {
> >>    }
> >>    public static void main(String[] args) {
> >>        try {
> >>            System.out.println("test program");
> >>        } catch (Exception e) {
> >>            e.printStackTrace();
> >>        }
> >>    }
> >>}
> >>
> >>
> >>I am getting the following exception while calling the API
> >>Hierarchy.resolveAbstractDispatch(SootClass, SootMethod)
> >>
> >>java.lang.RuntimeException: This operation requires resolving level
> >>SIGNATURES but java.lang.CloneNotSupportedException is at resolving level
> >>HIERARCHY
> >>      at soot.SootClass.checkLevel(SootClass.java:126)
> >>      at soot.SootClass.declaresMethod(SootClass.java:337)
> >>      at soot.Hierarchy.resolveConcreteDispatch(Hierarchy.java:507)
> >>      at soot.Hierarchy.resolveAbstractDispatch(Hierarchy.java:566)
> >>
> >>Based on the previous threads of this type of error when I have tried to
> >>expilictly load java.lang.CloneNotSupportedException using the following
> >>statement
> >>
> >>SootResolver.v().resolveClass("java.lang.CloneNotSupportedException",
> >>SootClass.SIGNATURES);
> >>
> >>I was getting the same error for java.lang.InterruptedException class. I
> >>have also tried to load java.lang.CloneNotSupportedException class
> >>explictly, however I was getting the same exception for
> >>java.lang.ClassNotFoundException then and so on for different classes.
> >>
> >>However if I remove e.printStackTrace() statement from my test class then
> >>I am not getting this exception.
> >>
> >>Could you please help me out to find out what I am missing here?
> >>
> >>Thanks & Regards,
> >>Nitin Goel
> >>
> >>_________________________________________________________________
> >>Invite your Hotmail contacts to join your friends list with Windows Live
> >>Spaces
> >>http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
> >>
> >>_______________________________________________
> >>Soot-list mailing list
> >>Soot-list at sable.mcgill.ca
> >>http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> >
> >_________________________________________________________________
> >Check out all that glitters with the MSN Entertainment Guide to the Academy
> >Awards(r)   http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2
> >
> >_______________________________________________
> >Soot-list mailing list
> >Soot-list at sable.mcgill.ca
> >http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>
> _________________________________________________________________
> Valentine's Day -- Shop for gifts that spell L-O-V-E at MSN Shopping
> http://shopping.msn.com/content/shp/?ctId=8323,ptnrid=37,ptnrdata=24095&tcode=wlmtagline
>
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>


-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada


More information about the Soot-list mailing list