DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=41902>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=41902 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From [EMAIL PROTECTED] 2007-03-20 06:26 ------- Looks like the problem is caused by the following code: int errorLevel = conn.getResponseCode(); String respMsg = conn.getResponseMessage(); if (errorLevel == -1){// Bug 38902 - sometimes -1 seems to be returned unnecessarily try { errorLevel = Integer.parseInt(respMsg.substring(0, 3)); <== NPE So the server must have returned -1 as the response Code, and not provided a response message. I'll fix the code to check for respMsg being null. It may be possible to still get the first header line, in which case that can be logged. I should be able to generate a new nightly this evening. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
