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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 8
   at java.lang.String.charAt(String.java:646)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.queryHtmlEndTagInEmbeddedCode(HtmlCompletionQuery.java:190)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.access$100(HtmlCompletionQuery.java:91)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery$1.run(HtmlCompletionQuery.java:138)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1386)
   at org.netbeans.modules.html.editor.completion.HtmlCompletionQuery.run(HtmlCompletionQuery.java:127)
Comment 1 Exceptions Reporter 2015-09-24 20:58:08 UTC
Created attachment 156416 [details]
stacktrace
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?