Packets Error
monotrip opened this issue · 12 comments
Info
- Server version: 1.12.2
- OldCombatMechanics version: 1.7.0
- Server log file: https://pastebin.com/VG8J8ea4
- OldCombatMechanics config file: https://pastebin.com/tg0vPS5Y
Problem Description
All players from my server get kicked.
@Rayzr522 @I-Al-Istannen does this have to do with the reflective methods in the no-collisions module?
Sorry, I was a bit busy the last few days.
It is an error in a packet listener.
But that error says that the player field was null in a packet, which I don't think a normal server sends (at least no server I tried did that and it makes no sense at all to do it).
But the exception is caught and should not kick the players:
In fact, I just tried it and threw the NPE myself --- nobody was kicked. I suspect that another plugin might not handle the corrupted packet that is being sent correctly.
I could say a bit more if the server had debug mode enabled in the server.properties
@ZoneTriplu.
Could reproduce it once randomly and then never again, but I have an idea of the cause.
Can you see if the attached version works? Also, do you have any way to consistently reproduce it?
https://hastebin.com/exirurumak.rb that's with debug mode
The debug mode from the server properties? If so, is that the full output you get?
Also, can you link the protocol support plugin you use?
I have also a error with packet_handler
https://gist.github.com/Tigerpanzer02/a888085e583fef2e0e43531d03e0f39b
@Tigerpanzer02 Regular spigot? Does it happen when a player instantly leaves again after joining?
Yes regular spigot
Don´t know if it only on fast leaves. I will have a look on console when it will throw again
@Tigerpanzer02 @ZoneTriplu Is this issue still present in the latest test version of OCM?