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.

Bug 49249 - [JDK1.5.0] Never ending NPE and IDE can't be used neither after restart
Summary: [JDK1.5.0] Never ending NPE and IDE can't be used neither after restart
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Simonek
URL:
Keywords: JDK_SPECIFIC, RELNOTE
: 49922 50394 51093 51587 51588 51730 57395 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-18 20:13 UTC by Marian Mirilovic
Modified: 2008-12-22 21:43 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NullPointerException stack trace (8.12 KB, text/plain)
2004-09-18 20:14 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-09-18 20:13:44 UTC
[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 !
Comment 1 Marian Mirilovic 2004-09-18 20:14:13 UTC
Created attachment 17731 [details]
NullPointerException stack trace
Comment 2 Marian Mirilovic 2004-09-18 20:19:21 UTC
This must be at least noted in NB4.0 Release notes !

By the way it seems like it works on JDK1.4.2_04 !
Comment 3 Jan Chalupa 2004-09-20 08:13:18 UTC
Fixable for Beta 2? Please evaluate promptly.
Comment 4 _ ttran 2004-09-20 09:22:21 UTC
reproducible w/ tiger b63?  I'd like to know if it's a regression in jdk 
Comment 5 Jan Chalupa 2004-09-20 10:00:12 UTC
I can reproduce it w/ b63 on Windows. Definitely not a recent regression.
Comment 6 David Simonek 2004-09-20 13:42:42 UTC
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.
Comment 7 Marian Mirilovic 2004-09-20 14:33:33 UTC
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 ;)
Comment 8 Marian Mirilovic 2004-09-20 15:01:28 UTC
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.
Comment 9 Jan Chalupa 2004-09-21 08:30:27 UTC
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.
Comment 10 Marian Mirilovic 2004-09-21 08:45:57 UTC
verified
Comment 11 Jan Pokorsky 2004-10-05 15:27:46 UTC
*** Issue 49922 has been marked as a duplicate of this issue. ***
Comment 12 Jan Pokorsky 2004-10-14 11:06:16 UTC
*** Issue 50394 has been marked as a duplicate of this issue. ***
Comment 13 Jan Pokorsky 2004-11-02 18:05:09 UTC
*** Issue 51093 has been marked as a duplicate of this issue. ***
Comment 14 Jan Pokorsky 2004-11-17 10:52:43 UTC
*** Issue 51587 has been marked as a duplicate of this issue. ***
Comment 15 Jan Chalupa 2004-11-26 06:31:19 UTC
*** Issue 51588 has been marked as a duplicate of this issue. ***
Comment 16 Jan Pokorsky 2004-12-02 12:47:48 UTC
*** Issue 51730 has been marked as a duplicate of this issue. ***
Comment 17 Jan Chalupa 2005-04-03 23:05:26 UTC
*** Issue 57395 has been marked as a duplicate of this issue. ***