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 201505150001) VM: Java HotSpot(TM) Client VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Linux User Comments: PavelInNetbeans: Trying to refresh Web Service References from context menu that was initiated by mouse-right on the "Web Service References" - MyWebServiceReference. However, the process of refreshing finished without problems, but this NullPointerException popped up and I was asked to report this, so here you go. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.xml.text.navigator.NavigatorContent.selectCurrentNode(NavigatorContent.java:190) at org.netbeans.modules.xml.text.navigator.NavigatorContent.caretUpdate(NavigatorContent.java:173) at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:397) at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4394) at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4416) at org.netbeans.editor.BaseCaret$5.run(BaseCaret.java:956)
Created attachment 153711 [details] stacktrace
Ouch; in some corner case the component may become invalid while the update event is queued in EDT. fixed in jet-main#aa51208482a8
Integrated into 'main-silver', will be available in build *201505230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/aa51208482a8 User: Svata Dedic <sdedic@netbeans.org> Log: #252441: do not fire events if the component is invalidated and caret detached