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 225579 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-31 08:44 UTC by mienamoo
Modified: 2013-02-04 07:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 198207


Attachments
stacktrace (4.12 KB, text/plain)
2013-01-31 08:44 UTC, mienamoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mienamoo 2013-01-31 08:44:33 UTC
Build: NetBeans IDE Dev (Build 201301310001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: Windows 7

User Comments:
mienamoo: Moving away from a line with a compile error in a Java class that lives inside a Maven-based platform application module.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1911)
   at org.netbeans.modules.maven.apisupport.MavenWhiteListQueryImpl$1.check(MavenWhiteListQueryImpl.java:217)
   at org.netbeans.modules.whitelist.WhiteListQueryImplementationMerged$WhiteListImplementationMerged.check(WhiteListQueryImplementationMerged.java:127)
   at org.netbeans.api.whitelist.WhiteListQuery$WhiteList.check(WhiteListQuery.java:140)
   at org.netbeans.api.whitelist.support.WhiteListSupport$WhiteListScanner.handleNode(WhiteListSupport.java:193)
   at org.netbeans.api.whitelist.support.WhiteListSupport$WhiteListScanner.visitIdentifier(WhiteListSupport.java:146)
Comment 1 mienamoo 2013-01-31 08:44:35 UTC
Created attachment 130872 [details]
stacktrace
Comment 2 Milos Kleint 2013-01-31 08:56:27 UTC
fixed in current codebase that didn't propagate to main-golden yet.
Comment 3 mienamoo 2013-02-01 09:10:23 UTC
That is good news. When do you expect it to be propagated?
Comment 4 Milos Kleint 2013-02-01 09:14:20 UTC
after http://deadlock.netbeans.org/hudson/job/NB-Core-Build/ passes
Comment 5 mienamoo 2013-02-01 09:15:32 UTC
Ah, that makes perfect sense. Thanks!
Comment 6 mienamoo 2013-02-04 07:10:38 UTC
Verified with build 201302030001. Thanks!