United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7184845 Apps6: menu tree bean in form throws npe in jre 7 while closing
7184845 : Apps6: menu tree bean in form throws npe in jre 7 while closing

Details
Type:
Bug
Submit Date:
2012-07-18
Status:
Closed
Updated Date:
2013-04-20
Project Name:
JDK
Resolved Date:
2012-08-08
Component:
client-libs
OS:
generic
Sub-Component:
java.awt
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7u5
Fixed Versions:
7u6

Related Reports

Sub Tasks

Description
SHORT SUMMARY:

LWWindow._raising flag skips invocation of super.addNotify()
super.removeNotify(). In case of a false value we get effect of empty
removeNotify and addNotify.

INDICATORS: JDK 7
COUNTER INDICATORS: JDK 6
TRIGGERS: EWT based Forms App (10.1.2.3.1 and also in Forms 6.0.8.28)
KNOWN WORKAROUND: comment _raising flag in addNotify and removeNotify. 
PRESENT SINCE: JDK 7 GA
HOW TO VERIFY: 

TESTCASE STEP-BY-STEP INSTRUCTIONS:
-----------------------------------
1. Launch this URL.
http://rws3220184.us.oracle.com:8000/forms/frmservlet?formName=MENUR12
2. Press "View Tree" button.
3. Close Window "Menu Viewer" from File ->Close Menu Viewer.
4. Java Console will show Java Exception as listed in "ERROR STACK OBTAINED"
section

See bugdb.

NOTES FOR SE: N/A
REGRESSION: Yes

                                    

Comments
EVALUATION

Both issues are not bugs, but compatibility issues for developers who relied on JDK implementation details rather then API and specification.
We have fixes for both issues ready and safe. If we apply them to 7u6 we must do additional changes for 7u7 (since fix for 7182135 touches code that was changed in 7u7).
                                     
2012-07-19



Hardware and Software, Engineered to Work Together