You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/06/14 20:40:15 UTC

DO NOT REPLY [Bug 29561] New: - NullPointerException in Compiler.java:547

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29561>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29561

NullPointerException in Compiler.java:547

           Summary: NullPointerException in Compiler.java:547
           Product: Tomcat 5
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: no.spam.lkral@web.de


When executing JSPC through an Ant target I receive the following stack trace:

jspc:
     [java] java.lang.NullPointerException
     [java]     at org.apache.jasper.compiler.Compiler.isOutDated
(Compiler.java:547)
     [java]     at org.apache.jasper.JspC.processFile(JspC.java:775)
     [java]     at org.apache.jasper.JspC.execute(JspC.java:905)
     [java]     at org.apache.jasper.JspC.main(JspC.java:195)
     [java] org.apache.jasper.JasperException

I think the missing check for (jsw==null) starts at line 560 .

Tested with: Tomcat 5.0.26

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org