tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G.Nagarajan" <gnagara...@dkf.de>
Subject RE: Error 500
Date Thu, 07 Dec 2000 14:58:27 GMT
The null pointer exception is the root cause of the bug.
It means that in your jsp code, you are trying to use an object which has
not been initialized. try to put debug statements in your jsp to isolate
the are where the error is and check the objects in the area.

or if you can put up the jsp page, we can guess where it could be.

Regards,
Nagaraj.

-----Original Message-----
From: nitin mundada [mailto:nitinom@yahoo.co.uk]
Sent: Thursday, December 07, 2000 8:47 AM
To: tomcat-user@jakarta.apache.org
Subject: Error 500


Hi

i am getting Error 500, can any one tell me why.

i am calling a jsp file alter.jsp through html file - start.html.
html file is in /web directory, while jsp file is in
/web/****/webapps/ROOT directory. this alter.jsp file calls servlet
deleteuser, which is at /web/****/webapps/javaserv/WEB-INF/classes
directory.

the error i am getting is
Error: 500
Location: /alter.jsp
Internal Servlet Error:

javax.servlet.ServletException:
	at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:386)
	at
_0002falter_0002ejspalter_jsp_1._jspService(_0002falter_0002ejspalter_jsp_1.
java:131)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:475)

Root cause:
java.lang.NullPointerException:
	at
_0002falter_0002ejspalter_jsp_1._jspService(_0002falter_0002ejspalter_jsp_1.
java:88)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
	at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
	at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Thread.java:475)



can any one help me

thanx
nitin

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


Mime
View raw message