io.selendroid.exceptions.SelendroidException

Error occured while communicating with selendroid server on the device:

Samebug tips1

The json is invalid or you try to map to a different model.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web63

  • Error occured while communicating with selendroid server on the device:
  • Error occured while communicating with selendroid server on the device:
  • Error occured while communicating with selendroid server on the device:
  • Stack trace

    • io.selendroid.exceptions.SelendroidException: Error occured while communicating with selendroid server on the device: at io.selendroid.server.handler.RequestRedirectHandler.handle(RequestRedirectHandler.java:74) at io.selendroid.server.SelendroidServlet.handleRequest(SelendroidServlet.java:142) at io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:70) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62) at org.webbitserver.handler.PathMatchHandler.handleHttpRequest(PathMatchHandler.java:33) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62) at org.webbitserver.handler.DateHeaderHandler.handleHttpRequest(DateHeaderHandler.java:21) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:62) at org.webbitserver.handler.ServerHeaderHandler.handleHttpRequest(ServerHeaderHandler.java:25) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:78) at org.webbitserver.netty.NettyHttpControl.nextHandler(NettyHttpControl.java:67) at org.webbitserver.netty.NettyHttpChannelHandler$2.run(NettyHttpChannelHandler.java:72) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.json.JSONException: A JSONObject text must begin with '{' at character 0 at org.json.JSONTokener.syntaxError(JSONTokener.java:410) at org.json.JSONObject.<init>(JSONObject.java:179) at org.json.JSONObject.<init>(JSONObject.java:402) at io.selendroid.server.util.HttpClientUtil.parseJsonResponse(HttpClientUtil.java:57) at io.selendroid.server.handler.RequestRedirectHandler.redirectRequest(RequestRedirectHandler.java:121) at io.selendroid.server.handler.RequestRedirectHandler.handle(RequestRedirectHandler.java:64) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 2 years ago
    Once, 10 hours ago
    16 times, 1 month ago
    4 times, 3 months ago
    Once, 3 months ago
    82 more bugmates