Where do classes have to reside to avoid NullPointerException?
"Mikael Petterson (KI/EAB)" <[email protected]> Tue, 7 Jun 2005 08:04:41 +0200
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <CCC32394452CEC4D8DCC799319240A3C013B176D@esealmw104.eemea.ericsson.se> |
Hi, When I execute the following code I get a NullPointerExeception. I know it is due class is not found! Do the class have to be loaded onto the jvm ( in classpath)? Or is it another way? JavaClass theClass = Repository.lookupClass(aClass.toString()); Cheers, //Mikael