This issue happens on Android device only, it works fine in simulators and on ios devices. I am doing a network call and my server is replying with http error 401. on the android device, there is a low-level java exception and it is not bubbled up so I cannot do anything about it. does anyone have a workaround for this? I need to get the error to respond to it, as I am able to in the other cases I mentioned.
I/System.out(28802): ERROR: Received authentication challenge is null
W/System.err(28802): com.naef.jnlua.LuaRuntimeException: ?:0: attempt to concatenate field ‘response’ (a nil value)
W/System.err(28802): at com.naef.jnlua.LuaState.lua_pcall(Native Method)
W/System.err(28802): at com.naef.jnlua.LuaState.call(Unknown Source)
W/System.err(28802): at com.ansca.corona.CoronaLua.dispatchEvent(CoronaLua.java:90)
W/System.err(28802): at network.NetworkRequest$LuaCallback$1.executeUsing(NetworkRequest.java:598)
W/System.err(28802): at com.ansca.corona.CoronaRuntimeTaskDispatcher$TaskEvent.Send(CoronaRuntimeTaskDispatcher.java:153)
W/System.err(28802): at com.ansca.corona.events.EventManager.sendEvents(EventManager.java:229)
W/System.err(28802): at com.ansca.corona.Controller.updateRuntimeState(Controller.java:223)
W/System.err(28802): at com.ansca.corona.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame(CoronaGLSurfaceView.java:399)
W/System.err(28802): at com.ansca.corona.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1622)
W/System.err(28802): at com.ansca.corona.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1377)