gitskarios / Gitskarios

GitHub Android application
MIT License
526 stars 73 forks source link

Crash #595

Closed webmaster33 closed 8 years ago

webmaster33 commented 8 years ago

Build version: 4.4.4
Build date: 1979-11-30 00:00:00
Current date: 2016-10-17 12:28:12
Device: Samsung GT-I9305
Rom: MIUI V5 4.6.20

Stack trace:
java.lang.RuntimeException: 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
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2100)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
at android.app.ActivityThread.access$600(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4898)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
at dalvik.system.NativeStart.main(Native Method)
Caused by: 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:2103)
at android.os.Parcel.readValue(Parcel.java:1965)
at android.os.Parcel.readMapInternal(Parcel.java:2226)
at android.os.Bundle.unparcel(Bundle.java:223)
at android.os.Bundle.getString(Bundle.java:1055)
at com.alorma.github.ui.activity.ContentEditorActivity.onCreate(ContentEditorActivity.java:133)
at android.app.Activity.performCreate(Activity.java:5184)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1083)
at com.lbe.security.service.core.client.internal.InstrumentationDelegate.callActivityOnCreate(InstrumentationDelegate.java:76)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2064)
... 11 more

alorma commented 8 years ago

Unable to reproduce

ghost commented 8 years ago

It have a custom rom. it can create problem?

alorma commented 8 years ago

Describe steps to reproduce

webmaster33 commented 8 years ago
alorma commented 8 years ago

Thanks

ghost commented 8 years ago

NOT CRASH FOR ME!

webmaster33 commented 8 years ago

I was able to reproduce this bug under MIUI v5 4.6.20 (Android v4.1.1).

alorma commented 8 years ago

Testing

ghost commented 8 years ago

see my old comment (20 minutes ago)

webmaster33 commented 8 years ago

Were you able to reproduce?

alorma commented 8 years ago

Yes, and now it's fixed

webmaster33 commented 8 years ago

Thank you very much! You are very quick developer!

lilicoding commented 7 years ago

Is there someone can explain to me, why the build date is 1979-11-30 00:00:00, which does not make sense, right?