java.lang.NullPointerException

GitHub | frodare | 2 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

    Crashy

    GitHub | 2 months ago | frodare
    java.lang.NullPointerException
  2. 0

    GitHub comment 17#261140485

    GitHub | 3 months ago | frodare
    java.lang.ClassCastException: net.torocraft.toroquest.civilization.player.PlayerCivilizationCapabilityImpl cannot be cast to toughasnails.api.stat.StatHandlerBase
  3. 0

    Doesn't work with Tough as Nails

    GitHub | 3 months ago | frodare
    java.lang.ClassCastException: net.torocraft.toroquest.civilization.player.PlayerCivilizationCapabilityImpl cannot be cast to toughasnails.temperature.TemperatureHandler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 83#270812637

    GitHub | 2 months ago | frodare
    io.netty.handler.codec.EncoderException: java.lang.NullPointerException

    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.NullPointerException

      No message provided

      at net.torocraft.toroquest.civilization.Province.writeNBT()
    2. net.torocraft.toroquest
      CivilizationHandlers.onSave
      1. net.torocraft.toroquest.civilization.Province.writeNBT(Province.java:77)[Province.class:?]
      2. net.torocraft.toroquest.civilization.player.PlayerCivilization.writeNBT(PlayerCivilization.java:41)[PlayerCivilization.class:?]
      3. net.torocraft.toroquest.civilization.CivilizationHandlers.onSave(CivilizationHandlers.java:103)[CivilizationHandlers.class:?]
      3 frames
    3. MC Forge
      ForgeEventFactory.firePlayerSavingEvent
      1. net.minecraftforge.fml.common.eventhandler.ASMEventHandler_14_CivilizationHandlers_onSave_SaveToFile.invoke(.dynamic)[?:?]
      2. net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)[ASMEventHandler.class:?]
      3. net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)[EventBus.class:?]
      4. net.minecraftforge.event.ForgeEventFactory.firePlayerSavingEvent(ForgeEventFactory.java:324)[ForgeEventFactory.class:?]
      4 frames
    4. net.minecraft.world
      SaveHandler.func_75753_a
      1. net.minecraft.world.storage.SaveHandler.func_75753_a(SaveHandler.java:195)[bbt.class:?]
      1 frame
    5. MC Server
      PlayerList.func_72367_e
      1. net.minecraft.server.management.PlayerList.func_72391_b(PlayerList.java:333)[mt.class:?]
      2. net.minecraft.server.management.PlayerList.func_72367_e(PlayerList.java:369)[mt.class:?]
      2 frames
    6. Minecraft
      NetworkSystem.func_151269_c
      1. net.minecraft.network.NetHandlerPlayServer.func_147231_a(NetHandlerPlayServer.java:795)[mi.class:?]
      2. net.minecraft.network.NetworkManager.func_179293_l(NetworkManager.java:451)[er.class:?]
      3. net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:213)[mh.class:?]
      3 frames
    7. MC Server
      MinecraftServer.run
      1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:743)[MinecraftServer.class:?]
      2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:384)[lh.class:?]
      3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)[MinecraftServer.class:?]
      4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)[MinecraftServer.class:?]
      4 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_71]
      1 frame