cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkat-TTapp <...@git.apache.org>
Subject [GitHub] cordova-plugin-media issue #122: CB-12157: (android): Fix java.lang.NullPoin...
Date Wed, 18 Jan 2017 10:17:57 GMT
Github user Venkat-TTapp commented on the issue:

    https://github.com/apache/cordova-plugin-media/pull/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
    
    
    



---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message