Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 70564 invoked by uid 500); 14 Sep 2001 15:55:22 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 70550 invoked from network); 14 Sep 2001 15:55:22 -0000 Date: 14 Sep 2001 15:55:25 -0000 Message-ID: <20010914155525.3005.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 3617] New: - "null" in JasperException X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3617 Summary: "null" in JasperException Product: Tomcat 4 Version: Nightly Build Platform: Sun OS/Version: Solaris Status: NEW Severity: Minor Priority: Other Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: mak-apache-bugzilla@greenhills.co.uk A JSP <%@ page import %> problem in an error page caused an error message: org.apache.jasper.JasperException: Unable to compile class for JSPnull/crab/mak/tomcat/work/localhost/example/error$jsp.java:4: Class ... not found in import. Note the "null"; That is returned by findMapping() to getJspLineErrors() in jasper/src/share/org/apache/jasper/compiler/Compiler.java Given that null is a possible result for findMapping(), getJspLineErrors() should check for it before using the value. But I expect findMapping() was actually supposed to find some mapping for this line. I haven't had the time to look into this further.