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 210030 - NullPointerException at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create
Summary: NullPointerException at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 12:50 UTC by sunbiz
Modified: 2012-06-20 09:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186230


Attachments
stacktrace (6.79 KB, text/plain)
2012-03-24 12:50 UTC, sunbiz
Details
stacktrace (6.79 KB, text/plain)
2012-03-29 16:11 UTC, sunbiz
Details
stacktrace (6.79 KB, text/plain)
2012-04-30 23:38 UTC, MackSix
Details
stacktrace (6.79 KB, text/plain)
2012-06-20 09:41 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2012-03-24 12:50:25 UTC
Build: NetBeans IDE Dev (Build 201203200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
sunbiz: Show SQL for add new record




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(HTMLEditorKit.java:1126)
   at javax.swing.text.CompositeView.loadChildren(CompositeView.java:112)
   at javax.swing.text.CompositeView.setParent(CompositeView.java:139)
   at javax.swing.plaf.basic.BasicTextUI$RootView.setView(BasicTextUI.java:1330)
   at javax.swing.plaf.basic.BasicTextUI.setView(BasicTextUI.java:695)
   at javax.swing.plaf.basic.BasicTextUI.modelChanged(BasicTextUI.java:684)
Comment 1 sunbiz 2012-03-24 12:50:27 UTC
Created attachment 117189 [details]
stacktrace
Comment 2 sunbiz 2012-03-29 16:11:23 UTC
Created attachment 117492 [details]
stacktrace
Comment 3 MackSix 2012-04-30 23:38:33 UTC
Created attachment 118913 [details]
stacktrace

1) Right click a sample database table "CUSTOMER" in Services Window and choose View Data.
2) Choose Row in Table and click "Insert Record" button.
3) Click "Show SQL" Button on pop-up window.

This NullPointerException is thrown.
Comment 4 Miloslav Metelka 2012-06-08 13:21:50 UTC
MackSix thanks for the steps to reproduce!
http://hg.netbeans.org/jet-main/rev/528b2262cd6e
Comment 5 Quality Engineering 2012-06-09 04:36:28 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/528b2262cd6e
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #210030 - NullPointerException at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create().
Comment 6 Maksim Khramov 2012-06-20 09:41:06 UTC
Created attachment 121086 [details]
stacktrace

In SQL results datatable clicked Insert buton
In opened dialog clicked Show SQL
Comment 7 Exceptions Reporter 2012-06-20 09:41:25 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=186230