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 201508050002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25 OS: Mac OS X User Comments: michbarsinai: Clicked a Java text editor pane. Stacktrace: java.lang.NullPointerException at javax.swing.text.JTextComponent.getSelectionStart(JTextComponent.java:1770) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.performQuery(AsyncCompletionTask.java:171) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.refreshImpl(AsyncCompletionTask.java:202) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.refresh(AsyncCompletionTask.java:149) at org.netbeans.modules.editor.completion.CompletionImpl.refreshResultSets(CompletionImpl.java:1753) at org.netbeans.modules.editor.completion.CompletionImpl.access$2800(CompletionImpl.java:111)
Created attachment 155250 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/c2e7ee2fa99f
Integrated into 'main-silver', will be available in build *201509020320* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c2e7ee2fa99f User: Dusan Balek <dbalek@netbeans.org> Log: Issue #254242 - NullPointerException at javax.swing.text.JTextComponent.getSelectionStart - fixed.