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 249611 - StringIndexOutOfBoundsException: String index out of range: 8
Summary: StringIndexOutOfBoundsException: String index out of range: 8
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-03 15:51 UTC by Exceptions Reporter
Modified: 2016-02-12 15:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214578


Attachments
stacktrace (3.71 KB, text/plain)
2015-01-03 15:51 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-01-03 15:51:22 UTC
This bug was originally marked as duplicate of bug 222320, 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.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_65-b32
OS: Linux

User Comments:
GUEST: Occurs when uploading about 500 files to FTP.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 8
   at java.lang.String.charAt(String.java:658)
   at nu.validator.htmlparser.impl.NCName.escapeName(NCName.java:482)
   at nu.validator.htmlparser.impl.HtmlAttributes.processNonNcNames(HtmlAttributes.java:479)
   at nu.validator.htmlparser.impl.TreeBuilder.checkAttributes(TreeBuilder.java:4762)
   at nu.validator.htmlparser.impl.TreeBuilder.appendToCurrentNodeAndPushElementMayFoster(TreeBuilder.java:4894)
   at nu.validator.htmlparser.impl.TreeBuilder.startTag(TreeBuilder.java:2320)
Comment 1 Exceptions Reporter 2015-01-03 15:51:23 UTC
Created attachment 151348 [details]
stacktrace
Comment 2 Milutin Kristofic 2016-02-12 15:34:03 UTC
Html validator was updated in 
http://hg.netbeans.org/web-main/rev/26573d86f877

This could be fixed by this update in 2016 dev build. If not please reopen this issue.