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 236136 - NullPointerException at javax.swing.text.html.StyleSheet.getRule
Summary: NullPointerException at javax.swing.text.html.StyleSheet.getRule
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 239752 250362 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-09-19 10:45 UTC by petrk
Modified: 2015-02-11 12:59 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203995


Attachments
stacktrace (5.46 KB, text/plain)
2013-09-19 10:45 UTC, petrk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2013-09-19 10:45:20 UTC
Build: NetBeans IDE Dev (Build 201309060001)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: SunOS

User Comments:
petrk: Trying to report an exception




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.html.StyleSheet.getRule(StyleSheet.java:228)
   at javax.swing.text.html.StyleSheet$ViewAttributeSet.<init>(StyleSheet.java:2673)
   at javax.swing.text.html.StyleSheet.getViewAttributes(StyleSheet.java:348)
   at javax.swing.text.html.BlockView.setPropertiesFromAttributes(BlockView.java:404)
   at javax.swing.text.html.BlockView.setParent(BlockView.java:74)
   at javax.swing.plaf.basic.BasicTextUI$RootView.setView(BasicTextUI.java:1328)
Comment 1 petrk 2013-09-19 10:45:23 UTC
Created attachment 140241 [details]
stacktrace
Comment 2 Martin Entlicher 2013-12-16 15:34:48 UTC
We call putClientProperty(javax.swing.JTextPane.HONOR_DISPLAY_PROPERTIES, Boolean.TRUE); on a new JEditorPane.
The exception can not be a fault of NetBeans code.
I've created: https://bugs.openjdk.java.net/browse/JDK-8030211
Comment 3 Martin Entlicher 2014-07-28 15:23:34 UTC
*** Bug 239752 has been marked as a duplicate of this bug. ***
Comment 4 Martin Entlicher 2015-02-11 12:59:00 UTC
*** Bug 250362 has been marked as a duplicate of this bug. ***