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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Ewan Harris, 1 year ago
java.lang.Long cannot be cast to java.lang.String
via Appcelerator JIRA by Ewan Harris, 1 year ago
java.lang.Long cannot be cast to java.lang.String
java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String
at com.appcelerator.titanium.windows.internal.core.launching.Device.(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)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.