coomar2841 / android-multipicker-library

Android Multipicker Library
Apache License 2.0
438 stars 107 forks source link

Error: android.os.BadParcelableException: ClassNotFoundException when unmarshalling #168

Open axitasavani opened 5 years ago

axitasavani commented 5 years ago

I have to get this error in Crashlytics : Information : VideoPickerImpl.java line 171 com.kbeanie.multipicker.core.VideoPickerImpl.handleGalleryData Details : Fatal Exception: java.lang.RuntimeException Failure delivering result ResultInfo{who=null, request=70869, result=-1, data=Intent { dat=/storage/emulated/0/Download/Lirico En La Casa - Marianela.mp3 (has extras) }} to activity {com.example.myapplication/com.ui.activity.NEWMainActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.videoeditor.function.music.SongInfo

Fatal Exception: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=70869, result=-1, data=Intent { dat=/storage/emulated/0/Download/Lirico En La Casa - Marianela.mp3 (has extras) }} to activity {com.videomaker.postermaker/com.ui.activity.NEWBusinessCardMainActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.videoeditor.function.music.SongInfo
       at android.app.ActivityThread.deliverResults(ActivityThread.java:3641)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:3684)
       at android.app.ActivityThread.access$1300(ActivityThread.java:166)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1331)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:136)
       at android.app.ActivityThread.main(ActivityThread.java:5584)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:515)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
       at dalvik.system.NativeStart.main(NativeStart.java)

Caused by android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.videoeditor.function.music.SongInfo
       at android.os.Parcel.readParcelableCreator(Parcel.java:2154)
       at android.os.Parcel.readParcelable(Parcel.java:2104)
       at android.os.Parcel.readValue(Parcel.java:2020)
       at android.os.Parcel.readArrayMapInternal(Parcel.java:2321)
       at android.os.Bundle.unparcel(Bundle.java:249)
       at android.os.Bundle.containsKey(Bundle.java:299)
       at android.content.Intent.hasExtra(Intent.java:4874)
       at com.kbeanie.multipicker.core.VideoPickerImpl.handleGalleryData(VideoPickerImpl.java:171)
       at com.kbeanie.multipicker.core.VideoPickerImpl.submit(VideoPickerImpl.java:132)
       at com.ui.fragment.HomeAudioVideoToolsFragment.onActivityResult(HomeAudioVideoToolsFragment.java:1043)
       at android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:160)
       at android.app.Activity.dispatchActivityResult(Activity.java:5639)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:3637)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:3684)
       at android.app.ActivityThread.access$1300(ActivityThread.java:166)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1331)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:136)
       at android.app.ActivityThread.main(ActivityThread.java:5584)
       at java.lang.reflect.Method.invokeNative(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:515)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
       at dalvik.system.NativeStart.main(NativeStart.java)

I really don't know how to reproduce this issue and how to solve this issue. -> I have found a similar issue in youe issues list but errorDetails are not the same and also its open issue, So again I would be assigned this issue. -> Issue No: #128

Android Os: 4.4.4, 7.1.1, 7.1.2 Android Device name: Samsung, Motorola, Vivo

please give me a proper solution.