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

Windows: Error when opening Studio on Windows

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 4.1.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 8.1
      Appc Studio: 4.1.0.201506181525

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

      Description

      Description

      When opening Studio the below error is thrown, this appears to be due to the Windows SDK detection

      !ENTRY org.eclipse.core.jobs 4 2 2015-06-18 16:20:28.962
      !MESSAGE An internal error occurred during: "Computing SDK Info...".
      !STACK 0
      java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
          at com.appcelerator.titanium.windows.internal.core.launching.Device.<init>(Device.java:30)
          at com.appcelerator.titanium.windows.core.WindowsSDKLocator$2.map(WindowsSDKLocator.java:247)
          at com.appcelerator.titanium.windows.core.WindowsSDKLocator$2.map(WindowsSDKLocator.java:1)
          at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)
          at com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)
          at com.appcelerator.titanium.windows.core.WindowsSDKLocator.parseTiInfo(WindowsSDKLocator.java:242)
          at com.appcelerator.titanium.windows.core.WindowsSDKLocator.initialize(WindowsSDKLocator.java:126)
          at com.appcelerator.titanium.core.mobile.SDKLocator.lazyInitialize(SDKLocator.java:235)
          at com.appcelerator.titanium.core.mobile.SDKLocator.getInitializationStatus(SDKLocator.java:137)
          at com.appcelerator.titanium.ui.portal.processor.MobileSDKConfigurationHelper.getSDKInitializationStatus(MobileSDKConfigurationHelper.java:324)
          at com.appcelerator.titanium.ui.portal.actionController.MobileSDKActionController.refreshSDK(MobileSDKActionController.java:349)
          at com.appcelerator.titanium.ui.portal.actionController.MobileSDKActionController$1.run(MobileSDKActionController.java:125)
          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      

      Steps To Reproduce

      1. Install 4.1.0 Studio from http://preview.appcelerator.com/appc-studio/
      2. Open Studio

      Actual Result

      The above error is thrown

      Expected Result

      Studio should not throw an error when opening

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              eharris Ewan Harris
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: