United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6578895 NPE null pData general exeception occured as applet reloading repeatedly
6578895 : NPE null pData general exeception occured as applet reloading repeatedly

Details
Type:
Bug
Submit Date:
2007-07-10
Status:
Resolved
Updated Date:
2010-08-07
Project Name:
JDK
Resolved Date:
2007-09-26
Component:
deploy
OS:
windows_xp
Sub-Component:
plugin
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
5.0u13
Fixed Versions:
5.0u14

Related Reports

Sub Tasks

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.
                                     
2007-08-03



Hardware and Software, Engineered to Work Together