Bug Verified Critical priority

Error onPacketReceiving

#2896 opened by Unknown 4 years ago

Unknownreported this bug

After installing the plugin this happens in both litebans and venturechat

23.04 22:59:31 [Server] ERROR Unhandled exception occured in onPacketReceiving(PacketEvent) for LiteBans
23.04 22:59:31 [Server] INFO java.lang.UnsupportedOperationException: The method getUniqueId is not supported for temporary players.
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.server.TemporaryPlayerFactory$1.delegate(TemporaryPlayerFactory.java:166) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.server.TemporaryPlayerInvocationHandler.getUniqueId(Unknown Source) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at litebans.hq.i(hq.java:88) ~[[DL]-LiteBans.jar:?]
23.04 22:59:31 [Server] INFO at litebans.e_.a(e_.java:17) ~[[DL]-LiteBans.jar:?]
23.04 22:59:31 [Server] INFO at litebans.je.onPacketReceiving(je.java:29) ~[[DL]-LiteBans.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.SortedPacketListenerList.invokeReceivingListener(SortedPacketListenerList.java:114) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketRecieving(SortedPacketListenerList.java:67) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:537) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.PacketFilterManager.invokePacketRecieving(PacketFilterManager.java:509) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.netty.ProtocolInjector.packetReceived(ProtocolInjector.java:360) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketReceiving(ProtocolInjector.java:325) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.netty.ChannelInjector.decode(ChannelInjector.java:600) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:276) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at com.comphenix.protocol.injector.netty.ChannelInjector$2.channelRead(ChannelInjector.java:292) ~[ProtocolLib.jar:?]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
23.04 22:59:31 [Server] INFO at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) ~[netty-all-4.1.68.Final.jar:4.1.68.Final]
Unknowncommented

If you remove MCCosmetics this error goes away?

Unknowncommented

No, it doesnt, but at least i can join the server w/o it. Must add that the error happens when a player joins

Unknowncommented

It also happens for CombatLogX and other plugins requiring ProtocolLib

Unknowncommented

If this issue happens without MCCosmetics present... isn't this a protocolib issue or something else?

Unknowncommented

Problem only happend after installing MCCosmetics, and after removing it and all its config my server kept the console errors and some other thigs:

  • My motd dissapeared (using AdvancedNMotd)
  • Emojis in chat (From ItemsAdder) stopped working
Unknowncommented

If the config errors are still there with no mccosmetics, the issue is with another plugin.

But please try and update to the latest dev build for MCCosmetics it gets rid of the lag issues with protocollib/libsdisguises.

Unknowncommented

Reopen this if the lag is still an issue.

Unknowncommented

lag problem solved after uninstalling libsdisguises, i will instal lastest version of mccosmetics now and see if it solves the other problems

Unknowncommented

where can i download the lastest version from tho?

Unknowncommented

The dev builds on mythiccraft.

Unknowncommented

dev builds require the paid version of the plugin...

Unknowncommented

Even if you don't own the paid version you should have no issues downnloading the latest build and it will send you the free one.

Unknowncommented

nope, it sends me to the buy page [Legacy attachment omitted]

Unknowncommented

If i click the free button it says:

[Legacy attachment omitted]

Sign in to join the discussion.