United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6856856 : NPE in HTTP protocol handler logging

Details
Type:
Bug
Submit Date:
2009-07-02
Status:
Resolved
Updated Date:
2010-11-04
Project Name:
JDK
Resolved Date:
2009-07-17
Component:
core-libs
OS:
generic
Sub-Component:
java.net
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Relates:

Sub Tasks

Description
6811297 added:

2000          if (logger.isLoggable(Level.FINER)) {
2001              logger.finer("Server Authentication for " + authhdr.toString() +" returned " + ret.toString());
2002          }

Here, ret may be null. Also at line 1870-2, 

Several JSN SQE tests failed due to this problem.

                                    

Comments
EVALUATION

Right! A silly oversight.
Will fix as soon as possible.
                                     
2009-07-02
SUGGESTED FIX

Remove .toString().
                                     
2009-07-02



Hardware and Software, Engineered to Work Together