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 255801

Summary: IllegalArgumentException: bad position: 83
Product: editor Reporter: Vladimir Kvashin <vkvashin>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220437
Attachments: stacktrace

Description Vladimir Kvashin 2015-10-08 12:43:21 UTC
Build: NetBeans IDE Dev (Build 201510060002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
vkvashin: I was navigating through code voia hyperlinks, then getting back and forth via "Go back" and "Go forward" editor tool bar buttons, then probably pressed "Find Next" or/and "Find Previous" button (by mistake)




Stacktrace: 
java.lang.IllegalArgumentException: bad position: 83
   at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1629)
   at org.netbeans.modules.editor.impl.actions.NavigationHistoryBackAction.show(NavigationHistoryBackAction.java:306)
   at org.netbeans.modules.editor.impl.actions.NavigationHistoryBackAction.actionPerformed(NavigationHistoryBackAction.java:201)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
Comment 1 Vladimir Kvashin 2015-10-08 12:43:22 UTC
Created attachment 156619 [details]
stacktrace