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 254486 - StringIndexOutOfBoundsException: String index out of range: 0
Summary: StringIndexOutOfBoundsException: String index out of range: 0
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-18 13:25 UTC by Michel Graciano
Modified: 2015-09-12 03:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214005


Attachments
stacktrace (2.94 KB, text/plain)
2015-08-18 13:25 UTC, Michel Graciano
Details
stacktrace (2.94 KB, text/plain)
2015-08-18 13:28 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2015-08-18 13:25:26 UTC
Build: NetBeans IDE Dev (Build 20150818-602910034ac6)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
GUEST: ???????  ???

GUEST: ??????

GUEST: No idea?

GUEST: ??????

hmichel: Editing a HTML file




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
   at java.lang.String.charAt(String.java:646)
   at org.netbeans.modules.html.angular.AngularJsEmbeddingProviderPlugin.processExpression(AngularJsEmbeddingProviderPlugin.java:665)
   at org.netbeans.modules.html.angular.AngularJsEmbeddingProviderPlugin.processToken(AngularJsEmbeddingProviderPlugin.java:200)
   at org.netbeans.modules.html.editor.embedding.JsEPPluginQuery$Session.processToken(JsEPPluginQuery.java:115)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.process(JsEmbeddingProvider.java:184)
   at org.netbeans.modules.html.editor.embedding.JsEmbeddingProvider.access$100(JsEmbeddingProvider.java:80)
Comment 1 Michel Graciano 2015-08-18 13:25:28 UTC
Created attachment 155427 [details]
stacktrace
Comment 2 Michel Graciano 2015-08-18 13:28:09 UTC
Created attachment 155428 [details]
stacktrace

Editing a HTML file with some unfinished AngularJS scripting:

data-ng-class="row resumo-emp ::Ctrl.property.getIconClass()">
Comment 3 Petr Pisl 2015-09-11 10:09:30 UTC
Fixed in web-main.
Comment 4 Quality Engineering 2015-09-12 03:05:19 UTC
Integrated into 'main-silver', will be available in build *201509120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/39619a04abcd
User: Petr Pisl <ppisl@netbeans.org>
Log: #254486 - StringIndexOutOfBoundsException: String index out of range: 0