java.lang.RuntimeException: An error occurred while executing doInBackground()

GitHub | billdacat | 4 months ago
  1. 0

    Crash on sending message

    GitHub | 4 months ago | billdacat
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  2. 0

    GitHub comment 75#171779349

    GitHub | 11 months ago | stannedelchev
    org.msgpack.core.MessageTypeException: Expected String, but got Map (81)

    Root Cause Analysis

    1. org.msgpack.core.MessageTypeException

      Expected String, but got Map (81)

      at org.msgpack.core.MessageUnpacker.unexpected()
    2. org.msgpack.core
      MessageUnpacker.unpackString
      1. org.msgpack.core.MessageUnpacker.unexpected(MessageUnpacker.java:472)
      2. org.msgpack.core.MessageUnpacker.unpackRawStringHeader(MessageUnpacker.java:1179)
      3. org.msgpack.core.MessageUnpacker.unpackString(MessageUnpacker.java:916)
      3 frames
    3. io.ably.lib
      Presence.history
      1. io.ably.lib.types.BaseMessage.readField(BaseMessage.java:176)
      2. io.ably.lib.types.PresenceMessage.readMsgpack(PresenceMessage.java:108)
      3. io.ably.lib.types.PresenceMessage.fromMsgpack(PresenceMessage.java:120)
      4. io.ably.lib.types.PresenceSerializer.readMsgpackArray(PresenceSerializer.java:30)
      5. io.ably.lib.types.PresenceSerializer.readMsgpack(PresenceSerializer.java:37)
      6. io.ably.lib.types.PresenceSerializer$PresenceBodyHandler.handleResponseBody(PresenceSerializer.java:105)
      7. io.ably.lib.types.PresenceSerializer$PresenceBodyHandler.handleResponseBody(PresenceSerializer.java:94)
      8. io.ably.lib.http.PaginatedQuery.handleResponse(PaginatedQuery.java:114)
      9. io.ably.lib.http.PaginatedQuery.handleResponse(PaginatedQuery.java:23)
      10. io.ably.lib.http.Http.httpExecute(Http.java:392)
      11. io.ably.lib.http.Http.ablyHttpExecute(Http.java:283)
      12. io.ably.lib.http.Http.get(Http.java:207)
      13. io.ably.lib.http.PaginatedQuery.get(PaginatedQuery.java:49)
      14. io.ably.lib.realtime.Presence.history(Presence.java:466)
      14 frames
    4. io.ably.demo
      Connection$2.doInBackground
      1. io.ably.demo.connection.Connection$2.doInBackground(Connection.java:110)
      1 frame
    5. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:304)
      1 frame