Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 40803 invoked from network); 10 Jan 2003 21:20:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jan 2003 21:20:27 -0000 Received: (qmail 5707 invoked by uid 97); 10 Jan 2003 21:21:28 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 5691 invoked by uid 97); 10 Jan 2003 21:21:28 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 5679 invoked by uid 98); 10 Jan 2003 21:21:27 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Content-Type: text/plain; charset="windows-1251" From: Paul Yunusov Reply-To: pyunusov@rogers.com To: "Tomcat Users List" 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 16:18:56 -0500 User-Agent: KMail/1.4.1 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200301101618.56279.pyunusov@rogers.com> X-Authentication-Info: Submitted using SMTP AUTH PLAIN at fep02-mail.bloor.is.net.cable.rogers.com from [24.157.66.141] using ID at Fri, 10 Jan 2003 16:19:18 -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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$jsp.java:75) at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > 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. Paul -- To unsubscribe, e-mail: For additional commands, e-mail: