tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Yunusov <>
Subject Re: interesting java.lang.NullPointerException error when first viewing an index.jsp page - refresh once and page loads correctly
Date Fri, 10 Jan 2003 21:18:56 GMT
On Friday 10 January 2003 04:15 pm, Brandon Rodak wrote:
> This may be a rather easy issue but with my limited knowledge of Tomcat - I
> thought one of you more qualified folks would have a solution.
> Whenever I visit the initial index.jsp (via index.htm as a workaround) page
> I get the following server error:
> java.lang.NullPointerException at
> org.apache.jsp.index$jsp._jspService(index$ at
> org.apache.jasper.runtime.HttpJspBase.service( at
> javax.servlet.http.HttpServlet.service(
> and so on....
> Clicking F5 or Refresh once loads the page - so you can see it is quite a
> nuisance - we have implemented Apache 1.3.27 with Tomcat 4.0.6 - I have
> also posted some lines of the catalina log and error logs for review below:

It might help if you post some snippets from the JSP. The stack trace for the 
NPE gives you a clue where in the JSP to look for the culprit and what 
snippet to post.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message