-
Bug
-
Resolution: Fixed
-
P1
-
7
-
b55
-
x86
-
windows, windows_xp
-
Verified
Getting "java.lang.NullPointerException: null pData" while opening a FileDialog/PrintDialog/PageDialog in Windows.
This is reproducible in Windows XP, Vista with the Jdk7 b55 pit build.
Steps to Reproduce:
1. Run the attached testcase(ModalityTest.java)
2. Click on "Open File Dialog", "Open Page Dialog" and "Open Print Dialog"
3.Observe that Exception is thrown on console. If you see the same, then the bug is reproduced.
The stack trace is:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.setZOrder(Native Method)
at sun.awt.windows.WComponentPeer.setZOrder(WComponentPeer.java:1032)
at java.awt.Component.addNotify(Component.java:6669)
at java.awt.Container.addNotify(Container.java:2611)
at java.awt.Window.addNotify(Window.java:720)
at java.awt.Dialog.addNotify(Dialog.java:763)
at java.awt.FileDialog.addNotify(FileDialog.java:283)
at java.awt.Dialog.conditionalShow(Dialog.java:912)
at java.awt.Dialog.show(Dialog.java:1061)
at java.awt.Component.show(Component.java:1525)
at java.awt.Component.setVisible(Component.java:1477)
at java.awt.Window.setVisible(Window.java:925)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at ModalityTest.actionPerformed(ModalityTest.java:79)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4620)
at java.awt.Component.dispatchEvent(Component.java:4446)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:605)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:286)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
This is reproducible in Windows XP, Vista with the Jdk7 b55 pit build.
Steps to Reproduce:
1. Run the attached testcase(ModalityTest.java)
2. Click on "Open File Dialog", "Open Page Dialog" and "Open Print Dialog"
3.Observe that Exception is thrown on console. If you see the same, then the bug is reproduced.
The stack trace is:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null pData
at sun.awt.windows.WComponentPeer.setZOrder(Native Method)
at sun.awt.windows.WComponentPeer.setZOrder(WComponentPeer.java:1032)
at java.awt.Component.addNotify(Component.java:6669)
at java.awt.Container.addNotify(Container.java:2611)
at java.awt.Window.addNotify(Window.java:720)
at java.awt.Dialog.addNotify(Dialog.java:763)
at java.awt.FileDialog.addNotify(FileDialog.java:283)
at java.awt.Dialog.conditionalShow(Dialog.java:912)
at java.awt.Dialog.show(Dialog.java:1061)
at java.awt.Component.show(Component.java:1525)
at java.awt.Component.setVisible(Component.java:1477)
at java.awt.Window.setVisible(Window.java:925)
at java.awt.Dialog.setVisible(Dialog.java:1011)
at ModalityTest.actionPerformed(ModalityTest.java:79)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4620)
at java.awt.Component.dispatchEvent(Component.java:4446)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:605)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:286)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.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)
- duplicates
-
JDK-6829247 Reg test: java/awt/FileDialog/FilenameFilterTest/FilenameFilterTest.html fails on windows
- Closed
- relates to
-
JDK-6809227 poor performance on Panel.Add() method in jdk6
- Closed