io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Don't know how to serialize BaseComponent{style=Style{hasParent=false, color=ȣ, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}, siblings=[]} as a Component

GitHub | netzgeist | 5 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

    Client cannot join LAN SMP Instance

    GitHub | 5 months ago | netzgeist
    io.netty.handler.codec.EncoderException: java.lang.IllegalArgumentException: Don't know how to serialize BaseComponent{style=Style{hasParent=false, color=ȣ, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}, siblings=[]} as a Component

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Don't know how to serialize BaseComponent{style=Style{hasParent=false, color=ȣ, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null}, siblings=[]} as a Component

      at net.minecraft.util.IChatComponent$Serializer.serialize()
    2. net.minecraft.util
      IChatComponent$Serializer.serialize
      1. net.minecraft.util.IChatComponent$Serializer.serialize(SourceFile:165)[fk.class:?]
      2. net.minecraft.util.IChatComponent$Serializer.serialize(SourceFile:29)[fk.class:?]
      2 frames
    3. Gson
      Gson.toJson
      1. com.google.gson.TreeTypeAdapter.write(TreeTypeAdapter.java:70)[TreeTypeAdapter.class:3.2.3.1]
      2. com.google.gson.Gson.toJson(Gson.java:593)[Gson.class:3.2.3.1]
      3. com.google.gson.Gson.toJson(Gson.java:572)[Gson.class:3.2.3.1]
      4. com.google.gson.Gson.toJson(Gson.java:527)[Gson.class:3.2.3.1]
      5. com.google.gson.Gson.toJson(Gson.java:507)[Gson.class:3.2.3.1]
      5 frames
    4. net.minecraft.util
      IChatComponent$Serializer.func_150696_a
      1. net.minecraft.util.IChatComponent$Serializer.func_150696_a(SourceFile:172)[fk.class:?]
      1 frame
    5. net.minecraft.network
      S02PacketChat.func_148840_b
      1. net.minecraft.network.play.server.S02PacketChat.func_148840_b(SourceFile:33)[gj.class:?]
      1 frame
    6. net.minecraft.util
      MessageSerializer.encode
      1. net.minecraft.util.MessageSerializer.encode(SourceFile:38)[fa.class:?]
      2. net.minecraft.util.MessageSerializer.encode(SourceFile:14)[fa.class:?]
      2 frames
    7. Netty
      DefaultChannelHandlerContext.write
      1. io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:111)[MessageToByteEncoder.class:?]
      2. io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644)[DefaultChannelHandlerContext.class:?]
      3. io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698)[DefaultChannelHandlerContext.class:?]
      4. io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:637)[DefaultChannelHandlerContext.class:?]
      4 frames
    8. cpw.mods.fml
      NetworkDispatcher.write
      1. cpw.mods.fml.common.network.handshake.NetworkDispatcher.write(NetworkDispatcher.java:440)[NetworkDispatcher.class:?]
      1 frame
    9. Netty
      AbstractChannel.writeAndFlush
      1. io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644)[DefaultChannelHandlerContext.class:?]
      2. io.netty.channel.DefaultChannelHandlerContext.write(DefaultChannelHandlerContext.java:698)[DefaultChannelHandlerContext.class:?]
      3. io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:688)[DefaultChannelHandlerContext.class:?]
      4. io.netty.channel.DefaultChannelHandlerContext.writeAndFlush(DefaultChannelHandlerContext.java:717)[DefaultChannelHandlerContext.class:?]
      5. io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:893)[DefaultChannelPipeline.class:?]
      6. io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:239)[AbstractChannel.class:?]
      6 frames
    10. Minecraft
      NetworkManager$1.run
      1. net.minecraft.network.NetworkManager$1.run(NetworkManager.java:174)[ek.class:?]
      1 frame
    11. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354)[SingleThreadEventExecutor.class:?]
      2. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348)[NioEventLoop.class:?]
      3. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101)[SingleThreadEventExecutor$2.class:?]
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]
      1 frame