JDK-6578895 : NPE null pData general exeception occured as applet reloading repeatedly
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0u13
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2007-07-10
  • Updated: 2010-08-07
  • Resolved: 2007-09-26
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.
Other
5.0u14 b02Fixed
Description
Problem Description
-------------------
NPE null pData exception occurs when an applet is reloading repeatedly using Internet Explorer on a XP-HT machine. The issue seems to be intermittent depending on the timing.


Reproducible environment 
------------------------
- Tested jre build:  jre 1.5.0-13 b01

- Tested platform/browser:  XP-pro(sp2)- HT machine/ IE 6 xpsp2


How to reproduce
----------------

- Install jre 1.5.0-13-b01 onto the test systm
- Reloading the attached applet repeatedly
- java.lang.NullPointerException: null pData intermittently occurs

See attached plugin trace and error message screenshots for details

Comments
EVALUATION It is caused by various race conditions among the frame-creator, frame-size, initer and main thread. For example, an embedded frame is being created in the frame-creator thread, and at the same time destroyPlugin is called from the main thread.
03-08-2007