java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String

Appcelerator JIRA | Ewan Harris | 1 year ago
  1. 0

    h5.Description When opening Studio the below error is thrown, this appears to be due to the Windows SDK detection {code} !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) {code} h5.Steps To Reproduce 1. Install 4.1.0 Studio from http://preview.appcelerator.com/appc-studio/ 2. Open Studio h5.Actual Result The above error is thrown h5.Expected Result Studio should not throw an error when opening

    Appcelerator JIRA | 1 year ago | Ewan Harris
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  2. 0

    h5.Description When opening Studio the below error is thrown, this appears to be due to the Windows SDK detection {code} !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) {code} h5.Steps To Reproduce 1. Install 4.1.0 Studio from http://preview.appcelerator.com/appc-studio/ 2. Open Studio h5.Actual Result The above error is thrown h5.Expected Result Studio should not throw an error when opening

    Appcelerator JIRA | 1 year ago | Ewan Harris
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  3. 0

    WSO2 ESB - From VFS to JMS MessageStore

    Stack Overflow | 3 years ago | elPrez1983
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do you prepopulate an IT Resource field?

    Oracle Community | 7 years ago | 703604
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long
  6. 0

    Classcast exception when running FullTest for Firefox 25

    GitHub | 3 years ago | soulgalore
    java.lang.RuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to java.lang.String

      at com.appcelerator.titanium.windows.internal.core.launching.Device.<init>()
    2. com.appcelerator.titanium
      WindowsSDKLocator$2.map
      1. com.appcelerator.titanium.windows.internal.core.launching.Device.<init>(Device.java:30)
      2. com.appcelerator.titanium.windows.core.WindowsSDKLocator$2.map(WindowsSDKLocator.java:247)
      3. com.appcelerator.titanium.windows.core.WindowsSDKLocator$2.map(WindowsSDKLocator.java:1)
      3 frames
    3. com.aptana.core
      CollectionsUtil.map
      1. com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:432)
      2. com.aptana.core.util.CollectionsUtil.map(CollectionsUtil.java:466)
      2 frames
    4. com.appcelerator.titanium
      MobileSDKActionController$1.run
      1. com.appcelerator.titanium.windows.core.WindowsSDKLocator.parseTiInfo(WindowsSDKLocator.java:242)
      2. com.appcelerator.titanium.windows.core.WindowsSDKLocator.initialize(WindowsSDKLocator.java:126)
      3. com.appcelerator.titanium.core.mobile.SDKLocator.lazyInitialize(SDKLocator.java:235)
      4. com.appcelerator.titanium.core.mobile.SDKLocator.getInitializationStatus(SDKLocator.java:137)
      5. com.appcelerator.titanium.ui.portal.processor.MobileSDKConfigurationHelper.getSDKInitializationStatus(MobileSDKConfigurationHelper.java:324)
      6. com.appcelerator.titanium.ui.portal.actionController.MobileSDKActionController.refreshSDK(MobileSDKActionController.java:349)
      7. com.appcelerator.titanium.ui.portal.actionController.MobileSDKActionController$1.run(MobileSDKActionController.java:125)
      7 frames
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame