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 254114 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: RESOLVED DUPLICATE of bug 248087
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-03 23:27 UTC by Exceptions Reporter
Modified: 2015-08-04 08:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 218942


Attachments
stacktrace (7.17 KB, text/plain)
2015-08-03 23:27 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-08-03 23:27:38 UTC
This bug was originally marked as duplicate of bug 244986, 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.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Windows 7

User Comments:
GUEST: Unable to create a new cordova project.  Will not let you save to a new folder




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1911)
   at org.netbeans.modules.cordova.CordovaPlatform$Version.<init>(CordovaPlatform.java:155)
   at org.netbeans.modules.cordova.CordovaPlatform.getVersion(CordovaPlatform.java:90)
   at org.netbeans.modules.cordova.CordovaPlatform.isReady(CordovaPlatform.java:118)
   at org.netbeans.modules.cordova.wizard.CordovaTemplate$CordovaExtender.createInitPanels(CordovaTemplate.java:151)
   at org.netbeans.modules.web.clientproject.ui.wizard.ClientSideProjectWizardIterator.initialize(ClientSideProjectWizardIterator.java:218)
Comment 1 Exceptions Reporter 2015-08-03 23:27:41 UTC
Created attachment 155155 [details]
stacktrace
Comment 2 Roman Svitanic 2015-08-04 08:37:04 UTC

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