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 262650 - StringIndexOutOfBoundsException: String index out of range: 13030
Summary: StringIndexOutOfBoundsException: String index out of range: 13030
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 13:57 UTC by PipoLotti
Modified: 2018-03-22 17:56 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217965


Attachments
stacktrace (4.32 KB, text/plain)
2016-07-01 13:57 UTC, PipoLotti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PipoLotti 2016-07-01 13:57:52 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: Compiling

GUEST: I don't know how I produced this error.

GUEST: autoindend code doesn't work. throws "StringIndexOutOfBoundsException: String index out of range: 10023" and no indend at all

PipoLotti: Just modifiing (while debuging) a jsp page and saw the alert...

crosati: -

GUEST: Tried to call web service operation in a web application.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 13030
   at java.lang.String.charAt(String.java:658)
   at org.netbeans.modules.java.source.save.Reindenter.reindent(Reindenter.java:185)
   at org.netbeans.modules.editor.indent.TaskHandler$MimeItem.runTask(TaskHandler.java:555)
   at org.netbeans.modules.editor.indent.TaskHandler.runTasks(TaskHandler.java:316)
   at org.netbeans.modules.editor.indent.IndentImpl.reindent(IndentImpl.java:299)
   at org.netbeans.modules.editor.indent.api.Indent.reindent(Indent.java:171)
Comment 1 PipoLotti 2016-07-01 13:57:55 UTC
Created attachment 160219 [details]
stacktrace
Comment 2 Exceptions Reporter 2017-12-04 20:19:25 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217965