Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 89397 invoked by uid 500); 22 Oct 2001 21:27:11 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 89362 invoked from network); 22 Oct 2001 21:27:11 -0000 User-Agent: Microsoft-Entourage/10.0.0.1302 Date: Mon, 22 Oct 2001 14:26:48 -0700 Subject: Catching NPE's in JSPs From: Hunter Hillegas To: Tomcat User List Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Like a lot of people, sometimes I'll see a JSP error out with an NPE... In this case I have a JSP that pulls some stuff using request.getAttribute() and displays the info... I'm having a hell of a time finding the current culprit of my NPE... I've tried pulling out sections of code and reloading... Still having trouble... Tomcat4 seems to buffer slightly differently where with 3.x the NPE was closer to the code that was just output? Anyway, wondering if anyone has any insightful methods to track down NPEs in JSPs... Hunter