DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16698>. 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=16698 JsPC command occurs NullPointerException without -d option Summary: JsPC command occurs NullPointerException without -d option Product: Tomcat 4 Version: 4.1.19 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Jasper 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JsPC command occurs following NullPointerException without -d option: > jspc.bat numguess.jsp 2003-02-03 08:56:11 - ERROR-the file '\jsp\num\numguess.jsp' generated the follo wing general exception: java.lang.NullPointerException error:null I think the cause of this problem is just typo, below patch fixes it: --- JspC.java.orig 2003-01-15 17:56:40.000000000 +0900 +++ JspC.java 2003-02-03 19:11:10.000000000 +0900 @@ -383,7 +383,7 @@ void setupContext(JspCompilationContext clctxt) { // set up a scratch/output dir if none is provided if (scratchDir == null) { - String temp = System.getProperty("java.io.tempdir"); + String temp = System.getProperty("java.io.tmpdir"); if (temp == null) { temp = ""; } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]