Crash with ads
Lithioq
Member, PRO Posts: 16
in Tech Support
I use mobclix ads on my android game. After backing out of the game and reloading it, the game crashes when I change scenes. If I take out the ads, it runs fine. Here is error report:
java.lang.NullPointerException
at com.gamesalad.player.mobclix.MobclixBannerAdProvider.cleanupBanner(MobclixBannerAdProvider.java:40)
at com.gamesalad.common.plugins.BannerAdManager$2.run(BannerAdManager.java:67)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5493)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:795)
at dalvik.system.NativeStart.main(Native Method)
I know it was mentioned that it was fixed in update but its still happening. I'd appreciate your response. Thanks.
java.lang.NullPointerException
at com.gamesalad.player.mobclix.MobclixBannerAdProvider.cleanupBanner(MobclixBannerAdProvider.java:40)
at com.gamesalad.common.plugins.BannerAdManager$2.run(BannerAdManager.java:67)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:155)
at android.app.ActivityThread.main(ActivityThread.java:5493)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:795)
at dalvik.system.NativeStart.main(Native Method)
I know it was mentioned that it was fixed in update but its still happening. I'd appreciate your response. Thanks.
Comments
1. download the latest version of the gamesalad creator
2. save and publish your game after installing the latest version and create the apk again.
That should fix the bug!