java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Crash on sending message
    via GitHub by billdacat
    ,
  • GitHub comment 75#171779349
    via GitHub by stannedelchev
    ,
    • java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:318) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761) Caused by: org.msgpack.core.MessageTypeException: Expected String, but got Map (81) at org.msgpack.core.MessageUnpacker.unexpected(MessageUnpacker.java:472) at org.msgpack.core.MessageUnpacker.unpackRawStringHeader(MessageUnpacker.java:1179) at org.msgpack.core.MessageUnpacker.unpackString(MessageUnpacker.java:916) at io.ably.lib.types.BaseMessage.readField(BaseMessage.java:176) at io.ably.lib.types.PresenceMessage.readMsgpack(PresenceMessage.java:108) at io.ably.lib.types.PresenceMessage.fromMsgpack(PresenceMessage.java:120) at io.ably.lib.types.PresenceSerializer.readMsgpackArray(PresenceSerializer.java:30) at io.ably.lib.types.PresenceSerializer.readMsgpack(PresenceSerializer.java:37) at io.ably.lib.types.PresenceSerializer$PresenceBodyHandler.handleResponseBody(PresenceSerializer.java:105) at io.ably.lib.types.PresenceSerializer$PresenceBodyHandler.handleResponseBody(PresenceSerializer.java:94) at io.ably.lib.http.PaginatedQuery.handleResponse(PaginatedQuery.java:114) at io.ably.lib.http.PaginatedQuery.handleResponse(PaginatedQuery.java:23) at io.ably.lib.http.Http.httpExecute(Http.java:392) at io.ably.lib.http.Http.ablyHttpExecute(Http.java:283) at io.ably.lib.http.Http.get(Http.java:207) at io.ably.lib.http.PaginatedQuery.get(PaginatedQuery.java:49) at io.ably.lib.realtime.Presence.history(Presence.java:466) at io.ably.demo.connection.Connection$2.doInBackground(Connection.java:110) at android.os.AsyncTask$2.call(AsyncTask.java:304)
    No Bugmate found.