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=17827>.
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=17827

JSPC does not work unless catalina.home is set

           Summary: JSPC does not work unless catalina.home is set
           Product: Tomcat 4
           Version: 4.1.21
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Jasper 2
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


This is actually on build 4.1.22 Alpha

In o.a.j.compiler.Compiler

Line # 164 project.setBasedir( System.getProperty("catalina.home"));

if the System.getProperty() returns null a NullPointerException is thrown.

the code used to say

if(System.getProperty("catalina.home") != null){
   project.setBasedir( System.getProperty("catalina.home"));
}

any reason this was changed??

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to