-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
6
-
generic
-
generic
JDK-Info:
---------
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b79)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b79, mixed mode, sharing)
Operating System:
-----------------
Windows
Steps to Reproduce:
-------------------
1) Install jdk
2) Launch policytool
3) Click on "Add Policy Entry"
4) Click on "Add Permission" from the popup "Policy Entry"
5) Choose "AllPermission" from the popup "Permissions"
6) Click "Ok" to dismiss the popup "Permissions"
7) Click on "Done" to dismiss the popup "Policy Entry"
8) Choose File --> Save
The File "Save As" dialog popsup with NullPointerException being thrown on the prompt. Not able to save the policy file. Policytool has to be quit without the file being saved.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null pDat
a
at sun.awt.windows.WWindowPeer.setFocusableWindow(Native Method)
at sun.awt.windows.WWindowPeer.updateFocusableWindowState(WWindowPeer.ja
va:66)
at java.awt.Window.updateChildFocusableWindowState(Window.java:751)
at java.awt.Dialog.conditionalShow(Dialog.java:925)
at java.awt.Dialog.show(Dialog.java:1028)
at java.awt.Component.show(Component.java:1415)
at java.awt.Component.setVisible(Component.java:1368)
at java.awt.Window.setVisible(Window.java:694)
at java.awt.Dialog.setVisible(Dialog.java:979)
at sun.security.tools.ToolDialog.displaySaveAsDialog(PolicyTool.java:233
3)
at sun.security.tools.FileMenuListener.actionPerformed(PolicyTool.java:2
788)
---------
java version "1.6.0-beta2"
Java(TM) SE Runtime Environment (build 1.6.0-beta2-b79)
Java HotSpot(TM) Client VM (build 1.6.0-beta2-b79, mixed mode, sharing)
Operating System:
-----------------
Windows
Steps to Reproduce:
-------------------
1) Install jdk
2) Launch policytool
3) Click on "Add Policy Entry"
4) Click on "Add Permission" from the popup "Policy Entry"
5) Choose "AllPermission" from the popup "Permissions"
6) Click "Ok" to dismiss the popup "Permissions"
7) Click on "Done" to dismiss the popup "Policy Entry"
8) Choose File --> Save
The File "Save As" dialog popsup with NullPointerException being thrown on the prompt. Not able to save the policy file. Policytool has to be quit without the file being saved.
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: null pDat
a
at sun.awt.windows.WWindowPeer.setFocusableWindow(Native Method)
at sun.awt.windows.WWindowPeer.updateFocusableWindowState(WWindowPeer.ja
va:66)
at java.awt.Window.updateChildFocusableWindowState(Window.java:751)
at java.awt.Dialog.conditionalShow(Dialog.java:925)
at java.awt.Dialog.show(Dialog.java:1028)
at java.awt.Component.show(Component.java:1415)
at java.awt.Component.setVisible(Component.java:1368)
at java.awt.Window.setVisible(Window.java:694)
at java.awt.Dialog.setVisible(Dialog.java:979)
at sun.security.tools.ToolDialog.displaySaveAsDialog(PolicyTool.java:233
3)
at sun.security.tools.FileMenuListener.actionPerformed(PolicyTool.java:2
788)
- duplicates
-
JDK-6405003 NullPointerException is thrown during Windows.updateChildFocusableWindowState(), Windows
-
- Resolved
-