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 246614

Summary: NullPointerException at javax.swing.text.View.setParent
Product: platform Reporter: soldatov <soldatov>
Component: Help SystemAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 211363
Attachments: stacktrace

Description soldatov 2014-08-21 14:23:08 UTC
Build: NetBeans IDE 8.0.1 (Build 201408202300)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Mac OS X

User Comments:
soldatov: Push Help > Help Contents menu item on MacOSX




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.View.setParent(View.java:338)
   at javax.swing.text.CompositeView.setParent(CompositeView.java:136)
   at javax.swing.text.FlowView.setParent(FlowView.java:292)
   at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:75)
   at javax.swing.text.View.setParent(View.java:341)
   at javax.swing.text.CompositeView.setParent(CompositeView.java:136)
Comment 1 soldatov 2014-08-21 14:23:09 UTC
Created attachment 148816 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-08-22 14:19:43 UTC
I cannot reproduce this bug on Windows 7 (NB Dev 201408180001, JDK 1.8.0_05 64 bit).

Does the bug occur randomly, or every time you try to open Help Contents?
Can you reproduce the issue with another version of JDK?

Thank you.
Comment 3 soldatov 2014-08-22 14:23:15 UTC
Randomly. I didn't this exception from that time.
Comment 4 Jaroslav Havlin 2014-09-05 10:46:41 UTC
I cannot reproduce this bug on Mac as well.
I'm sorry, I have no idea what could have caused it.
(A race condition or a bug in swing maybe?)
Closing for now. Thank you for understanding.