-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "main" java.lang.NullPointerException #61
Comments
Hi, We started facing the issue since today morning where we are unable to connect to slack from the container and its keep on exiting. |
The Slack API Corebot was using has been changed. |
We are facing the same issue |
Problem lies in the library that this project uses to connect to slack, so I am afraid they need to upgrade first this other project before is fixed here. |
Hi All, Please do update with the solution if anyone finds. We will also keep the thread updated with our workarounds. |
Hi All, Saw that the library was fixed, anyone can update this project to use the latest library?
|
Tried to compile corebot with the last version of simple-slack-api but it fails in the part upgraded, I have 0 knowledge about Kotlin so I am stuck here.... |
I can see the same here #62 , looks like something else got broken it was a big jump from 0.3.1 to latest version. |
Hi folks 👋 Working on the library upgrade in #63 |
OK, after a bunch of updates (#65, #67, #68), the updated Slack API library has been released in v1.4.0. Images are up on Docker Hub: https://hub.docker.com/r/outofcoffee/corebot/tags Please do let me know if this has fixed the issue. |
Hi folks, thank you for all the feedback! I'm going to close this issue as resolved, but please do raise a new issue if there are any other problems. |
09:40:27.754 [main] INFO com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl - connecting to slack
Exception in thread "main" java.lang.NullPointerException
at com.ullink.slack.simpleslackapi.impl.SlackJSONSessionStatusParser.parse(SlackJSONSessionStatusParser.java:71)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.connectImpl(SlackWebSocketSessionImpl.java:335)
at com.ullink.slack.simpleslackapi.impl.SlackWebSocketSessionImpl.connect(SlackWebSocketSessionImpl.java:294)
at com.gatehill.corebot.frontend.slack.chat.SlackSessionServiceImpl$session$2.invoke(SlackSessionServiceImpl.kt:32)
at com.gatehill.corebot.frontend.slack.chat.SlackSessionServiceImpl$session$2.invoke(SlackSessionServiceImpl.kt:20)
at kotlin.SynchronizedLazyImpl.getValue(Lazy.kt:130)
at com.gatehill.corebot.frontend.slack.chat.SlackSessionServiceImpl.getSession(SlackSessionServiceImpl.kt)
at com.gatehill.corebot.frontend.slack.chat.SlackChatServiceImpl.listenForEvents(SlackChatServiceImpl.kt:42)
at com.gatehill.corebot.bot.Bot.start(Bot.kt:22)
at com.gatehill.corebot.bot.MainKt.runBot(Main.kt:54)
at com.gatehill.corebot.bot.MainKt.main(Main.kt:33)
The text was updated successfully, but these errors were encountered: