Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-7652

If you Refresh Devices, a NullPointerException is thrown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.1
    • Fix Version/s: Release 4.3.0
    • Component/s: Projects
    • Labels:
    • Environment:

      Appcelerator Studio, build: 4.1.1.201507141126
      Appc CLI NPM: 4.1.0
      Appc CLI Core: 4.2.0-1
      SDK: 4.2.0.v20150728015233
      Node: v0.10.38
      Xcode: 7 (beta 4)
      OS: Yosemite (10.10.4)

    • Story Points:
      5
    • Sprint:
      2015 Sprint 16 Studio

      Description

      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:

      1. Create an Alloy project from Appc Studio
      2. 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:

      !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
      	at com.appcelerator.titanium.ios.core.IOSSDKLocator.loadSimulators(IOSSDKLocator.java:269)
      	at com.appcelerator.titanium.ios.core.IOSSDKLocator.parseTiInfo(IOSSDKLocator.java:191)
      	at com.appcelerator.titanium.ios.core.IOSSDKLocator.updateTiInfo(IOSSDKLocator.java:145)
      	at com.appcelerator.titanium.ios.core.IOSSDKLocator.refreshDevices(IOSSDKLocator.java:720)
      	at com.appcelerator.titanium.internal.ui.launching.DynamicLaunchShortcutManager$4.run(DynamicLaunchShortcutManager.java:273)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Expected: NullPointerException should not be thrown if you refresh devices.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                wluu Wilson Luu (Inactive)
                Reviewer:
                Praveen Innamuri (Inactive)
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: