Pixelmon Mod - Bug tracker

[7.0.6] Mod conflict/crash with Autoplant awaiting team input

Ticket description:
Time: 6/4/19 8:23 AM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
at com.pixelmonmod.pixelmon.items.heldItems.ItemBerry.getPlant(ItemBerry.java:108)
at party.lemons.autoplant.AutoPlant.getPlant(AutoPlant.java:116)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:86)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_430_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
at com.pixelmonmod.pixelmon.items.heldItems.ItemBerry.getPlant(ItemBerry.java:108)
at party.lemons.autoplant.AutoPlant.getPlant(AutoPlant.java:116)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:86)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_430_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
Entity Type: minecraft:item (net.minecraft.entity.item.EntityItem)
Entity ID: 4373
Entity Name: item.item.iapapa_berry
Entity's Exact location: -628.88, 64.00, 452.43
Entity's Block location: World: (-629,64,452), Chunk: (at 11,4,4 in -40,28; contains blocks -640,0,448 to -625,255,463), Region: (-2,0; contains chunks -64,0 to -33,31, blocks -1024,0,0 to -513,255,511)
Entity's Momentum: -0.00, -0.00, -0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)

The game crash when plantable item such as berry/apricorn left on the ground for while and Autoplant mod will try to plant the plantable item, causing soft-corrupt the game save, after that the game will crash again if try to load that world, the solution until fix is enabling "removeErroringEntities" from "Forge" and exit the game after world loaded and disable the setting.

Comments

#18483 Posted by XpanD » 04 Jun 2019 14:32

Thanks for the report.

Does this also happen for berries that cannot be planted by hand? Also, are you sure apricorns cause the exact same issue? Are there any specific berries/apricorns that do work reliably?

#18485 Posted by Candyman » 04 Jun 2019 22:29

Ok my mistake about Apricorn(it just disappeared) and plantable item(apparently the unplantable item also causing same crash too), so i think all the berry could cause same crash as well, here are 2 crash log

Time: 6/5/19 10:25 AM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
at com.pixelmonmod.pixelmon.items.heldItems.ItemBerry.getPlant(ItemBerry.java:108)
at party.lemons.autoplant.AutoPlant.getPlant(AutoPlant.java:116)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:86)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_329_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
at com.pixelmonmod.pixelmon.items.heldItems.ItemBerry.getPlant(ItemBerry.java:108)
at party.lemons.autoplant.AutoPlant.getPlant(AutoPlant.java:116)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:86)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_329_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
Entity Type: minecraft:item (net.minecraft.entity.item.EntityItem)
Entity ID: 10777
Entity Name: item.item.oran_berry
Entity's Exact location: 204.78, 4.00, -24.39
Entity's Block location: World: (204,4,-25), Chunk: (at 12,0,7 in 12,-2; contains blocks 192,0,-32 to 207,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Entity's Momentum: -0.00, -0.00, 0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
_________________________________

Time: 6/5/19 10:17 AM
Description: Ticking entity

java.lang.NullPointerException: Ticking entity
at com.pixelmonmod.pixelmon.blocks.BlockBerryTree.func_180633_a(BlockBerryTree.java:170)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:91)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_329_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:767)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:252)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server thread
Stacktrace:
at com.pixelmonmod.pixelmon.blocks.BlockBerryTree.func_180633_a(BlockBerryTree.java:170)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:91)
at party.lemons.autoplant.AutoPlant.plant(AutoPlant.java:76)
at party.lemons.autoplant.AutoPlant.itemDecay(AutoPlant.java:62)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_329_AutoPlant_itemDecay_ItemExpireEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.event.ForgeEventFactory.onItemExpire(ForgeEventFactory.java:506)
at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:183)
at net.minecraft.world.World.func_72866_a(World.java:1993)
at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:832)
at net.minecraft.world.World.func_72870_g(World.java:1955)

-- Entity being ticked --
Details:
Entity Type: minecraft:item (net.minecraft.entity.item.EntityItem)
Entity ID: 135316
Entity Name: item.item.tamato_berry
Entity's Exact location: 204.60, 4.00, -31.18
Entity's Block location: World: (204,4,-32), Chunk: (at 12,0,0 in 12,-2; contains blocks 192,0,-32 to 207,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Entity's Momentum: 0.00, -0.00, -0.00
Entity's Passengers: []
Entity's Vehicle: ~~ERROR~~ NullPointerException: null
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1759)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:613)

Ticket details

  • Ticket ID: 13803
  • Project: Pixelmon Mod
  • Status: Awaiting team input
  • Component: Crash
  • Project version: 7.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: forge1.12.2-14.23.5.2836
  • What else would be useful to know?: (unknown)
  • Assigned to: XpanD
  • Reported by: Candyman
  • Reporter's tickets: (List all tickets)
  • Reported on: 04 Jun 2019 04:41
  • Ticket last visited by: XpanD on 12 Jun 2019 06:16