Vungle fatal crashes in Production - "java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaPlayer.setVolume(..."

Yikes!  We moved them from our leading ad provider to the back but the crashes are still continuing, may just have to take them out of rotation entirely.  

Thanks for the heads up, SGS.  I’ll update this thread if I hear anything from them, but for now I’ll assume July 2nd is the best we’ll get.

Cheers,

Chris

Response from Vungle:

Hello,

Thank you for reporting your issue - these are known top-priority issues for our Android SDK and we are actively working to put out a hotfix soon.
Once the hotfix is released we will be sure to inform you.

  • Chris U.

“top-priority issues”  ?

I reported them some 2+ weeks ago and got told the fix would be 4 weeks plus.

Android SDK will come first… Corona plugin will come, sadly, last.

I really hope Corona can take ownership of the plugin!

Agreed!  

Another new type of fatal crash: 

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.firerabbit.games.fmc.mad.lite/com.vungle.warren.ui.VungleActivity}: java.lang.IllegalArgumentException: No advertisement for ID 5b36c9162e7bff1c8397e2c2 was found on disk!        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3151)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3261)        at android.app.ActivityThread.access$1000(ActivityThread.java:219)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1735)        at android.os.Handler.dispatchMessage(Handler.java:102)        at android.os.Looper.loop(Looper.java:145)        at android.app.ActivityThread.main(ActivityThread.java:6939)        at java.lang.reflect.Method.invoke(Method.java)        at java.lang.reflect.Method.invoke(Method.java:372)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

Details: http://crashes.to/s/0a5945ee12b

Cheers,

Chris

Some of my users as well as our test device also experiencing sporadic crashes with vungle reward ads either crashes after a few seconds into the ad or the ad window opens,no ad shows and it crashes.

We’re using corona 3381.

10-07 08:01:15.406: W/VideoView(8470): Unable to open content: file:///data/user/0/com.xxxxx.xxxx/cache/vungle/5bb95a659c95de512b836340/video

10-07 08:01:15.406: W/VideoView(8470): java.io.IOException: setDataSource failed.

10-07 08:01:15.406: W/VideoView(8470): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1271)

10-07 08:01:15.406: W/VideoView(8470): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1179)

10-07 08:01:15.406: W/VideoView(8470): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1116)

10-07 08:01:15.406: W/VideoView(8470): at android.widget.VideoView.openVideo(VideoView.java:371)

10-07 08:01:15.406: W/VideoView(8470): at android.widget.VideoView.access$2100(VideoView.java:71)

10-07 08:01:15.406: W/VideoView(8470): at android.widget.VideoView$7.surfaceCreated(VideoView.java:652)

10-07 08:01:15.406: W/VideoView(8470): at android.view.SurfaceView.updateWindow(SurfaceView.java:720)

10-07 08:01:15.406: W/VideoView(8470): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:215)

10-07 08:01:15.406: W/VideoView(8470): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:1014)

10-07 08:01:15.406: W/VideoView(8470): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2620)

10-07 08:01:15.406: W/VideoView(8470): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1544)

10-07 08:01:15.406: W/VideoView(8470): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7602)

10-07 08:01:15.406: W/VideoView(8470): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:911)

10-07 08:01:15.406: W/VideoView(8470): at android.view.Choreographer.doCallbacks(Choreographer.java:686)

10-07 08:01:15.406: W/VideoView(8470): at android.view.Choreographer.doFrame(Choreographer.java:622)

10-07 08:01:15.406: W/VideoView(8470): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:897)

10-07 08:01:15.406: W/VideoView(8470): at android.os.Handler.handleCallback(Handler.java:739)

10-07 08:01:15.406: W/VideoView(8470): at android.os.Handler.dispatchMessage(Handler.java:95)

10-07 08:01:15.406: W/VideoView(8470): at android.os.Looper.loop(Looper.java:148)

10-07 08:01:15.406: W/VideoView(8470): at android.app.ActivityThread.main(ActivityThread.java:7331)

10-07 08:01:15.406: W/VideoView(8470): at java.lang.reflect.Method.invoke(Native Method)

10-07 08:01:15.406: W/VideoView(8470): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)

10-07 08:01:15.406: W/VideoView(8470): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Vungle mentioned that the issues arise from ads that are cached but for some reason don’t load/play properly. In their latest plugin they say that they have opened up the clearcache function api. Not sure if that is already available through corona sdk?