Skip to main content

alphaWorks  >  Forums  >  IBM Real-Time Class Analysis Tool for Java  >  developerWorks

Help with ReachingClasses    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]

Posts: 2
Registered: Aug 09, 2007 01:47:33 PM
Help with ReachingClasses
Posted: Aug 14, 2007 03:38:38 PM
Click to report abuse...   Click to reply to this thread Reply
Hi Mike,

I'm having some trouble with ReachingClasses.buildClassList(String method)

I'm trying to use it in my application, however I can't get it to work, so I setup a couple dummy classes in an effort to understand how the method works.

Here's my source:

public class ReachingClassesTest {

public static void main(String[] args){
ReachingClasses rc = new ReachingClasses();
rc.buildClassList("com.ibm.tests.rtjperftestharness.RCTestDummy.doStuff()V");
}

}

and:

public class RCTestDummy {

public String myString = new String();

public void doStuff(){
String myString2 = new String();
HashSet myset = new HashSet();
}
}

I have ratcat.jar, and I looked over the docs as well. I run ReachingClassesTest and I get a null pointer exception when buildClassList is called.
Any suggestions are appreciated,
Regards,
Kyle


Point your RSS reader here for a feed of the latest messages in all forums