tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6448] New: - NullPointerException when docBase is missing
Date Thu, 14 Feb 2002 05:35:52 GMT
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=6448>.
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=6448

NullPointerException when docBase is missing

           Summary: NullPointerException when docBase is missing
           Product: Tomcat 3
           Version: 3.3 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bwhite@linkdead.com


Running tomcat.sh when one of the <Context .../> lines is missing a docBase
results in a NullPointerException.

(In my case, I had "docbase=" instead of "docBase=".)

Tomcat should issue an error instead of throwing a NullPointerException.

I don't have a stack trace, but the NullPointerException is thrown by
isAbsolute(), called from addContext() in ...config.PathSetter.

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


Mime
View raw message