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 252273

Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionStart
Product: editor Reporter: _ gtzabari <gtzabari>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: gtzabari, jherkel
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217153
Attachments: stacktrace
stacktrace

Description _ gtzabari 2015-05-06 18:52:10 UTC
Build: NetBeans IDE Dev (Build 201504270341)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Windows 7

User Comments:
gtzabari: Closed editor tab.




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$1.run(AsyncCompletionTask.java:236)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
Comment 1 _ gtzabari 2015-05-06 18:52:12 UTC
Created attachment 153542 [details]
stacktrace
Comment 2 jherkel 2015-05-07 08:43:11 UTC
Created attachment 153547 [details]
stacktrace

close file
Comment 3 Exceptions Reporter 2015-09-23 17:27:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217153