This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
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) 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.
See related log file and stack trace in related bugs: http://bt2ws.central.sun.com/CrPrint?id=6467586 http://bt2ws.central.sun.com/CrPrint?id=6469440 It's important that we have this fixed in NB 5.5. Thanks.
Created attachment 33905 [details] messages.log
I think this is JDK bug, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6469440
According to latest evalution of issue #6469440 it is problem in JavaHelp. If we get JavaHelp update with fix we can update it in NB 5.5.
Since this is a regression, I raising the priority so it can be addressed before NB 5.5 FCS.
Issue against JavaHelp is filed. Closing this issue as WONTFIX. We will update JavaHelp version used in IDE as soon as fix will be available.
I'm confused. Why did you close this bug while the issue still exists? If there is a fix in JavaHelp, you'll need to have the issue open in order to integrate your changes, right? I really hope they fix the jdk instead of Javahelp. That case the issue can be closed as will not fix.
If bug is in JavaHelp it will not be fixed in JDK. I hope it is clear. We will communicate with JavaHelp team so as new JavaHelp version will be available we will update it in NetBeans IDE. We will create separate issue for such task or if necessary we can reopen this issue. (Simply I was told to close this issue so I did it.)
> If bug is in JavaHelp it will not be fixed in JDK. I hope it is clear. If this is not supposed to be fixed in JDK, but in JavaHelp, this should not be closed as WONTFIX.
Closing as wontfix, because the bugtraq bug 6469440 has been fixed for us on JDK side (Mustang build b100). Reporter, please, verify with b100.
Our QE had verified that this is now fixed in b100. :-)
Marking as verified.