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 254895

Summary: [81cat] IllegalArgumentException: bad position: 66
Product: editor Reporter: muellermi <muellermi>
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: petrk, stiffuser
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219577
Attachments: stacktrace

Description muellermi 2015-09-01 08:48:31 UTC
Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
muellermi: Ctrl+Q in editor pressed (to go back to last edit position)




Stacktrace: 
java.lang.IllegalArgumentException: bad position: 66
   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.NavigationHistoryLastEditAction.actionPerformed(NavigationHistoryLastEditAction.java:95)
   at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
   at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:462)
   at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663)
Comment 1 muellermi 2015-09-01 08:48:33 UTC
Created attachment 155792 [details]
stacktrace