We are trying to use Chartboost to show rewarded videos and interstitials.
On Android 6, every other session, there is a crash that keeps reoccurring.
The crash seems to be triggered by loading a video.
From looking at the logs, it looks like 2 different errors occur:
1. adsRequestadsRequest:189: attempt toindex a number value
2. IllegalArgumentException: illegal type
The device logs are:
10-13 15:13:20.782 5990 10268 I Corona : ERROR: Runtime error 10-13 15:13:20.782 5990 10268 I Corona : adsRequestadsRequest:189: attempt toindex a number value 10-13 15:13:20.782 5990 10268 I Corona : stack traceback: 10-13 15:13:20.782 5990 10268 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/subrepos/timer/timer.lua:189: in function 'method' 10-13 15:13:20.782 5990 10268 I Corona : /Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:198: in function \</Users/jenkins/slaveroot/workspace/Templates/label/android/platform/resources/init.lua:169\> 10-13 15:13:20.782 5990 5990 W System.err: java.lang.IllegalArgumentException: illegal type 10-13 15:13:20.782 5990 5990 W System.err: at com.naef.jnlua.LuaState.lua\_setfield(Native Method) 10-13 15:13:20.782 5990 5990 W System.err: at com.naef.jnlua.LuaState.setField(Unknown Source) 10-13 15:13:20.782 5990 5990 W System.err: at com.ansca.corona.CoronaLua.newEvent(CoronaLua.java:101) 10-13 15:13:20.782 5990 5990 W System.err: at plugin.chartboost.LuaLoader$3.run(LuaLoader.java:342) 10-13 15:13:20.782 5990 5990 W System.err: at android.app.Activity.runOnUiThread(Activity.java:5524) 10-13 15:13:20.782 5990 5990 W System.err: at plugin.chartboost.LuaLoader.dispatchLuaEvent(LuaLoader.java:373) 10-13 15:13:20.782 5990 5990 W System.err: at plugin.chartboost.LuaLoader.access$1400(LuaLoader.java:49) 10-13 15:13:20.783 5990 5990 W System.err: at plugin.chartboost.LuaLoader$CoronaChartboostDelegate.didFailToLoadInterstitial(LuaLoader.java:1245) 10-13 15:13:20.783 5990 5990 W System.err: at com.chartboost.sdk.impl.b$1.a(SourceFile:192) 10-13 15:13:20.783 5990 5990 W System.err: at com.chartboost.sdk.e$2.run(SourceFile:207) 10-13 15:13:20.783 5990 5990 W System.err: at android.os.Handler.handleCallback(Handler.java:739) 10-13 15:13:20.783 5990 5990 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95) 10-13 15:13:20.783 5990 5990 W System.err: at android.os.Looper.loop(Looper.java:148) 10-13 15:13:20.783 5990 5990 W System.err: at android.app.ActivityThread.main(ActivityThread.java:5417) 10-13 15:13:20.783 5990 5990 W System.err: at java.lang.reflect.Method.invoke(Native Method) 10-13 15:13:20.783 5990 5990 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 10-13 15:13:20.783 5990 5990 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)