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.
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)
Created attachment 120419 [details] stacktrace
http://hg.netbeans.org/core-main/rev/7312dd9a276f Fixed. Thanks for reporting.
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