You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by "Mikael Petterson (KI/EAB)" <mi...@ericsson.com> on 2005/06/07 08:04:41 UTC

Where do classes have to reside to avoid NullPointerException?

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


---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-user-help@jakarta.apache.org