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 2002/11/03 00:23:45 UTC

DO NOT REPLY [Bug 14195] - NPE from dispatch() when no errCode

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

NPE from dispatch() when no errCode





------- Additional Comments From hans@gefionsoftware.com  2002-11-02 23:23 -------
Actually, a better fix is to get the Exception message when errCode is null, to
at least give a hint about what's wrong:

  // Localize, if possible
  String errMsg = e.getMessage();
  if (errCode != null) {
      errMsg = getString(errCode, args);
  }

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>