java.lang.NullPointerException: Exception in server tick loop

GitHub | roboderpy | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Custom world generator crashes when trying to generate a village

    GitHub | 7 months ago | roboderpy
    java.lang.NullPointerException: Exception in server tick loop

    Root Cause Analysis

    1. java.lang.NullPointerException

      Exception in server tick loop

      at rtg.event.EventManagerRTG.onGetVillageBlockID()
    2. rtg.event
      EventManagerRTG.onGetVillageBlockID
      1. rtg.event.EventManagerRTG.onGetVillageBlockID(EventManagerRTG.java:193)
      1 frame
    3. MC Forge
      EventBus.post
      1. cpw.mods.fml.common.eventhandler.ASMEventHandler_337_EventManagerRTG_onGetVillageBlockID_GetVillageBlockID.invoke(.dynamic)
      2. cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
      3. cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
      3 frames
    4. net.minecraft.world
      MapGenStructure.func_75051_a
      1. net.minecraft.world.gen.structure.StructureVillagePieces$Village.func_151558_b(StructureVillagePieces.java:1630)
      2. net.minecraft.world.gen.structure.StructureVillagePieces$Village.func_151549_a(StructureVillagePieces.java:1703)
      3. net.minecraft.world.gen.structure.StructureVillagePieces$Well.func_74875_a(StructureVillagePieces.java:1762)
      4. net.minecraft.world.gen.structure.StructureStart.func_75068_a(StructureStart.java:44)
      5. net.minecraft.world.gen.structure.MapGenStructure.func_75051_a(MapGenStructure.java:93)
      5 frames
    5. com.xcompwiz.mystcraft
      ChunkProviderMyst.func_73153_a
      1. com.xcompwiz.mystcraft.symbol.symbols.SymbolVillages$Populator.populate(SymbolVillages.java:42)
      2. com.xcompwiz.mystcraft.world.AgeController.populate(AgeController.java:572)
      3. com.xcompwiz.mystcraft.world.ChunkProviderMyst.func_73153_a(ChunkProviderMyst.java:169)
      3 frames
    6. Minecraft
      ChunkProviderServer.originalLoadChunk
      1. net.minecraft.world.gen.ChunkProviderServer.func_73153_a(ChunkProviderServer.java:279)
      2. net.minecraft.world.chunk.Chunk.func_76624_a(Chunk.java:1055)
      3. net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190)
      3 frames
    7. com.xcompwiz.mystcraft
      WorldProviderMystDummy$ChunkProviderServerDummy.originalLoadChunk
      1. com.xcompwiz.mystcraft.world.profiling.WorldProviderMystDummy$ChunkProviderServerDummy.originalLoadChunk(WorldProviderMystDummy.java:62)
      1 frame
    8. Minecraft
      ChunkProviderServer.func_73158_c
      1. net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131)
      2. net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101)
      2 frames
    9. com.xcompwiz.mystcraft
      InstabilityDataCalculator.onServerTick
      1. com.xcompwiz.mystcraft.world.profiling.WorldProviderMystDummy.generateNextChunk(WorldProviderMystDummy.java:217)
      2. com.xcompwiz.mystcraft.world.profiling.InstabilityDataCalculator.stepChunkGeneration(InstabilityDataCalculator.java:343)
      3. com.xcompwiz.mystcraft.world.profiling.InstabilityDataCalculator.onServerTick(InstabilityDataCalculator.java:180)
      3 frames
    10. MC Forge
      FMLCommonHandler.onPostServerTick
      1. cpw.mods.fml.common.eventhandler.ASMEventHandler_559_InstabilityDataCalculator_onServerTick_ServerTickEvent.invoke(.dynamic)
      2. cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
      3. cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
      4. cpw.mods.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:247)
      4 frames
    11. MC Server
      MinecraftServer$2.run
      1. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:590)
      2. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:396)
      3. net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
      3 frames