AdColony fatal crashes in Production - "java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object)' on a null object..."

Hi folks.

 

I’m getting fatal crashes across our whole portfolio of games using the AdColony plugin.  This is currently confirmed on Android only but may be affecting our iOS games as well.  It’s happening across 15 different games, all built on 3318.  Built on June 23.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.util.HashMap.get(java.lang.Object)' on a null object reference        at plugin.adcolony.LuaLoader$CoronaAdColonyInterstitialListener.onRequestFilled(LuaLoader.java:1044)        at com.adcolony.sdk.d$24.run(SourceFile:529)        at android.os.Handler.handleCallback(Handler.java:815)        at android.os.Handler.dispatchMessage(Handler.java:104)        at android.os.Looper.loop(Looper.java:194)        at android.app.ActivityThread.main(ActivityThread.java:5624)        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:959)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

Here’s the full crash details including stack trace: http://crashes.to/s/637e1bc4458

 

Can we please have this resolved?  It burns to have a “premium” plugin we pay for cause our crash rates to spike in Production, which hurts our downloads/revenue.  Please let me know if you need any other information.

 

Thanks,

Chris

This also seems related to AdColony:

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.firerabbit.games.fmc.junk.lite/com.ansca.corona.CoronaActivity}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@153ce0f rejected from java.util.concurrent.ThreadPoolExecutor@8117e9c[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 36]        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4179)        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4219)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1944)        at android.os.Handler.dispatchMessage(Handler.java:108)        at android.os.Looper.loop(Looper.java:166)        at android.app.ActivityThread.main(ActivityThread.java:7425)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Caused by java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@153ce0f rejected from java.util.concurrent.ThreadPoolExecutor@8117e9c[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 36]        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2078)        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:843)        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1389)        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)        at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:630)        at com.adcolony.sdk.ac.a(SourceFile:144)        at com.adcolony.sdk.ao.a(SourceFile:197)        at com.adcolony.sdk.l$11.onActivityResumed(SourceFile:1009)        at android.app.Application.dispatchActivityResumed(Application.java:222)        at android.app.Activity.onResume(Activity.java:1415)        at com.ansca.corona.CoronaActivity.onResume(CoronaActivity.java:1763)        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1364)        at android.app.Activity.performResume(Activity.java:7479)        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4147)        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4219)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1944)        at android.os.Handler.dispatchMessage(Handler.java:108)        at android.os.Looper.loop(Looper.java:166)        at android.app.ActivityThread.main(ActivityThread.java:7425)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Full details here: http://crashes.to/s/d4fb61710fc

Thanks,

Chris

Corona?

I’ve pinged Engineering.

Rob

Thank you, Rob.

Cheers,

Chris

Hi there, guys!

Finally, we’ve got something to say about AdColony plugin issue. It was really hard to reproduce and required both AdColony and Corona teams to update their sources for a fix. But now updated version of Corona AdColony plugin is public!

Any feedback will be highly appreciated, it was a really hard bug to come by and reproduce.

This also seems related to AdColony:

Fatal Exception: java.lang.RuntimeException: Unable to resume activity {com.firerabbit.games.fmc.junk.lite/com.ansca.corona.CoronaActivity}: java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@153ce0f rejected from java.util.concurrent.ThreadPoolExecutor@8117e9c[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 36]        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4179)        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4219)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1944)        at android.os.Handler.dispatchMessage(Handler.java:108)        at android.os.Looper.loop(Looper.java:166)        at android.app.ActivityThread.main(ActivityThread.java:7425)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Caused by java.util.concurrent.RejectedExecutionException: Task java.util.concurrent.FutureTask@153ce0f rejected from java.util.concurrent.ThreadPoolExecutor@8117e9c[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 36]        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2078)        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:843)        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1389)        at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)        at java.util.concurrent.Executors$DelegatedExecutorService.submit(Executors.java:630)        at com.adcolony.sdk.ac.a(SourceFile:144)        at com.adcolony.sdk.ao.a(SourceFile:197)        at com.adcolony.sdk.l$11.onActivityResumed(SourceFile:1009)        at android.app.Application.dispatchActivityResumed(Application.java:222)        at android.app.Activity.onResume(Activity.java:1415)        at com.ansca.corona.CoronaActivity.onResume(CoronaActivity.java:1763)        at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1364)        at android.app.Activity.performResume(Activity.java:7479)        at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4147)        at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4219)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1944)        at android.os.Handler.dispatchMessage(Handler.java:108)        at android.os.Looper.loop(Looper.java:166)        at android.app.ActivityThread.main(ActivityThread.java:7425)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)

Full details here: http://crashes.to/s/d4fb61710fc

Thanks,

Chris

Corona?

I’ve pinged Engineering.

Rob

Thank you, Rob.

Cheers,

Chris

Hi there, guys!

Finally, we’ve got something to say about AdColony plugin issue. It was really hard to reproduce and required both AdColony and Corona teams to update their sources for a fix. But now updated version of Corona AdColony plugin is public!

Any feedback will be highly appreciated, it was a really hard bug to come by and reproduce.