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

运行报错,6.5.0版本正常 #277

Open
wingswing1 opened this issue Dec 11, 2024 · 0 comments
Open

运行报错,6.5.0版本正常 #277

wingswing1 opened this issue Dec 11, 2024 · 0 comments
Labels
Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs

Comments

@wingswing1
Copy link

日志如下:

08:43:46.507/V: 开始运行 [$cwd/签到/小米社区.js].
08:43:54.373/W: method org.autojs.autojs.core.accessibility.UiSelector.id argument 1 has type java.lang.String, got org.mozilla.javascript.ConsString
java.lang.IllegalArgumentException: method org.autojs.autojs.core.accessibility.UiSelector.id argument 1 has type java.lang.String, got org.mozilla.javascript.ConsString
at java.lang.reflect.Method.invoke(Native Method)
at org.autojs.autojs.runtime.api.augment.selector.Selector.lambda$9$lambda$8$lambda$7(Selector.kt:75)
at org.autojs.autojs.runtime.api.augment.selector.Selector$$ExternalSyntheticLambda3.invoke(D8$$SyntheticClass:0)
at org.autojs.autojs.util.RhinoUtils$InternalBaseFunction.callFunc$app_appRelease(RhinoUtils.kt:827)
at org.autojs.autojs.util.RhinoUtils$newBaseFunction$5.call(RhinoUtils.kt:229)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1896)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1078)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:87)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:383)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3960)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:100)
at org.autojs.autojs.engine.RhinoJavaScriptEngine.doExecution(RhinoJavaScriptEngine.kt:79)
at org.autojs.autojs.engine.JavaScriptEngine.execute(JavaScriptEngine.java:31)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.access$001(LoopBasedJavaScriptEngine.java:22)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.lambda$execute$0(LoopBasedJavaScriptEngine.java:48)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.$r8$lambda$IgwgXtNrRE1xIqt1oTLB-pP1xwE(Unknown Source:0)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:72)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:41)
at org.autojs.autojs.execution.LoopedBasedJavaScriptExecution.doExecution(LoopedBasedJavaScriptExecution.java:46)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:39)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:33)
at org.autojs.autojs.execution.RunnableScriptExecution.run(RunnableScriptExecution.java:27)
at java.lang.Thread.run(Thread.java:1012)

08:43:54.374/W: method: id, arguments: [com.xiaomi.vipaccount:id/content_view]
08:43:54.379/E: method org.autojs.autojs.core.accessibility.UiSelector.id argument 1 has type java.lang.String, got org.mozilla.javascript.ConsString
java.lang.IllegalArgumentException: method org.autojs.autojs.core.accessibility.UiSelector.id argument 1 has type java.lang.String, got org.mozilla.javascript.ConsString
at java.lang.reflect.Method.invoke(Native Method)
at org.autojs.autojs.runtime.api.augment.selector.Selector.lambda$9$lambda$8$lambda$7(Selector.kt:75)
at org.autojs.autojs.runtime.api.augment.selector.Selector$$ExternalSyntheticLambda3.invoke(D8$$SyntheticClass:0)
at org.autojs.autojs.util.RhinoUtils$InternalBaseFunction.callFunc$app_appRelease(RhinoUtils.kt:827)
at org.autojs.autojs.util.RhinoUtils$newBaseFunction$5.call(RhinoUtils.kt:229)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1896)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1078)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:87)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:383)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3960)
at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:100)
at org.autojs.autojs.engine.RhinoJavaScriptEngine.doExecution(RhinoJavaScriptEngine.kt:79)
at org.autojs.autojs.engine.JavaScriptEngine.execute(JavaScriptEngine.java:31)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.access$001(LoopBasedJavaScriptEngine.java:22)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.lambda$execute$0(LoopBasedJavaScriptEngine.java:48)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.$r8$lambda$IgwgXtNrRE1xIqt1oTLB-pP1xwE(Unknown Source:0)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:72)
at org.autojs.autojs.engine.LoopBasedJavaScriptEngine.execute(LoopBasedJavaScriptEngine.java:41)
at org.autojs.autojs.execution.LoopedBasedJavaScriptExecution.doExecution(LoopedBasedJavaScriptExecution.java:46)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:39)
at org.autojs.autojs.execution.RunnableScriptExecution.execute(RunnableScriptExecution.java:33)
at org.autojs.autojs.execution.RunnableScriptExecution.run(RunnableScriptExecution.java:27)
at java.lang.Thread.run(Thread.java:1012)

08:43:54.381/V: [$cwd/签到/小米社区.js] 运行结束 (用时 7.872 秒)

@SuperMonster003 SuperMonster003 added Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted 🌱 受理 Maintainer may be busy resolving or fixing the labeled issues Bug 🐞 故障 Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

2 participants