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 201212190001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18 OS: Windows 7 User Comments: jiriprox: NPE when setting keymap propery of the JTextArea to <none> Stacktrace: java.lang.NullPointerException at javax.swing.JTextPane.getLogicalStyle(JTextPane.java:330) at sun.reflect.GeneratedMethodAccessor263.invoke(GeneratedMethodAccessor263.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.netbeans.modules.form.RADProperty.getTargetValue(RADProperty.java:121) at org.netbeans.modules.form.FormProperty.checkCurrentValue(FormProperty.java:988)
Created attachment 129582 [details] stacktrace
Cannot reproduce, setting keymap to none does nothing to me. The exception means there was no document in the JTextPane component, which I have no idea how it could happen. There is no way to set null document directly in GUI builder.