Comments (6)
又遇到这个错误了
16:15:18 NullPointerExceptionError: -32001 Jsonrpc error: <java.lang.NullPointerException> data: java.lang.NullPointerException: Attempt to invoke virtual method 'android.graphics.Rect android.support.test.uiautomator.UiObject2.getVisibleBounds()' on a null object reference
16:15:18 at com.github.uiautomator.stub.ObjInfo.<init>(ObjInfo.java:67)
16:15:18 at com.github.uiautomator.stub.ObjInfo.getObjInfo(ObjInfo.java:44)
16:15:18 at com.github.uiautomator.stub.AutomatorServiceImpl.objInfo(AutomatorServiceImpl.java:771)
16:15:18 at java.lang.reflect.Method.invoke(Native Method)
16:15:18 at java.lang.reflect.Method.invoke(Method.java:372)
16:15:18 at com.googlecode.jsonrpc4j.JsonRpcBasicServer.invoke(JsonRpcBasicServer.java:467)
16:15:18 at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleObject(JsonRpcBasicServer.java:352)
16:15:18 at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleJsonNodeRequest(JsonRpcBasicServer.java:283)
16:15:18 at com.googlecode.jsonrpc4j.JsonRpcBasicServer.handleRequest(JsonRpcBasicServer.java:251)
16:15:18 at com.github.uiautomator.stub.AutomatorHttpServer.serve(AutomatorHttpServer.java:100)
16:15:18 at fi.iki.elonen.NanoHTTPD.serve(NanoHTTPD.java:2244)
16:15:18 at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:945)
16:15:18 at fi.iki.elonen.NanoHTTPD$ClientHandler.run(NanoHTTPD.java:192)
16:15:18 at java.lang.Thread.run(Thread.java:831)
16:15:18 , method: objInfo
from android-uiautomator-server.
这两个不是同一个问题,getObjInfo 我修了: 3fe99c1
from android-uiautomator-server.
看起来貌似就是这个问题
from android-uiautomator-server.
这个搞还有啥问题?
from android-uiautomator-server.
不是修复了吗?
from android-uiautomator-server.
哦 你reopen我以为没搞定
from android-uiautomator-server.
Related Issues (20)
- 请教下,有没有定位,点击滑动等操作的restapi?
- 实在是不知道这个怎么用 HOT 1
- 请问下安卓这个怎么分开打包成2个的 HOT 1
- adb广播使用讨论 HOT 7
- 复制粘贴功能设计讨论 HOT 2
- app-uiautomator客户端,点击启动uiautomator时会闪退 HOT 4
- UIAutomator is crashing every 10 - 15 minutes. Can you check this please?
- textMatches multiline does not match HOT 1
- change longClick duration
- app-uiautomator-test.apk 没有开源吗?
- UIAutomator2: Atx-agent 0.9.5 Install Error: "arch['x86-64'] need to be supported, please report an issue in github"
- 如果selector 同时传入checked 和checkable 参数, 会报错Checkable selector is already defined
- 关于NAF Node的判定 HOT 1
- dumpWindowHierarchy返回的XML格式错误
- atx-agent can not work
- can I modify the ATX agent android app and make it work with uiautomator2 without issues?
- 脚本运行过程中atx不断的重启,导致脚本无法正常运行 HOT 1
- 有没有什么方式在atx app里运行atx-agent可执行文件 HOT 1
- apk安装显示要验证身份
- Fail to run am instrument command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-uiautomator-server.