Hi,
My app crashed and when I was inspecting the logs, I found Sponsorpay to be the culprit.
This is the log
01-13 14:48:59.431: E/AndroidRuntime(22184): FATAL EXCEPTION: main 01-13 14:48:59.431: E/AndroidRuntime(22184): java.lang.IllegalArgumentException: illegal type 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.naef.jnlua.LuaState.lua\_setfield(Native Method) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.naef.jnlua.LuaState.setField(Unknown Source) 01-13 14:48:59.431: E/AndroidRuntime(22184): at plugin.sponsorpay.listeners.SPVCSListener.onSPCurrencyDeltaReceived(SPVCSListener.java:50) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.sponsorpay.sdk.android.publisher.currency.CurrencyServerDeltaOfCoinsResponse.onSuccessfulResponseParsed(CurrencyServerDeltaOfCoinsResponse.java:78) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.sponsorpay.sdk.android.publisher.AbstractResponse.parseAndCallListener(AbstractResponse.java:188) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.sponsorpay.sdk.android.publisher.currency.VirtualCurrencyConnector.onAsyncRequestComplete(VirtualCurrencyConnector.java:153) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.sponsorpay.sdk.android.publisher.AsyncRequest.onPostExecute(AsyncRequest.java:195) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.sponsorpay.sdk.android.publisher.AsyncRequest.onPostExecute(AsyncRequest.java:1) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.os.AsyncTask.finish(AsyncTask.java:631) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.os.AsyncTask.access$600(AsyncTask.java:177) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.os.Handler.dispatchMessage(Handler.java:99) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.os.Looper.loop(Looper.java:137) 01-13 14:48:59.431: E/AndroidRuntime(22184): at android.app.ActivityThread.main(ActivityThread.java:4895) 01-13 14:48:59.431: E/AndroidRuntime(22184): at java.lang.reflect.Method.invokeNative(Native Method) 01-13 14:48:59.431: E/AndroidRuntime(22184): at java.lang.reflect.Method.invoke(Method.java:511) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:994) 01-13 14:48:59.431: E/AndroidRuntime(22184): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:761) 01-13 14:48:59.431: E/AndroidRuntime(22184): at dalvik.system.NativeStart.main(Native Method) 01-13 14:48:59.509: E/android.os.Debug(363): !@Dumpstate \> dumpstate -k -t -z -d -o /data/log/dumpstate\_app\_error 01-13 14:48:59.525: I/ApplicationUsage(363): handleMessage : MSG\_UPDATE\_USAGE\_DB 01-13 14:48:59.525: I/ApplicationUsage(363): Updating Usage Statistics in DB @ 1389604739531 01-13 14:48:59.556: I/dumpstate(22372): begin 01-13 14:48:59.954: E/Watchdog(363): !@Sync 3960 01-13 14:48:59.994: V/AlarmManager(363): waitForAlarm result :8
Says something about illegal arguments… but I can’t think of what that would be…
Anybody?