java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=66748, result=-1, data=Intent { (has extras) }} to activity {com.alorma.github/com.alorma.github.ui.activity.repo.RepoDetailActivity}: java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.Milestone

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 Fahrradflucht
, 1 year ago
Failure delivering result ResultInfo{who=null, request=66748, result=-1, data=Intent { (has extras) }} to activity {com.alorma.github/com.alorma.github.ui.activity.repo.RepoDetailActivity}: java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.Milestone
via GitHub by zhugeheng
, 7 months ago
Failure delivering result ResultInfo{who=null, request=1008, result=-1, data=Intent { (has extras) }} to activity {com.jph.simple/com.jph.simple.SimpleActivity}: java.lang.reflect.UndeclaredThrowableException
via Stack Overflow by Prasetyo
, 1 month ago
Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { (has extras) }} to activity {com.example.prasetyo.videocallapp/com.example.prasetyo.videocallapp.Activities.CallScreenActivity}: java.lang.IllegalStateException
via Stack Overflow by returnFromException
, 2 years ago
Failure delivering result ResultInfo{who=null, request=64206, result=-1, data=Intent { (has extras) }} to activity {com.example.adminn.facebooktest/com.example.adminn.facebooktest.MainActivity}: java.lang.NullPointerException: Argument 'context' cannot be null
via Stack Overflow by Mohammed Atif
, 1 year ago
Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { (has extras) }} to activity {com.zemoso.atif.mps/com.zemoso.atif.mps.MainActivity}: java.lang.IllegalStateException
via Stack Overflow by Ayub baba
, 2 years ago
Failure delivering result ResultInfo{who=null, request=140, result=-1, data=Intent { (has extras) }} to activity {com.app.prominere.majorityohio/com.app.prominere.majorityohio.MainActivity}: retrofit.RetrofitError
java.lang.ClassCastException: com.alorma.github.sdk.bean.dto.response.ShaUrl cannot be cast to com.alorma.github.sdk.bean.dto.response.Milestone
at com.alorma.github.ui.fragment.issues.RepositoryIssuesListFragment.onActivityResult(RepositoryIssuesListFragment.java:326)
at com.alorma.github.ui.activity.repo.RepoDetailActivity.onActivityResult(RepoDetailActivity.java:420)
at android.app.Activity.dispatchActivityResult(Activity.java:6192)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3676)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3723)
at android.app.ActivityThread.access$1300(ActivityThread.java:156)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1400)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:211)
at android.app.ActivityThread.main(ActivityThread.java:5389)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)

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.