-
Bug
-
Resolution: Fixed
-
P1
-
7
-
b55
-
sparc
-
solaris_10
-
Verified
I have a button added to the frame, when i click on the button , i try to open the file dialog, when the filedialog is open, i see the following exception. This happens only in the pit build. It works fine in other promoted build. Hence its a regression.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.awt.X11.XFileDialogPeer.setVisible(XFileDialogPeer.java:774)
at java.awt.Dialog.conditionalShow(Dialog.java:944)
at java.awt.Dialog.show(Dialog.java:1061)
at java.awt.Component.show(Component.java:1522)
at java.awt.Component.setVisible(Component.java:1474)
at java.awt.Window.setVisible(Window.java:878)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at ModalityTest.actionPerformed(ModalityTest.java:78)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4617)
at java.awt.Component.dispatchEvent(Component.java:4443)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:605)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at sun.awt.X11.XFileDialogPeer.setVisible(XFileDialogPeer.java:774)
at java.awt.Dialog.conditionalShow(Dialog.java:944)
at java.awt.Dialog.show(Dialog.java:1061)
at java.awt.Component.show(Component.java:1522)
at java.awt.Component.setVisible(Component.java:1474)
at java.awt.Window.setVisible(Window.java:878)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at ModalityTest.actionPerformed(ModalityTest.java:78)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4617)
at java.awt.Component.dispatchEvent(Component.java:4443)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:605)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:286)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:186)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:139)
- relates to
-
JDK-6749920 unnecessary method implementations in X11 and Windows peers
- Closed