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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33 OS: Windows XP, 5.1, x86 User Comments: drampulla: Editing a swing panel. GUEST: Trying to save the file. drampulla: Editing a swing panel. Stacktrace: java.lang.NullPointerException at javax.swing.text.JTextComponent.getCaretPosition(JTextComponent.java:1664) at javax.swing.text.JTextComponent$AccessibleJTextComponent.getCaretPosition(JTextComponent.java:2832) at javax.swing.text.JTextComponent$AccessibleJTextComponent.<init>(JTextComponent.java:2533) at javax.swing.JEditorPane$AccessibleJEditorPane.<init>(JEditorPane.java:1689) at javax.swing.JEditorPane.getAccessibleContext(JEditorPane.java:1669) at org.netbeans.modules.form.RADComponent.createAccessibilityProperties(RADComponent.java:1366)
Created attachment 76684 [details] stacktrace
It's a bit strange that JTextComponent throws such an exception, but according to the stacktrace this happened when the GUI form was being saved - in which case this call is all useless anyway and can be avoided. Integrated into main: http://hg.netbeans.org/main/rev/36e7fd620ee9
Integrated into 'main-golden', will be available in build *200902220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/36e7fd620ee9 User: Tomas Pavek <tpavek@netbeans.org> Log: #158103: don't force creation of properties when component is being saved
*** Issue 160814 has been marked as a duplicate of this issue. ***
*** Issue 168158 has been marked as a duplicate of this issue. ***