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 262275

Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionEnd
Product: editor Reporter: _ gtzabari <gtzabari>
Component: SearchAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224282
Attachments: stacktrace

Description _ gtzabari 2016-05-30 15:52:11 UTC
Build: NetBeans IDE Dev (Build 201605260002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 10

User Comments:
gtzabari: Closed editor tab. Exception thrown.




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.JTextComponent.getSelectionEnd(JTextComponent.java:1803)
   at org.netbeans.modules.editor.search.EditorFindSupport.incSearch(EditorFindSupport.java:399)
   at org.netbeans.modules.editor.search.SearchBar.incrementalSearch(SearchBar.java:898)
   at org.netbeans.modules.editor.search.SearchBar.access$1100(SearchBar.java:91)
   at org.netbeans.modules.editor.search.SearchBar$19.actionPerformed(SearchBar.java:611)
   at javax.swing.Timer.fireActionPerformed(Timer.java:313)
Comment 1 _ gtzabari 2016-05-30 15:52:13 UTC
Created attachment 159918 [details]
stacktrace