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




Stacktrace: 
java.lang.IllegalArgumentException: bad position: 230
   at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1678)
   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.SwingUtilities.notifyAction(SwingUtilities.java:1662)
   at javax.swing.JComponent.processKeyBinding(JComponent.java:2878)
   at javax.swing.JComponent.processKeyBindings(JComponent.java:2925)
Comment 1 Vladimir Kvashin 2015-11-19 20:03:13 UTC
Created attachment 157420 [details]
stacktrace