Visual Web Pack Build 060905_7 (or the latest) w/ NetBeans Build 20060908
WinXP
JDK 1.6.0-rc-b98
Steps to reproduce:
1. Using Visual Web Pack installation instructions in the README at this location http://clue.sfbay/kits/rave/main/latest/pack_installers; All the binaries needed for installation are under this location (e.g. NetBeans, Visual Web Pack and GlassFish, etc). However for this particular scenario, you don't need to install GlassFish.
2. Start Netbeans: $installDir\bin\netbeans
3. Create a Web project with "Visual Web Application" category and select J2EE 1.4 as the J2EE project type
4. After the project is open, click on Dynamic Help tab window on the right hand side
5. select any topic to bring up the JavaHelp viewer and press print icon in the JavaHelp viewer window
6. ok print dialog for installed printer OK
>>get UnexpectedException Dialog (see NPE below) but OK will not dismiss the
dialog, nor will Show details button work. CAnnot dismiss dialog or close down IDE.
Need to kill IDE via taskmgr.
From the log:
java.lang.NullPointerException
at java.awt.Window.updateChildFocusableWindowState(Window.java:858)
at java.awt.Window.show(Window.java:844)
at java.awt.Component.show(Component.java:1419)
at java.awt.Component.setVisible(Component.java:1372)
at java.awt.Window.setVisible(Window.java:801)
at com.sun.java.help.impl.JHelpPrintHandler$JHPrintable.createTransforms(JHelpPrintHandler.java:566)
at com.sun.java.help.impl.JHelpPrintHandler$JHPrintable.getNumberOfPages(JHelpPrintHandler.java:535)
at com.sun.java.help.impl.JHelpPrintHandler$JHPageable.getNumberOfPages(JHelpPrintHandler.java:891)
at sun.awt.windows.WPrinterJob.getMaxPageAttrib(WPrinterJob.java:1532)
at sun.awt.windows.WPrinterJob.getToPageAttrib(WPrinterJob.java:1507)
at sun.awt.windows.WPrintDialogPeer._show(Native Method)
at sun.awt.windows.WPrintDialogPeer.access$000(WPrintDialogPeer.java:16)
at sun.awt.windows.WPrintDialogPeer$1.run(WPrintDialogPeer.java:48)
[catch] at java.lang.Thread.run(Thread.java:619)
*** (#1 of 2): 2006-09-06 02:29:21 GMT+00:00 ###@###.###
*** Last Edit: 2006-09-06 02:29:21 GMT+00:00 ###@###.###
Switched jdk in /etc/netbeans.conf to jdk1.5.0_07 and printing
worked ok. Switching back to jdk1.6.0, got the same hang, so confirming:
this is related to Mustang JDK.
*** (#2 of 2): 2006-09-06 02:51:10 GMT+00:00 ###@###.###
*** Last Edit: 2006-09-06 02:51:10 GMT+00:00 ###@###.###