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 256701

Summary: IllegalArgumentException: bad position: 230
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: 221263
Attachments: stacktrace

Description Vladimir Kvashin 2015-11-19 20:03:11 UTC
This bug was originally marked as duplicate of bug 242965, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 20151117-fd89431022ea)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Linux

User Comments:
vkvashin: Used Alt-leftArrow to return back to the previous position

java.lang.IllegalArgumentException: bad position: 230
   at javax.swing.text.JTextComponent.setCaretPosition(
   at org.netbeans.modules.editor.impl.actions.NavigationHistoryBackAction.actionPerformed(
   at javax.swing.SwingUtilities.notifyAction(
   at javax.swing.JComponent.processKeyBinding(
   at javax.swing.JComponent.processKeyBindings(
Comment 1 Vladimir Kvashin 2015-11-19 20:03:13 UTC
Created attachment 157420 [details]