java.lang.ClassCastException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19468

  • via GitHub by NycuRO
    , 8 months ago
    java.lang.Long cannot be cast to java.lang.String
  • via GitHub by JeryZeng
    , 1 year ago
    java.lang.Long cannot be cast to java.lang.String
  • via GitHub by cdjackson
    , 11 months ago
    java.lang.Long cannot be cast to java.lang.String
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.