Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6338269
Votes 0
Synopsis Regression: NPE with JOptionPane.getRootFrame()
Category java:classes_swing
Reported Against
Release Fixed mustang(b59)
State 10-Fix Delivered, bug
Priority: 1-Very High
Related Bugs 6300062 , 6333260
Submit Date 18-OCT-2005
Description
As reported in 
http://forums.java.net/jive/thread.jspa?threadID=1439&messageID=24570#24570

Intellij IDEA trows NPE from build 47, it is regression of the fix for 6300062.
JOptionPane.getRootFrame() starts to return null which leads to NPE

Expected behaviour:
JOptionPane.getRootFrame() should return shared owner frame as it used to.
Posted Date : 2005-10-18 14:59:27.0
Work Around
N/A
Evaluation
We need to return the old functionality and partly roll back the fix for 6300062.
To support the new modality API we need to introduce new constructors for JDialog and JWindow which can true parent-less windows and dialogs
Posted Date : 2005-10-18 14:59:27.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang