You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I got this exception in following when I use sendMessageToUser method. the detail of exception message is in the following
java.lang.ClassCastException: com.ullink.slack.simpleslackapi.replies.SlackReplyImpl cannot be cast to com.ullink.slack.simpleslackapi.replies.SlackChannelReply
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.getIMChannelForUser(SlackWebSocketSessionImpl.java:168)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.sendMessageToUser(SlackWebSocketSessionImpl.java:140)
at handler.ReplyMessage$.replayToWithAttachment(ReplyMessage.scala:13)
at handler.SlackMessageSession$.trigger(SlackMessageSession.scala:25)
at handler.SlackBot.$anonfun$listen$1(SlackBot.scala:25)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl$EventDispatcher.dispatchImpl(SlackWebSocketSessionImpl.java:246)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl$EventDispatcher.dispatch(SlackWebSocketSessionImpl.java:203)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.onMessage(SlackWebSocketSessionImpl.java:1074)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.onMessage(SlackWebSocketSessionImpl.java:57)
at org.glassfish.tyrus.core.TyrusSession.notifyMessageHandlers(TyrusSession.java:576)
The text was updated successfully, but these errors were encountered:
Hi
I got this exception in following when I use
sendMessageToUser
method. the detail of exception message is in the followingThe text was updated successfully, but these errors were encountered: