Are u getting some values from the property file... something like that in
your jsp. If it returns a null , this exception is what u see.
Sundar
-----Original Message-----
From: Tony Einarsson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 10:55 AM
To: [EMAIL PROTECTED]
Subject: NullPointerException error
Occasionally I have gotten this NullPointerException error and can't figure
out what is causing it.
I did several searches for solutions or hints and all that I can find is
that if you hit Reload, sometimes that does the trick. It worked for me,
but I would still like to know why this happens.
What do I need to look for and fix to avoid this situation alltogether?
java.lang.NullPointerException
at
_0002ftemplate_0002ejsptemplate_jsp_2._jspService(_0002ftemplate_0002ejsptem
plate_jsp_2.java:80)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:194)
at
org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:421)
at
_0002fhome_0002ejsphome_jsp_1._jspService(_0002fhome_0002ejsphome_jsp_1.java
:158)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
T.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets