【bug反馈】自动补全导致应用崩溃

在字符串中输入点会导致应用崩溃。。。可能是代码补全出了点问题
Version: 248
Android: 26
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.stardust.scriptdroid.model.autocomplete.DictionaryTree.searchByPrefill(DictionaryTree.java:54)
at com.stardust.scriptdroid.model.autocomplete.AutoCompletion.findCodeCompletionForGlobal(AutoCompletion.java:123)
at com.stardust.scriptdroid.model.autocomplete.AutoCompletion.findCodeCompletion(AutoCompletion.java:107)
at com.stardust.scriptdroid.model.autocomplete.AutoCompletion.onCursorChange(AutoCompletion.java:73)
at com.stardust.scriptdroid.ui.edit.EditorView.autoComplete(EditorView.java:242)
at com.stardust.scriptdroid.ui.edit.EditorView.lambda$setUpEditor$0$EditorView(EditorView.java:235)
at com.stardust.scriptdroid.ui.edit.EditorView$$Lambda$1.onKeyUp(Unknown Source:2)
at com.stardust.scriptdroid.ui.edit.CodeMirrorEditor$JavaScriptBridge.lambda$onKeyUp$0$CodeMirrorEditor$JavaScriptBridge(CodeMirrorEditor.java:446)
at com.stardust.scriptdroid.ui.edit.CodeMirrorEditor$JavaScriptBridge$$Lambda$0.run(Unknown Source:6)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6809)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)

开发者

@zsb514【bug反馈】自动补全导致应用崩溃 中说:

findCodeCompletionForGlobal

使用3.0.0 Beta3即可

@admin 在哪里下载?github只有3.0.0版本

  • 4
    帖子
  • 275
    浏览

与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待