io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Value ALWAYS has no mapping for key class org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility.

GitHub | kukelekuuk00 | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    error when connecting to 1.10.2 (bungeecord) using latest MCProtocolLib from the CI (build #51)

    GitHub | 10 months ago | kukelekuuk00
    io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Value ALWAYS has no mapping for key class org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Value ALWAYS has no mapping for key class org.spacehq.mc.protocol.data.game.scoreboard.NameTagVisibility.

      at org.spacehq.mc.protocol.data.MagicValues.key()
    2. org.spacehq.mc
      ServerTeamPacket.read
      1. org.spacehq.mc.protocol.data.MagicValues.key(MagicValues.java:842)
      2. org.spacehq.mc.protocol.packet.ingame.server.scoreboard.ServerTeamPacket.read(ServerTeamPacket.java:130)
      2 frames
    3. org.spacehq.packetlib
      TcpPacketCodec.decode
      1. org.spacehq.packetlib.tcp.TcpPacketCodec.decode(TcpPacketCodec.java:41)
      1 frame
    4. Netty
      ForkJoinWorkerThread.run
      1. io.netty.handler.codec.ByteToMessageCodec$1.decode(ByteToMessageCodec.java:42)
      2. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:316)
      3. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230)
      4. io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
      5. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:84)
      6. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
      7. io.netty.channel.PausableChannelEventExecutor.invokeChannelRead(PausableChannelEventExecutor.java:86)
      8. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:389)
      9. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:243)
      10. io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
      11. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:84)
      12. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
      13. io.netty.channel.PausableChannelEventExecutor.invokeChannelRead(PausableChannelEventExecutor.java:86)
      14. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:389)
      15. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:243)
      16. io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
      17. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:84)
      18. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
      19. io.netty.channel.PausableChannelEventExecutor.invokeChannelRead(PausableChannelEventExecutor.java:86)
      20. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:389)
      21. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:243)
      22. io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
      23. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:84)
      24. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
      25. io.netty.channel.PausableChannelEventExecutor.invokeChannelRead(PausableChannelEventExecutor.java:86)
      26. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:389)
      27. io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:149)
      28. io.netty.channel.ChannelHandlerInvokerUtil.invokeChannelReadNow(ChannelHandlerInvokerUtil.java:84)
      29. io.netty.channel.DefaultChannelHandlerInvoker.invokeChannelRead(DefaultChannelHandlerInvoker.java:153)
      30. io.netty.channel.PausableChannelEventExecutor.invokeChannelRead(PausableChannelEventExecutor.java:86)
      31. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:389)
      32. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:956)
      33. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:127)
      34. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:514)
      35. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:471)
      36. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:385)
      37. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:351)
      38. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
      39. io.netty.util.internal.chmv8.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1412)
      40. io.netty.util.internal.chmv8.ForkJoinTask.doExec(ForkJoinTask.java:280)
      41. io.netty.util.internal.chmv8.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:877)
      42. io.netty.util.internal.chmv8.ForkJoinPool.scan(ForkJoinPool.java:1706)
      43. io.netty.util.internal.chmv8.ForkJoinPool.runWorker(ForkJoinPool.java:1661)
      44. io.netty.util.internal.chmv8.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:126)
      44 frames