I think you'll have to look at your servlet code and see where it could be
creating a null pointer exception.

-----Original Message-----
From: Stuart Shay [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 3:35 PM
To: [EMAIL PROTECTED]
Subject: Servlet Error


Hello All:

Below is the error code I am recieciving when I run a simple Servlet on
my laptop, everything works fine on my test machine so i know the code
works.

The example servlets run fine, are there any configuration settings that I
may have over looked.

The version of Tomcat/Apache that I am using  is customized version part of
a software package.

>From the error code below maybe someone can lead me in the right direction.

Thanks
Stuart


Error: 500
Location: /iw/samples/hello.html
Internal Servlet Error:

java.lang.NullPointerException
 at java.lang.ClassLoader.resolveClass0(Native Method)
 at java.lang.ClassLoader.resolveClass(ClassLoader.java:588)
 at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:430)
 at
org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(AdaptiveServletLoad
er.java:174)
 at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:265)
 at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:289)
 at org.apache.tomcat.core.Handler.service(Handler.java:254)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)


Reply via email to