you're going to need to provide some source code or a stack trace. where is the class you are instantiated located? in your web-inf/classes, in common/lib, etc?
'all sorts of problems' is rather vague. If you provide more specifics, you are more likely to get help. Charlie > -----Original Message----- > From: Ben Monnahan [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 08, 2002 1:16 AM > To: [EMAIL PROTECTED] > Subject: NullPointerException > > > Hi all, > > Does anyone have any ideas why I would get a > NullPointerException when > instanciating a class inside of a servlet when the class > works fine when > run as its own program? I am using Java 1.4.0_01 from Sun and Tomcat > 4.1.10 with the invoker servlet disabled. > > On a separate but somewhat related note; I have been having > all sorts of > problems with servlets in Tomcat. Am I alone in this or is it just a > complicated system? > > Thanks, > Ben Monnahan > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>