Skip to content
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

Discord integration issue #49

Open
paz opened this issue Oct 29, 2020 · 2 comments
Open

Discord integration issue #49

paz opened this issue Oct 29, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@paz
Copy link

paz commented Oct 29, 2020

[09:51:54 INFO] [catalyst]: xPaz has joined the proxy
[09:51:54 ERROR]: Oct 29, 2020 9:51:54 AM com.google.common.eventbus.EventBus$LoggingHandler handleException
[09:51:54 ERROR]: SEVERE: Exception thrown by subscriber method onPlayerJoinEvent(org.anvilpowered.catalyst.api.event.JoinEvent) on subscriber org.anvilpowered.catalyst.common.listener.CommonDiscordChatListener@2c806135 when dispatching event: org.anvilpowered.catalyst.common.event.CommonJoinEvent@15b6b633
[09:51:54 ERROR]: java.lang.NullPointerException
[09:51:54 ERROR]: at org.anvilpowered.catalyst.common.discord.CommonWebhookSender.getWebhook(CommonWebhookSender.java:81)
[09:51:54 ERROR]: at org.anvilpowered.catalyst.common.discord.CommonWebhookSender.sendWebhookMessage(CommonWebhookSender.java:49)
[09:51:54 ERROR]: at org.anvilpowered.catalyst.common.listener.CommonDiscordChatListener.onPlayerJoinEvent(CommonDiscordChatListener.java:156)
[09:51:54 ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:51:54 ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[09:51:54 ERROR]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[09:51:54 ERROR]: at java.lang.reflect.Method.invoke(Method.java:498)
[09:51:54 ERROR]: at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
[09:51:54 ERROR]: at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
[09:51:54 ERROR]: at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
[09:51:54 ERROR]: at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
[09:51:54 ERROR]: at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:67)
[09:51:54 ERROR]: at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:108)
[09:51:54 ERROR]: at com.google.common.eventbus.EventBus.post(EventBus.java:212)
[09:51:54 ERROR]: at org.anvilpowered.catalyst.velocity.listener.VelocityListener.lambda$null$1(VelocityListener.java:139)
[09:51:54 ERROR]: at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670)
[09:51:54 ERROR]: at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646)
[09:51:54 ERROR]: at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457)
[09:51:54 ERROR]: at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
[09:51:54 ERROR]: at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
[09:51:54 ERROR]: at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
[09:51:54 ERROR]: at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)
[09:51:54 ERROR]:
[09:56:02 INFO] [catalyst]: global : [!]* xPaz : fasfasdfdff
[09:56:02 ERROR]: Oct 29, 2020 9:56:02 AM com.google.common.eventbus.EventBus$LoggingHandler handleException
[09:56:02 ERROR]: SEVERE: Exception thrown by subscriber method onChatEvent(org.anvilpowered.catalyst.api.event.ChatEvent) on subscriber org.anvilpowered.catalyst.common.listener.CommonDiscordChatListener@2c806135 when dispatching event: org.anvilpowered.catalyst.common.event.CommonChatEvent@5a240bef
[09:56:02 ERROR]: java.lang.NullPointerException
[09:56:02 ERROR]: at org.anvilpowered.catalyst.common.discord.CommonWebhookSender.getWebhook(CommonWebhookSender.java:81)
[09:56:02 ERROR]: at org.anvilpowered.catalyst.common.discord.CommonWebhookSender.sendWebhookMessage(CommonWebhookSender.java:49)
[09:56:02 ERROR]: at org.anvilpowered.catalyst.common.listener.CommonDiscordChatListener.onChatEvent(CommonDiscordChatListener.java:94)
[09:56:02 ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:56:02 ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[09:56:02 ERROR]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[09:56:02 ERROR]: at java.lang.reflect.Method.invoke(Method.java:498)
[09:56:02 ERROR]: at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87)
[09:56:02 ERROR]: at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144)
[09:56:02 ERROR]: at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72)
[09:56:02 ERROR]: at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30)
[09:56:02 ERROR]: at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:67)
[09:56:02 ERROR]: at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:108)
[09:56:02 ERROR]: at com.google.common.eventbus.EventBus.post(EventBus.java:212)
[09:56:02 ERROR]: at org.anvilpowered.catalyst.velocity.listener.VelocityListener.lambda$onChat$4(VelocityListener.java:198)
[09:56:02 ERROR]: at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:670)
[09:56:02 ERROR]: at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:646)
[09:56:02 ERROR]: at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457)
[09:56:02 ERROR]: at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
[09:56:02 ERROR]: at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
[09:56:02 ERROR]: at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
[09:56:02 ERROR]: at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:163)
[09:56:02 ERROR]:

Desktop (please complete the following information):

  • Velocity Version: Velocity 1.1.2-SNAPSHOT (git-f3e1a7e0-b294)
  • Catalyst Version: 08b6885 / build Send chat message to current server while using proxy chat #60 on CI, also happens on 0.2.1 (both using matching anvil versions)
  • Additional Plugins installed on velocity: anvil, bungeequack, luckperms, catalyst, craftingstore, joinkick, minimotd-velocity, pingcommand, plan, velocityguard
@paz paz added the bug Something isn't working label Oct 29, 2020
@paz
Copy link
Author

paz commented Oct 29, 2020

Staff chat works as expected, but not global/main chat

@paz
Copy link
Author

paz commented Oct 29, 2020

Issue resolved by making the channel name shorter, maybe theres a limit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant