Hello,
For some of my devices when I start a download I get the following crash log
I can’t investigate more than that because the source code is obfuscated.
I got this crash on Galaxy Tab S6 Lite and Galaxy S20 FE
Adding more infos:
I’m using bitmovin version: 3.67.0
and my app is targetting targetSdkVersion = 34
and
compileSdkVersion = 34
Fatal Exception: java.lang.RuntimeException: Unable to start service com.bitmovin.player.offline.service.BitmovinDownloadService@3f124b0 with Intent { act=com.google.android.exoplayer.downloadService.action.ADD_DOWNLOADS cmp=com.my.package/com.bitmovin.player.offline.service.BitmovinDownloadService (has extras) }: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5276)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2457)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8810)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Class.isInterface()' on a null object reference
at java.lang.Class.isAssignableFrom(Class.java:824)
at android.os.Parcel.readParcelableCreatorInternal(Parcel.java:4865)
at android.os.Parcel.readParcelableInternal(Parcel.java:4778)
at android.os.Parcel.readValue(Parcel.java:4544)
at android.os.Parcel.readValue(Parcel.java:4324)
at android.os.Parcel.readListInternal(Parcel.java:5288)
at android.os.Parcel.readArrayListInternal(Parcel.java:5307)
at android.os.Parcel.readValue(Parcel.java:4574)
at android.os.Parcel.readValue(Parcel.java:4324)
at android.os.Parcel.-$$Nest$mreadValue()
at android.os.Parcel$LazyValue.apply(Parcel.java:4422)
at android.os.Parcel$LazyValue.apply(Parcel.java:4381)
at android.os.BaseBundle.getValueAt(BaseBundle.java:394)
at android.os.BaseBundle.getValue(BaseBundle.java:374)
at android.os.BaseBundle.getArrayList(BaseBundle.java:1486)
at android.os.Bundle.getParcelableArrayList(Bundle.java:1070)
at android.content.Intent.getParcelableArrayListExtra(Intent.java:9638)
at com.bitmovin.player.offline.service.b.b(SourceFile:14)
at com.bitmovin.player.offline.service.b.onStartCommand(SourceFile:88)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:5258)
at android.app.ActivityThread.-$$Nest$mhandleServiceArgs()
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2457)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8810)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)