Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
481 views
in Technique[技术] by (71.8m points)

android - 尝试调用虚拟方法'void android.widget.Editor $ InsertionPointCursorController.hide()'(Attempt to invoke virtual method 'void android.widget.Editor$InsertionPointCursorController.hide()')

This error seems to be happening only on Samsung phones.

(此错误似乎仅在三星手机上发生。)

I looked on the Internet and I didn't find a practical solution

(我看了一下互联网,却没有找到实际的解决方案)

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Editor$InsertionPointCursorController.hide()' on a null object reference
   at android.widget.Editor.stopTextActionMode(Editor.java:2687)
   at android.widget.Editor.prepareCursorControllers(Editor.java:822)
   at android.widget.TextView.nullLayouts(TextView.java:9157)
   at android.widget.TextView.checkForRelayout(TextView.java:10105)
   at android.widget.TextView.setHintInternal(TextView.java:6538)
   at android.widget.TextView.setHint(TextView.java:6527)
   at com.google.android.material.textfield.TextInputLayout.dispatchProvideAutofillStructure(TextInputLayout.java:5)
   at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3774)
   at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3774)
   at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3774)
   at android.view.ViewGroup.dispatchProvideAutofillStructure(ViewGroup.java:3774)
   at android.app.assist.AssistStructure$WindowNode.<init>(AssistStructure.java:517)
   at android.app.assist.AssistStructure.<init>(AssistStructure.java:2047)
   at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:3387)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1906)
   at android.os.Handler.dispatchMessage(Handler.java:106)
   at android.os.Looper.loop(Looper.java:214)
   at android.app.ActivityThread.main(ActivityThread.java:7073)
   at java.lang.reflect.Method.invoke(Method.java)
   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:974)

Thank you for your help

(谢谢您的帮助)

  ask by Ayoub GHAFFOUR translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...