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

Nitin Goel ernitingoel at hotmail.com
Tue Feb 6 18:42:26 EST 2007




>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®   http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2



More information about the Soot-list mailing list