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 15265 - ICE Browser NPE'S when browsing generated Javadoc
Summary: ICE Browser NPE'S when browsing generated Javadoc
Status: CLOSED DUPLICATE of bug 13046
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-07 17:00 UTC by rsk
Modified: 2008-12-22 19:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rsk 2001-09-07 17:00:05 UTC
JDK: 1.4Beta2
OS: Windows 2000 SP2
Netbeans: 3.3 DEVEL (Sept-7-01 Build)

When I click on my base directory for my project and then "Generate Javadoc" 
then the little window that says "Javadoc has been gernated, would you like to 
view it?" pops up, if I click on "YES" and have the "Swing Browser" selected 
(I'm assuming that is the "ICE Browser") then I get a NullPointerException 
after the browser window opens and tries to read the index page, here is the 
error:

(Sorry for any miss-types, I had to type this since there is no copy-paste from 
an error window in Netbeans, HINT HINT)

java.lang.NullPointerException
 at javax.swing.text.html.FrameView.setMargin(FrameView.java:142)
 at javax.swing.text.html.FrameView.createComponent(FrameView.java:75)
 at javax.swing.text.ComponentView.setComponentParent(ComponentView.java:275)
 at javax.swing.text.ComponentView$1.run(ComponentView.java:247)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:176)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:446)
 .
 .
 . <more EventDispatchThread.pumpEvents and lastly the 
 . EventDispathThread.run method>
Comment 1 _ rkubacki 2001-09-10 08:03:12 UTC
The swing browser is not based on icebrowser. The actual problem is
that with swing frames are not working well.

*** This issue has been marked as a duplicate of 13046 ***
Comment 2 Quality Engineering 2003-07-01 15:58:13 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 3 Quality Engineering 2003-07-01 16:18:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.