Code Monkey home page Code Monkey logo

Comments (6)

codeskyblue avatar codeskyblue commented on June 15, 2024

又遇到这个错误了

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.

mingyuan-xia avatar mingyuan-xia commented on June 15, 2024

这两个不是同一个问题,getObjInfo 我修了: 3fe99c1

from android-uiautomator-server.

codeskyblue avatar codeskyblue commented on June 15, 2024

看起来貌似就是这个问题

from android-uiautomator-server.

mingyuan-xia avatar mingyuan-xia commented on June 15, 2024

这个搞还有啥问题?

from android-uiautomator-server.

codeskyblue avatar codeskyblue commented on June 15, 2024

不是修复了吗?

from android-uiautomator-server.

mingyuan-xia avatar mingyuan-xia commented on June 15, 2024

哦 你reopen我以为没搞定

from android-uiautomator-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.