cordova-plugin-ionic-keyboard
cordova-plugin-ionic-keyboard copied to clipboard
Nullpointer: io.ionic.keyboard.CDVIonicKeyboard.onDestroy
I just received the following Crash Report from AppCenter:
io.ionic.keyboard.CDVIonicKeyboard.onDestroy
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewTreeObserver android.view.View.getViewTreeObserver()' on a null object reference
io.ionic.keyboard.CDVIonicKeyboard.onDestroy CDVIonicKeyboard.java:162
org.apache.cordova.PluginManager.onDestroy PluginManager.java:297
org.apache.cordova.CordovaWebViewImpl.handleDestroy CordovaWebViewImpl.java:502
org.apache.cordova.CordovaActivity.onDestroy CordovaActivity.java:317
android.app.Activity.performDestroy Activity.java:8330
android.app.Instrumentation.callActivityOnDestroy Instrumentation.java:1348
android.app.ActivityThread.performDestroyActivity ActivityThread.java:5530
android.app.ActivityThread.handleDestroyActivity ActivityThread.java:5575
android.app.servertransaction.DestroyActivityItem.execute DestroyActivityItem.java:44
android.app.servertransaction.TransactionExecutor.executeLifecycleState TransactionExecutor.java:190
android.app.servertransaction.TransactionExecutor.execute TransactionExecutor.java:105
android.app.ActivityThread$H.handleMessage ActivityThread.java:2373
android.os.Handler.dispatchMessage Handler.java:107
android.os.Looper.loop Looper.java:213
android.app.ActivityThread.main ActivityThread.java:8147
java.lang.reflect.Method.invoke Method.java
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run RuntimeInit.java:513
com.android.internal.os.ZygoteInit.main ZygoteInit.java:1101
That's happening for the first time in 6 month, so doesn't seem to be a huge problem, but i think you should know about that one. I can not reproduce that myself, as this seems to be a rare problem
Device: P30 Pro (Android 10)