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 247980 - StringIndexOutOfBoundsException: String index out of range: 0
Summary: StringIndexOutOfBoundsException: String index out of range: 0
Status: RESOLVED DUPLICATE of bug 247976
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 12:25 UTC by tremel
Modified: 2014-10-16 12:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207212


Attachments
stacktrace (1.49 KB, text/plain)
2014-10-16 12:25 UTC, tremel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tremel 2014-10-16 12:25:40 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17
OS: Linux

User Comments:
GUEST: I was cleaning and rebuilding the project.

GUEST: Netbeans and OGSI suck

GUEST: Still sucks

tremel: See https://netbeans.org/bugzilla/show_bug.cgi?id=247976.

I have removed ~/.m2 and ~/.cache/netbeans an do rebuild all my applications. After a while the error reoccur.

GUEST: Not sure. Maven build?

GUEST: Netbeans suck big time when you try to use it with OSGI




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
   at java.lang.String.charAt(String.java:646)
   at org.netbeans.modules.maven.indexer.ClassDependencyIndexCreator.dependencies(ClassDependencyIndexCreator.java:348)
   at org.netbeans.modules.maven.indexer.ClassDependencyIndexCreator.addDependenciesToMap(ClassDependencyIndexCreator.java:244)
   at org.netbeans.modules.maven.indexer.ClassDependencyIndexCreator.populateArtifactInfo(ClassDependencyIndexCreator.java:130)
   at org.apache.maven.index.ArtifactContext.createDocument(ArtifactContext.java:184)
   at org.apache.maven.index.DefaultIndexerEngine.update(DefaultIndexerEngine.java:73)
Comment 1 tremel 2014-10-16 12:25:41 UTC
Created attachment 149940 [details]
stacktrace
Comment 2 tremel 2014-10-16 12:32:26 UTC

*** This bug has been marked as a duplicate of bug 247976 ***