JDK-6683754 : Continued intermittent NullPointerExceptions in GrayBoxPanel
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-04-03
  • Updated: 2010-09-08
  • Resolved: 2008-04-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10 b22Fixed
Related Reports
Relates :  
Description
An occasional NullPointerException from the GrayBoxPanel has been observed due to the inherent multithread-unsafety of this code. No stack trace was captured successfully at the time of observation, unfortunately. We would like to avoid having this non-essential code print any exceptions to the Java Console unless tracing is enabled. This is related to the previously fixed bug 6657116.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/deployment_data/6u10/6683754.0
03-04-2008

EVALUATION Guarded GrayBoxPanel.paint() with a try / catch to avoid having NullPointerExceptions propagate out to the AWT event dispatch thread and get printed even if tracing is not enabled.
03-04-2008