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 213662 - NullPointerException at javax.swing.text.html.StyleSheet.removeHTMLTags
Summary: NullPointerException at javax.swing.text.html.StyleSheet.removeHTMLTags
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-06 10:04 UTC by ytn01
Modified: 2012-06-09 04:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189069


Attachments
stacktrace (7.66 KB, text/plain)
2012-06-06 10:04 UTC, ytn01
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ytn01 2012-06-06 10:04:46 UTC
Build: NetBeans IDE Dev (Build 201206020001)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
ytn01: Opened to view contents of a JavaDB database.
Clicked insert rows.
Filled the first row.
Toggled the "show sql" option on/off/on
Clicked "Add Row".
Exception was generated.




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.html.StyleSheet.removeHTMLTags(StyleSheet.java:695)
   at javax.swing.text.html.StyleSheet.addAttributes(StyleSheet.java:593)
   at javax.swing.text.StyleContext$NamedStyle.addAttributes(StyleContext.java:1513)
   at javax.swing.text.html.HTMLEditorKit.createInputAttributes(HTMLEditorKit.java:452)
   at javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes(StyledEditorKit.java:259)
   at javax.swing.text.StyledEditorKit.install(StyledEditorKit.java:117)
Comment 1 ytn01 2012-06-06 10:04:52 UTC
Created attachment 120419 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-06-08 10:43:31 UTC
http://hg.netbeans.org/core-main/rev/7312dd9a276f
Fixed. Thanks for reporting.
Comment 3 Quality Engineering 2012-06-09 04:37:02 UTC
Integrated into 'main-golden', will be available in build *201206090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/7312dd9a276f
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #213662: NullPointerException at javax.swing.text.html.StyleSheet.removeHTMLTags