Are you making or calling the constructors properly. This exception has a
very large scope

Siddharth Bansal
Consultant (CT/AD&I/FSI)
Cap Gemini Ernst & Young




                    Tony Einarsson
                    <Tony.Einarsson@S        To:     [EMAIL PROTECTED]
                    AS.COM>                  cc:
                    Sent by: A               Subject:     NullPointerException error
                    mailing list
                    about Java Server
                    Pages
                    specification and
                    reference
                    <JSP-INTEREST@jav
                    a.sun.com>


                    03/30/2001 10:54
                    AM
                    Please respond to
                    A mailing list
                    about Java Server
                    Pages
                    specification and
                    reference






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_0002ejsptemplate_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.java: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



______________________________________________________________________
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient you are hereby notified
that any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful. If you have received this communication in error, please notify
us immediately by responding to this email and then delete it from your
system. Cap Gemini Ernst & Young is neither liable for the proper and
complete transmission of the information contained in this communication
nor for any delay in its receipt.

===========================================================================
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

Reply via email to