Get several Android crash reports with recent Corona build (com.ansca.corona.CoronaWebView.destroy)

Today I published my app with a new Corona build (build 2223) and started to get several Android crash reports for the same call stack:

java.lang.NullPointerException at com.ansca.corona.CoronaWebView.destroy(CoronaWebView.java:136) at com.ansca.corona.ViewManager$14.run(ViewManager.java:633) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5289) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555) at dalvik.system.NativeStart.main(Native Method)

Corona, 

Could you check if you made any modification in related module (webView probably) in recent Corona builds?

It’s hard to reproduce it, please try to fix it from the callstack info above. 

Please let me know if you fix it. I want to re-publish my app.

The crash keeps happening and the crash reports keep coming in

Corona, here is some variation that may provide further help to identify the problem.

java.lang.NullPointerException: Attempt to invoke virtual method 'com.ansca.corona.events.EventManager com.ansca.corona.Controller.getEventManager()' on a null object reference at com.ansca.corona.CoronaWebView.destroy(CoronaWebView.java:136) at com.ansca.corona.ViewManager$14.run(ViewManager.java:633) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

I think I better revert back to use previous version of Corona

the crash reports coming in like crazy

This MIGHT be fixed in build 2225.  We don’t know for sure since we don’t have a reproducible case.   If it isn’t fixed then please provide a bug report with a project which causes the crash.

This is obviously a regression bug, which should be avoided in coding level. You can’t rely on the users to find out/reproduce the bug for you.

Besides, it’s not my obligation to try out your latest build while it can’t offer the basic stability. I got all the blames from the end users when I publish an app that crashes. Corona should be more wary when making changes to the source code.

The crash keeps happening and the crash reports keep coming in

Corona, here is some variation that may provide further help to identify the problem.

java.lang.NullPointerException: Attempt to invoke virtual method 'com.ansca.corona.events.EventManager com.ansca.corona.Controller.getEventManager()' on a null object reference at com.ansca.corona.CoronaWebView.destroy(CoronaWebView.java:136) at com.ansca.corona.ViewManager$14.run(ViewManager.java:633) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

I think I better revert back to use previous version of Corona

the crash reports coming in like crazy

This MIGHT be fixed in build 2225.  We don’t know for sure since we don’t have a reproducible case.   If it isn’t fixed then please provide a bug report with a project which causes the crash.

This is obviously a regression bug, which should be avoided in coding level. You can’t rely on the users to find out/reproduce the bug for you.

Besides, it’s not my obligation to try out your latest build while it can’t offer the basic stability. I got all the blames from the end users when I publish an app that crashes. Corona should be more wary when making changes to the source code.