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 GitHub by GeorgeWL
, 1 year ago
Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.ContentEditorActivity}: java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.GithubComment
via GitHub by xChitose
, 1 year ago
Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.ContentEditorActivity}: java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.GithubComment
via GitHub by FHellmann
, 1 year ago
Unable to start activity ComponentInfo{com.fk07/edu.hm.cs.fs.app.ui.MainActivity}: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
via GitHub by halibobo
, 1 year ago
Unable to start activity ComponentInfo{com.ishiwupai/com.ishiwupai.MainActivity}: java.lang.ClassCastException: android.app.Application cannot be cast to com.facebook.react.ReactApplication
via GitHub by BishopGIS
, 1 year ago
Unable to start activity ComponentInfo{com.nextgis.forestinspector/com.nextgis.forestinspector.activity.DocumentViewActivity}: java.lang.ClassCastException: java.lang.Long cannot be cast to java.util.Date
via Stack Overflow by Shivam Tandon
, 1 year ago
Unable to start activity ComponentInfo{com.example.admin.trainyourmath/com.example.admin.trainyourmath.MainActivity}: java.lang.ClassCastException: com.example.admin.trainyourmath.MainActivity cannot be cast to android.view.View$OnClickListener
java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.GithubComment	at com.alorma.github.sdk.bean.issue.IssueStoryComment.(IssueStoryComment.java:50)	at com.alorma.github.sdk.bean.issue.IssueStoryComment$1.createFromParcel(IssueStoryComment.java:57)	at com.alorma.github.sdk.bean.issue.IssueStoryComment$1.createFromParcel(IssueStoryComment.java:54)	at android.os.Parcel.readParcelable(Parcel.java:2367)	at android.os.Parcel.readValue(Parcel.java:2264)	at android.os.Parcel.readArrayMapInternal(Parcel.java:2614)	at android.os.BaseBundle.unparcel(BaseBundle.java:221)	at android.os.BaseBundle.getString(BaseBundle.java:920)	at com.alorma.github.ui.activity.ContentEditorActivity.onCreate(ContentEditorActivity.java:133)	at android.app.Activity.performCreate(Activity.java:6272)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)	at android.app.ActivityThread.access$900(ActivityThread.java:157)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5551)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)