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 - IllegalArgumentException: bad position: 2540
Summary: IllegalArgumentException: bad position: 2540
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-10 07:55 UTC by _ tboudreau
Modified: 2018-05-12 07:42 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214036


Attachments
stacktrace (3.37 KB, text/plain)
2014-12-10 07:55 UTC, _ tboudreau
Details
stacktrace (3.37 KB, text/plain)
2015-05-12 05:49 UTC, _ tboudreau
Details
stacktrace (3.43 KB, text/plain)
2015-11-04 22:49 UTC, Exceptions Reporter
Details
stacktrace (3.43 KB, text/plain)
2015-11-26 09:39 UTC, _ tboudreau
Details

Note You need to log in before you can comment on or make changes to this bug.
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