io.netty.handler.codec.DecoderException: java.lang.NullPointerException

GitHub | KryptonCaptain | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    1.0.6 - Can't open existing world

    GitHub | 7 months ago | KryptonCaptain
    io.netty.handler.codec.DecoderException: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at mixac1.dangerrpg.capability.data.RPGDataRegister.extractTransferData()
    2. mixac1.dangerrpg.capability
      RPGDataRegister.extractTransferData
      1. mixac1.dangerrpg.capability.data.RPGDataRegister.extractTransferData(RPGDataRegister.java:72)[RPGDataRegister.class:?]
      1 frame
    3. mixac1.dangerrpg.network
      MsgSyncConfig.fromBytes
      1. mixac1.dangerrpg.network.MsgSyncConfig.fromBytes(MsgSyncConfig.java:20)[MsgSyncConfig.class:?]
      1 frame
    4. cpw.mods.fml
      SimpleIndexedCodec.decodeInto
      1. cpw.mods.fml.common.network.simpleimpl.SimpleIndexedCodec.decodeInto(SimpleIndexedCodec.java:17)[SimpleIndexedCodec.class:?]
      2. cpw.mods.fml.common.network.simpleimpl.SimpleIndexedCodec.decodeInto(SimpleIndexedCodec.java:7)[SimpleIndexedCodec.class:?]
      2 frames
    5. MC Forge
      FMLIndexedMessageToMessageCodec.decode
      1. cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:77)[FMLIndexedMessageToMessageCodec.class:?]
      2. cpw.mods.fml.common.network.FMLIndexedMessageToMessageCodec.decode(FMLIndexedMessageToMessageCodec.java:17)[FMLIndexedMessageToMessageCodec.class:?]
      2 frames
    6. Netty
      EmbeddedChannel.writeInbound
      1. io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)[MessageToMessageCodec$2.class:?]
      2. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:89)[MessageToMessageDecoder.class:?]
      3. io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)[MessageToMessageCodec.class:?]
      4. io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)[DefaultChannelHandlerContext.class:?]
      5. io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)[DefaultChannelHandlerContext.class:?]
      6. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)[DefaultChannelPipeline.class:?]
      7. io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169)[EmbeddedChannel.class:?]
      7 frames
    7. cpw.mods.fml
      FMLProxyPacket.func_148833_a
      1. cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77)[FMLProxyPacket.class:?]
      1 frame
    8. Minecraft
      NetworkManager.func_74428_b
      1. net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)[ej.class:?]
      1 frame
    9. MC Client
      Main.main
      1. net.minecraft.client.Minecraft.func_71407_l(Unknown Source)[bao.class:?]
      2. net.minecraft.client.Minecraft.func_71411_J(Unknown Source)[bao.class:?]
      3. net.minecraft.client.Minecraft.func_99999_d(Unknown Source)[bao.class:?]
      4. net.minecraft.client.main.Main.main(SourceFile:148)[Main.class:?]
      4 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_102]
      4 frames
    11. Minecraft
      Launch.main
      1. net.minecraft.launchwrapper.Launch.launch(Launch.java:135)[launchwrapper-1.12.jar:?]
      2. net.minecraft.launchwrapper.Launch.main(Launch.java:28)[launchwrapper-1.12.jar:?]
      2 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_102]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_102]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.8.0_102]
      4. java.lang.reflect.Method.invoke(Unknown Source)[?:1.8.0_102]
      4 frames
    13. MultiMC Launcher
      EntryPoint.main
      1. org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:310)[NewLaunch.jar:?]
      2. org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:395)[NewLaunch.jar:?]
      3. org.multimc.EntryPoint.listen(EntryPoint.java:170)[NewLaunch.jar:?]
      4. org.multimc.EntryPoint.main(EntryPoint.java:54)[NewLaunch.jar:?]
      4 frames