Project: appceleratorstudio
Issue TISTUD-5777: Profiling fails on android device with StringIndexOutOfBoundsException error
h5.Description: 1.Profile any app in studio for android device. 2.Monitor the build & launch process. h5.Actual Result: 1. We get error & the build process fails: {code} !ENTRY com.appcelerator.titanium.android.core 2 0 2013-11-20 13:33:30.265 !MESSAGE (Build 3.2.0.201311200357) [WARNING] Aborting app launch. Installation process returned exit code 143 !ENTRY org.eclipse.core.jobs 4 2 2013-11-20 13:33:30.351 !MESSAGE An internal error occurred during: "Launching Appcelerator Android Application Installer - commonapp". !STACK 0 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 java.lang.String.substring(String.java:1937) com.appcelerator.titanium.android.core.launching.AndroidInstallerLaunchConfigurationDelegate.launch(AndroidInstallerLaunchConfigurationDelegate.java:214) com.appcelerator.titanium.android.ui.launching.device.AndroidDebugOnDeviceLaunchConfigurationDelegate.launch(AndroidDebugOnDeviceLaunchConfigurationDelegate.java:139) org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858) org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707) org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018) org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222) org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {code} h5.Expected Result: 1.The profiling process should be successful & not fail because of StringIndexOutOfBoundsException error.
Story points: 3