Project: appceleratorstudio
Issue TISTUD-7652: If you Refresh Devices, a NullPointerException is thrown
*Details:* If you Refresh Devices from the drop down list, a NullPointerException is thrown. *Note:* This issue *does not occur* with SDK 4.1.0.GA. *Steps to reproduce:* # Create an Alloy project from Appc Studio # In the drop down list, select Refresh Devices; *you do not need to plug in any devices* *Actual:* NullPointerException is thrown; see attachment for dialog and below of the exception from Studio logs: {code} !ENTRY org.eclipse.core.jobs 4 2 2015-07-28 11:15:52.362 !MESSAGE An internal error occurred during: "Refreshing Devices...". !STACK 0 java.lang.NullPointerException com.appcelerator.titanium.ios.core.IOSSDKLocator.loadSimulators(IOSSDKLocator.java:269) com.appcelerator.titanium.ios.core.IOSSDKLocator.parseTiInfo(IOSSDKLocator.java:191) com.appcelerator.titanium.ios.core.IOSSDKLocator.updateTiInfo(IOSSDKLocator.java:145) com.appcelerator.titanium.ios.core.IOSSDKLocator.refreshDevices(IOSSDKLocator.java:720) com.appcelerator.titanium.internal.ui.launching.DynamicLaunchShortcutManager$4.run(DynamicLaunchShortcutManager.java:273) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} *Expected:* NullPointerException should not be thrown if you refresh devices.
Story points: 5