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 256695 - StringIndexOutOfBoundsException: String index out of range: 4
Summary: StringIndexOutOfBoundsException: String index out of range: 4
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: Cordova (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-19 16:48 UTC by Tomas Stupka
Modified: 2016-06-27 14:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 214876


Attachments
stacktrace (961 bytes, text/plain)
2015-11-19 16:48 UTC, Tomas Stupka
Details
stacktrace (961 bytes, text/plain)
2015-11-19 17:17 UTC, Tomas Stupka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Stupka 2015-11-19 16:48:10 UTC
Build: NetBeans IDE Dev (Build 20151119-1e9454bc066c)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b20
OS: Mac OS X

User Comments:
GUEST: .

GUEST: running cordova

tstupka: hm

GUEST: Error produced when launching iOS simulator from Cordova project

GUEST: compile errors

GUEST: Gerando aplicacao cordova ios

GUEST: .

GUEST: Error while Building iOS but seems it worked

GUEST: project starting iOS simulator

GUEST: Launching iOS simulator everytime




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4
   at java.lang.String.substring(String.java:1907)
   at org.netbeans.modules.cordova.platforms.spi.MobileDebugTransport.setBaseUrl(MobileDebugTransport.java:109)
   at org.netbeans.modules.cordova.platforms.ios.IOSDebugTransport$Tabs.update(IOSDebugTransport.java:408)
   at org.netbeans.modules.cordova.platforms.ios.IOSDebugTransport.process(IOSDebugTransport.java:156)
   at org.netbeans.modules.cordova.platforms.ios.IOSDebugTransport.access$100(IOSDebugTransport.java:77)
   at org.netbeans.modules.cordova.platforms.ios.IOSDebugTransport$1.run(IOSDebugTransport.java:102)
Comment 1 Tomas Stupka 2015-11-19 16:48:17 UTC
Created attachment 157414 [details]
stacktrace
Comment 2 Tomas Stupka 2015-11-19 17:17:53 UTC
Created attachment 157415 [details]
stacktrace

yeah