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 219305

Summary: NullPointerException at javax.swing.text.FlowView$LogicalView.getPreferredSpan
Product: platform Reporter: rr151
Component: Help SystemAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 192930
Attachments: stacktrace

Description rr151 2012-10-02 06:47:44 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista

Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.FlowView$LogicalView.getPreferredSpan(FlowView.java:715)
   at javax.swing.text.FlowView.calculateMinorAxisRequirements(FlowView.java:216)
   at javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(ParagraphView.java:128)
   at javax.swing.text.BoxView.checkRequests(BoxView.java:918)
   at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:551)
   at javax.swing.text.html.ParagraphView.getMinimumSpan(ParagraphView.java:261)
Comment 1 rr151 2012-10-02 06:47:47 UTC
Created attachment 125187 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-10-05 11:38:34 UTC
Please, can you reproduce this bug, or has it happened only once?
Comment 3 Jaroslav Havlin 2012-10-09 15:53:22 UTC
The error may be caused by content of the help page. Which help were you going to show? Thanks.
Comment 4 rr151 2012-10-09 18:28:06 UTC
(In reply to comment #2)
> Please, can you reproduce this bug, or has it happened only once?

It has not happend again since restarting the program.
Comment 5 rr151 2012-10-09 18:30:56 UTC
(In reply to comment #3)
> The error may be caused by content of the help page. Which help were you going
> to show? Thanks.

I can't remember what help topic(s) I was looking at when the error occurred.
Comment 6 Jaroslav Havlin 2012-10-10 08:27:27 UTC
> > Please, can you reproduce this bug, or has it happened only once?
> 
> It has not happend again since restarting the program.

> > The error may be caused by content of the help page. Which help were you
> > going to show? Thanks.
> 
> I can't remember what help topic(s) I was looking at when the error occurred.

I cannot reproduce it too. It seems to be a random Swing bug.
Closing for now. Please reopen when it happen again and we get some more information about it.
Thank you very much.