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 218546 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-18 13:47 UTC by muellermi
Modified: 2012-10-10 03:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192536


Attachments
stacktrace (3.88 KB, text/plain)
2012-09-18 13:47 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2012-09-18 13:47:47 UTC
Build: NetBeans IDE Dev (Build 201209180001)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b11
OS: Windows XP

User Comments:
muellermi: Editing EL in Facelets page




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1911)
   at org.netbeans.modules.web.jsf.editor.JspJsfELPlugin.isValidProperty(JspJsfELPlugin.java:172)
   at org.netbeans.modules.web.el.spi.ELPlugin$Query.isValidProperty(ELPlugin.java:135)
   at org.netbeans.modules.web.el.completion.ELCodeCompletionHandler.proposeMethods(ELCodeCompletionHandler.java:270)
   at org.netbeans.modules.web.el.completion.ELCodeCompletionHandler.access$900(ELCodeCompletionHandler.java:85)
   at org.netbeans.modules.web.el.completion.ELCodeCompletionHandler$1.run(ELCodeCompletionHandler.java:171)
Comment 1 muellermi 2012-09-18 13:47:51 UTC
Created attachment 124522 [details]
stacktrace
Comment 2 Martin Fousek 2012-10-09 15:10:47 UTC
Thanks muellermi for reporting, really appreciate.

Fixed in web-main #c468f12956f9.
Comment 3 Quality Engineering 2012-10-10 03:06:43 UTC
Integrated into 'main-golden', will be available in build *201210100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c468f12956f9
User: Martin Fousek <marfous@netbeans.org>
Log: #218546 - StringIndexOutOfBoundsException: String index out of range: -1