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 249250

Summary: IllegalArgumentException: bad position: 2540
Product: editor Reporter: _ tboudreau <tboudreau>
Component: Actions/Menu/ToolbarAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: gtzabari, junaidiqbal1948, Leperous, petrk, tboudreau
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214036
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description _ tboudreau 2014-12-10 07:55:41 UTC
Build: NetBeans IDE Dev (Build NetBeans-603-on-20141204)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
tboudreau: Typing in editor




Stacktrace: 
java.lang.IllegalArgumentException: bad position: 2540
   at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1629)
   at org.netbeans.modules.editor.actions.CamelCaseActions$NextCamelCasePosition.moveToNewOffset(CamelCaseActions.java:195)
   at org.netbeans.modules.editor.actions.CamelCaseActions$CamelCaseAction$1.run(CamelCaseActions.java:114)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:356)
   at org.netbeans.modules.editor.actions.CamelCaseActions$CamelCaseAction.actionPerformed(CamelCaseActions.java:89)
   at org.netbeans.spi.editor.AbstractEditorAction.actionPerformed(AbstractEditorAction.java:499)
Comment 1 _ tboudreau 2014-12-10 07:55:42 UTC
Created attachment 151001 [details]
stacktrace
Comment 2 _ tboudreau 2015-05-12 05:49:38 UTC
Created attachment 153613 [details]
stacktrace

Paged down to bottom of file
Comment 3 Exceptions Reporter 2015-10-30 15:42:58 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=214036
Comment 4 Exceptions Reporter 2015-11-04 22:49:02 UTC
Created attachment 157154 [details]
stacktrace

errorinisperado
Comment 5 _ tboudreau 2015-11-26 09:39:21 UTC
Created attachment 157501 [details]
stacktrace

Editing a code template
Comment 6 Exceptions Reporter 2015-11-29 10:14:31 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=214036