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 - NullPointerException at javax.help.plaf.basic.BasicContentViewerUI.linkActivated
Summary: NullPointerException at javax.help.plaf.basic.BasicContentViewerUI.linkActivated
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 11:07 UTC by ilia
Modified: 2017-05-25 11:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 229266


Attachments
stacktrace (2.89 KB, text/plain)
2017-05-25 11:07 UTC, ilia
Details

Note You need to log in before you can comment on or make changes to this bug.
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