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 | 2 months ago
  1. 0

    Client cannot join LAN SMP Instance

    GitHub | 2 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
  2. 0

    Storm 0.10.0 how to create the DRPC Remote client?

    Stack Overflow | 11 months ago | Anton Alfred
    java.lang.IllegalArgumentException: Don't know how to convert null to int
  3. 0

    I was upgrading our topologies to storm-0.9.3 this [commit|https://github.com/apache/storm/commit/2596e335f27a57784a93a57823bd93dde587909f] introduced a change that threw me for a loop. When submitting my topology I got the following error. {code} [main] ERROR storm.kafka.DynamicBrokersReader - Couldn't connect to zookeeper java.lang.IllegalArgumentException: Don't know how to convert null to int at backtype.storm.utils.Utils.getInt(Utils.java:301) ~[storm-core-0.9.3.jar:0.9.3] at storm.kafka.DynamicBrokersReader.<init>(DynamicBrokersReader.java:47) ~[gambit-storm-threads-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na] at com.pearson.gambit.threads.storm.ThreadsTopology.main(ThreadsTopology.java:45) [gambit-storm-threads-0.0.1-SNAPSHOT-jar-with-dependencies.jar:na] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException at storm.kafka.DynamicBrokersReader.getBrokerInfo(DynamicBrokersReader.java:81) at com.pearson.gambit.threads.storm.ThreadsTopology.main(ThreadsTopology.java:48) Caused by: java.lang.RuntimeException: java.lang.NullPointerException at storm.kafka.DynamicBrokersReader.getNumPartitions(DynamicBrokersReader.java:94) at storm.kafka.DynamicBrokersReader.getBrokerInfo(DynamicBrokersReader.java:65) ... 1 more Caused by: java.lang.NullPointerException at storm.kafka.DynamicBrokersReader.getNumPartitions(DynamicBrokersReader.java:91) ... 2 more {code} It took me a while to figure out that this error stems from missing the {code}backtype.storm.Config.STORM_ZOOKEEPER_CONNECTION_TIMEOUT{code} property in the conf map provided to the {code}storm.kafka.DynamicBrokersReader{code} constructer. It would be nice to check the required configuration parameters and throw a RuntimeException if any are missing.

    Apache's JIRA Issue Tracker | 2 years ago | Curtis Allen
    java.lang.IllegalArgumentException: Don't know how to convert null to int
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    regression: writing to elasticsearch failing with exception

    GitHub | 3 years ago | nahap
    org.apache.hadoop.hive.ql.parse.SemanticException: Don't know how to create Settings from configuration null
  6. 0

    GitHub comment 211#192195888

    GitHub | 9 months ago | hubuyt
    com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: com.alibaba.jstorm.ui.model.data.MainPage.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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