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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to