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 255551 - StringIndexOutOfBoundsException: String index out of range: 8
Summary: StringIndexOutOfBoundsException: String index out of range: 8
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-09-24 20:58 UTC by Exceptions Reporter
Modified: 2015-09-25 13:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220177

stacktrace (2.43 KB, text/plain)
2015-09-24 20:58 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-24 20:58:06 UTC
This bug was originally marked as duplicate of bug 253234, 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 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Mac OS X

User Comments:
GUEST: copy and paste

java.lang.StringIndexOutOfBoundsException: String index out of range: 8
   at java.lang.String.charAt(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.queryHtmlEndTagInEmbeddedCode(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.access$100(
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$
   at org.netbeans.editor.BaseDocument.render(
Comment 1 Exceptions Reporter 2015-09-24 20:58:08 UTC
Created attachment 156416 [details]
Comment 2 Milutin Kristofic 2015-09-25 13:23:36 UTC
Hi, do you have reproducible case? What have you been copying and where did you paste it?