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 - NullPointerException at javax.swing.text.JTextComponent.getSelectionEnd
Summary: NullPointerException at javax.swing.text.JTextComponent.getSelectionEnd
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-30 15:52 UTC by _ gtzabari
Modified: 2016-05-30 15:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224282


Attachments
stacktrace (1.66 KB, text/plain)
2016-05-30 15:52 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
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