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 Lokesh Choudhary, 1 year ago
com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String
via Appcelerator JIRA by Lokesh Choudhary, 2 years ago
com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String
java.lang.ClassCastException: com.appcelerator.titanium.android.core.Device cannot be cast to java.lang.String	at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab.updateAndroidConfiguration(AndroidLaunchConfigurationTab.java:165)	at com.appcelerator.titanium.android.ui.launching.AndroidLaunchConfigurationTab$2.selectionChanged(AndroidLaunchConfigurationTab.java:150)	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1211)	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1241)	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:239)	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:233)	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:403)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)	at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)	at org.eclipse.jface.window.Window.open(Window.java:802)	at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1134)	at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:604)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:612)	at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:546)	at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:81)	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)	at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1284)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4166)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1489)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1474)	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4012)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3651)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)	at com.appcelerator.titanium.rcp.IDEApplication.start(IDEApplication.java:125)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)	at org.eclipse.equinox.launcher.Main.run(Main.java:1450)