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 270734

Summary: NullPointerException at javax.help.plaf.basic.BasicContentViewerUI.linkActivated
Product: ide Reporter: ilia
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 229266
Attachments: stacktrace

Description ilia 2017-05-25 11:07:51 UTC
Build: IDE for C, C++, and Fortran (Oracle Developer Studio 12.6 [2017/05/25 f47f075123a1])
VM: OpenJDK 64-Bit Server VM, 25.111-b14, OpenJDK Runtime Environment, 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14
OS: Linux

User Comments:
ilia: Open help with external http link, click the link.

What's wrong:
1) Page opens in the current window, and the page is non-readable (all blocks are on the wrong position, background is blue, etc)
2) When I clicked some link inside this http page I got this exception.




Stacktrace: 
java.lang.NullPointerException
   at javax.help.plaf.basic.BasicContentViewerUI.linkActivated(BasicContentViewerUI.java:397)
   at javax.help.plaf.basic.BasicContentViewerUI.hyperlinkUpdate(BasicContentViewerUI.java:372)
   at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:342)
   at javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:875)
   at javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:674)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:270)
Comment 1 ilia 2017-05-25 11:07:55 UTC
Created attachment 164402 [details]
stacktrace