Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android 10 crash onfocus #16

Open
daniponsg1991 opened this issue Feb 26, 2020 · 0 comments
Open

Android 10 crash onfocus #16

daniponsg1991 opened this issue Feb 26, 2020 · 0 comments

Comments

@daniponsg1991
Copy link

Dear ks32,

We have upgraded a device to Android 10 and we have noticed that the application crashes when we focus over input-box, textarea, etc.

With other Android versions the application works perfectly.

The exception is:

02-24 11:47:32.109 12906 12906 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.view.WindowManager$LayoutParams android.view.ViewRootImpl.mWindowAttributes' on a null object reference
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1625)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:1864)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.view.inputmethod.InputMethodManager.isActive(InputMethodManager.java:1183)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at org.chromium.content.browser.input.InputMethodManagerWrapper.isActive(InputMethodManagerWrapper.java:65)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at org.chromium.content.browser.input.ThreadedInputConnectionFactory$1.run(ThreadedInputConnectionFactory.java:179)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:883)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:100)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7403)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
02-24 11:47:32.109 12906 12906 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)

It seems that the issue is related with the keyboard show process.

Do you have any idea about this issue?

Thanks in advanced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant