InteractiveChat icon indicating copy to clipboard operation
InteractiveChat copied to clipboard

1.19.2 version sending messages error

Open homerek111 opened this issue 1 year ago • 1 comments

im getting this error on every single message i try to send and my messages are not being sent at all...

[07:37:49 WARN]: [InteractiveChat] Plugin InteractiveChat v4.2.12.0 generated an exception while executing task 5931
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "this.paperPlayerChatMessageWithResultMethod" is null
        at com.loohp.interactivechat.nms.V1_19.modernChatSigningWithResult(V1_19.java:443) ~[InteractiveChat-4.2.12.0.jar:?]
        at com.loohp.interactivechat.nms.V1_19.chatAsPlayerAsync(V1_19.java:504) ~[InteractiveChat-4.2.12.0.jar:?]
        at com.loohp.interactivechat.utils.PlayerUtils.chatAsPlayer(PlayerUtils.java:75) ~[InteractiveChat-4.2.12.0.jar:?]
        at com.loohp.interactivechat.listeners.RedispatchSignedPacket$1.lambda$onPacketReceiving$3(RedispatchSignedPacket.java:87) ~[InteractiveChat-4.2.12.0.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1768]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1768]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

server version:

Current: git-Purpur-1768 (MC: 1.19.2)

plugin version:

4.2.12.0

that's info from /icp backendinfo obraz

all other servers work fine but this skyblock does not...

homerek111 avatar Oct 07 '24 14:10 homerek111

@LOOHP any chance of fixing? :/

homerek111 avatar Oct 12 '24 16:10 homerek111

@LOOHP 1.19.2 plugin breaks sending all messages - please fix :))

homerek111 avatar Nov 02 '24 08:11 homerek111

@LOOHP pls fix that issue :/

homerek111 avatar Nov 20 '24 17:11 homerek111

i tested it with the newest 4.2.13 version and bug still happens:

[00:52:52 WARN]: [InteractiveChat] Plugin InteractiveChat v4.2.13.0 generated an exception while executing task 6079
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "this.paperPlayerChatMessageWithResultMethod" is null
        at com.loohp.interactivechat.nms.V1_19.modernChatSigningWithResult(V1_19.java:443) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.nms.V1_19.chatAsPlayerAsync(V1_19.java:504) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.utils.PlayerUtils.chatAsPlayer(PlayerUtils.java:75) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.listeners.RedispatchSignedPacket$1.lambda$onPacketReceiving$3(RedispatchSignedPacket.java:87) ~[InteractiveChat-4.2.13.0.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1768]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1768]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

homerek111 avatar Nov 20 '24 23:11 homerek111

Seems like the latest purpur build for 1.19.2 is #1858. Have you tried updating to that?

LOOHP avatar Nov 29 '24 11:11 LOOHP

Seems like the latest purpur build for 1.19.2 is #1858. Have you tried updating to that?

I can try do it in a few hours when I get back home. I hope it won’t break anything on my server…

anyways this sending message bugs happens only with interactivechat so I believe it might be some issue on plugin’s side - however I can test it after updating to the latest 1.19.2 purpur and let you know…

homerek111 avatar Nov 29 '24 11:11 homerek111

Seems like the latest purpur build for 1.19.2 is #1858. Have you tried updating to that?

@LOOHP updating to the latest 1.19.2 build did not help :/

  • could you please take a look at that issue from plugin's side?

i also tried to update java from 17 -> 21 and it did not help as well

obraz

[04:54:58 WARN]: [InteractiveChat] Plugin InteractiveChat v4.2.13.0 generated an exception while executing task 3050
java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "this.paperPlayerChatMessageWithResultMethod" is null
        at com.loohp.interactivechat.nms.V1_19.modernChatSigningWithResult(V1_19.java:443) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.nms.V1_19.chatAsPlayerAsync(V1_19.java:504) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.utils.PlayerUtils.chatAsPlayer(PlayerUtils.java:75) ~[InteractiveChat-4.2.13.0.jar:?]
        at com.loohp.interactivechat.listeners.RedispatchSignedPacket$1.lambda$onPacketReceiving$3(RedispatchSignedPacket.java:87) ~[InteractiveChat-4.2.13.0.jar:?]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.2.jar:git-Purpur-1858]
        at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.2.jar:git-Purpur-1858]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.2.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

homerek111 avatar Nov 30 '24 03:11 homerek111