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.
[nb_beta2](200409170519), [jdk1.5.0](rc build 64) Steps to reproduce: - run IDE - create some java project - change Web Browser (Setup Wizard) to Swing HTML Browser - push from popup menu over Java Project node "Generate Javadoc for Project" -> never ending NPE rises (see attachment), exceptions rises again and again - try to restart IDE -> NPE rises again, user can do nothing ! I know , exception stack trace shows no dependency on netbeans code base, BUT this issue shows Swing HTML Browser as unusable and the only one workarround for user is delete Userdir !
Created attachment 17731 [details] NullPointerException stack trace
This must be at least noted in NB4.0 Release notes ! By the way it seems like it works on JDK1.4.2_04 !
Fixable for Beta 2? Please evaluate promptly.
reproducible w/ tiger b63? I'd like to know if it's a regression in jdk
I can reproduce it w/ b63 on Windows. Definitely not a recent regression.
Hm, now I don't see any chance to fix this on our side. Will try to find on which jdk 1.5 builds this error started to appear and nose around problematic core area.
Well, it works fine if you use JDK1.5.0 (beta 2 - build 51a) ! I'll try to find out first broken build, stay tuned ;)
I've found it : *works* : java version "1.5.0-beta3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b59) Java HotSpot(TM) Client VM (build 1.5.0-beta3-b59, mixed mode) *doesn't work* : java version "1.5.0-beta3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60) Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode) -------------------------------- I don't know how many users use this functionality, in my opinion if it is possible and we know how - workarround it , don't forget please NB4.0 Beta 2 is going to be cobundled with JDK1.5 FCS ! I've tried to find out JDK bug - without success.
The root cause is a confirmed JDK 1.5 bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5089077 that is going to be fixed in the first 1.5.0 update release. Proposed release notes text: --------------------%<--------------------- When running the IDE on JDK 1.5.0, Swing Browser cannot be used to browse Javadoc pages due to JDK bug #5089077. Workaround: Don't use the built-in Swing Browser. Use your standard native web browser instead (default). If you absolutely have to use Swing Browser, run the IDE on JDK 1.4.2_xx. --------------------%<--------------------- Nothing to be done on the NetBeans side. Closing as WONTFIX, removing the beta2-candidate keyword.
verified
*** Issue 49922 has been marked as a duplicate of this issue. ***
*** Issue 50394 has been marked as a duplicate of this issue. ***
*** Issue 51093 has been marked as a duplicate of this issue. ***
*** Issue 51587 has been marked as a duplicate of this issue. ***
*** Issue 51588 has been marked as a duplicate of this issue. ***
*** Issue 51730 has been marked as a duplicate of this issue. ***
*** Issue 57395 has been marked as a duplicate of this issue. ***