Github user frankkoenigstein commented on the issue:
https://github.com/apache/cordova-plugin-media/pull/122
Hi, that looks quite familiar.
I think this is the right place.
Regards,
Frank
-------------------------------------------------------
Frank K�nigstein
dff solutions GmbH
Berliner Stra�e 12
D - 37073 G�ttingen
Telefon + 49 (0) 551 900 37 98
Telefax + 49 (0) 551 900 37 99
www.dff-solutions.de
dff solutions GmbH
Firmensitz: Berliner Str. 12, 37073 G�ttingen
Registergericht: Amtsgericht G�ttingen, HRB 3109
Gesch�ftsf�hrer: Felix Dossmann, Dr. Ralf Itter
________________________________________
From: Venkat-TTapp <[email protected]>
Sent: Wednesday, January 18, 2017 11:17:57 AM
To: apache/cordova-plugin-media
Cc: K�nigstein, Frank; Author
Subject: Re: [apache/cordova-plugin-media] CB-12157: (android): Fix
java.lang.NullPointerException on resumeAllGainedFocus (#122)
Hi,
Please let me know if this is not the right place to report this bug/issue.
My app crashed 6 times when user return to back to content from Admob video
ads. This happens only with video ads.
Below is the code from firebase:
NullPointerException - AudioPlayer.readyPlayer
Exception java.lang.NullPointerException:
org.apache.cordova.media.AudioPlayer.readyPlayer (AudioPlayer.java:583)
org.apache.cordova.media.AudioPlayer.startPlaying (AudioPlayer.java:299)
org.apache.cordova.media.AudioHandler.resumeAllGainedFocus
(AudioHandler.java:414)
org.apache.cordova.media.AudioHandler$1.onAudioFocusChange
(AudioHandler.java:431)
android.media.AudioManager$FocusEventHandlerDelegate$1.handleMessage
(AudioManager.java:1984)
android.os.Handler.dispatchMessage (Handler.java:110)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:5333)
java.lang.reflect.Method.invokeNative (Method.java)
java.lang.reflect.Method.invoke (Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:824)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:640)
dalvik.system.NativeStart.main (NativeStart.java)
________________________________
Similar error:
NullPointerException - String.compareTo
Exception java.lang.NullPointerException: rhs == null
java.lang.String.compareTo (String.java)
org.apache.cordova.media.AudioPlayer.readyPlayer (AudioPlayer.java:583)
org.apache.cordova.media.AudioPlayer.startPlaying (AudioPlayer.java:299)
org.apache.cordova.media.AudioHandler.resumeAllGainedFocus
(AudioHandler.java:414)
org.apache.cordova.media.AudioHandler$1.onAudioFocusChange
(AudioHandler.java:431)
android.media.AudioManager$FocusEventHandlerDelegate$1.handleMessage
(AudioManager.java:2228)
android.os.Handler.dispatchMessage (Handler.java:111)
android.os.Looper.loop (Looper.java:207)
android.app.ActivityThread.main (ActivityThread.java:5776)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:789)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:679)
If you need further information please let me know.
Regards,
Venkat
�
You are receiving this because you authored the thread.
Reply to this email directly, view it on
GitHub<https://github.com/apache/cordova-plugin-media/pull/122#issuecomment-273437311>,
or mute the
thread<https://github.com/notifications/unsubscribe-auth/AGy0Pe2TanMhOpdNIBShO1eaj7HbCGQDks5rTebVgaJpZM4K1Cvx>.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]