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 256385 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-05 13:52 UTC by Exceptions Reporter
Modified: 2015-11-05 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 220976


Attachments
stacktrace (1.70 KB, text/plain)
2015-11-05 13:52 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-11-05 13:52:31 UTC
This bug was originally marked as duplicate of bug 235273, 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: Java HotSpot(TM) 64-Bit Server VM, 24.80-b11, Java(TM) SE Runtime Environment, 1.7.0_80-b15
OS: Linux

User Comments:
GUEST: Attempting to open a java project

GUEST: Trying to open JavaSE project




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1875)
   at org.netbeans.modules.java.project.ProjectProblemsProviders.getDisplayId(ProjectProblemsProviders.java:563)
   at org.netbeans.modules.java.project.ProjectProblemsProviders.getDisplayName(ProjectProblemsProviders.java:499)
   at org.netbeans.modules.java.project.ProjectProblemsProviders.getReferenceProblems(ProjectProblemsProviders.java:338)
   at org.netbeans.modules.java.project.ProjectProblemsProviders.access$1300(ProjectProblemsProviders.java:127)
   at org.netbeans.modules.java.project.ProjectProblemsProviders$ReferenceProblemProviderImpl$1$1.run(ProjectProblemsProviders.java:1094)
Comment 1 Exceptions Reporter 2015-11-05 13:52:33 UTC
Created attachment 157162 [details]
stacktrace