Thutmose / Pokecube

Primary Development has moved to: https://github.com/Pokecube-Development
https://github.com/Pokecube-Development
19 stars 7 forks source link

Server crash, not possible to reboot. #66

Closed doctorkreger closed 8 years ago

doctorkreger commented 8 years ago

Issue Description:

Server had been running for a while with no issues, suddenly crashed.

May be coincidental, but I was harvesting berries near some some newly grown oran trees and the crash log mentions berries!

I removed the mods, reloaded the world to finalize the removal of the old blocks, then reloaded the server again, this time with pokemods. The server booted, but crashed again, with the same error log when a player attempted a login.


WARNING: coremods are present: EnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar) Contact their authors BEFORE contacting forge

// Why did you do that?

Time: 6/25/16 11:58 AM Description: Exception ticking world

java.lang.NullPointerException: Exception ticking world at pokecube.core.PokecubeItems.getStack(PokecubeItems.java:386) at pokecube.core.PokecubeItems.getStack(PokecubeItems.java:381) at pokecube.core.items.berries.BerryManager.getBerryItem(BerryManager.java:165) at pokecube.core.blocks.berries.BlockBerryFruit.getBerryStack(BlockBerryFruit.java:141) at pokecube.core.blocks.berries.BlockBerryFruit.getDrops(BlockBerryFruit.java:117) at pokecube.core.blocks.berries.BlockBerryFruit.func_180653_a(BlockBerryFruit.java:84) at net.minecraft.block.Block.func_176226_b(Block.java:531) at net.minecraft.block.BlockBush.func_176475_e(BlockBush.java:65) at net.minecraft.block.BlockBush.func_180650_b(BlockBush.java:58) at net.minecraft.block.Block.func_180645_a(Block.java:474) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:470) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:219) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:696) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) at java.lang.Thread.run(Unknown Source)

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

-- Head -- Thread: Server thread Stacktrace: at pokecube.core.PokecubeItems.getStack(PokecubeItems.java:386) at pokecube.core.PokecubeItems.getStack(PokecubeItems.java:381) at pokecube.core.items.berries.BerryManager.getBerryItem(BerryManager.java:165) at pokecube.core.blocks.berries.BlockBerryFruit.getBerryStack(BlockBerryFruit.java:141) at pokecube.core.blocks.berries.BlockBerryFruit.getDrops(BlockBerryFruit.java:117) at pokecube.core.blocks.berries.BlockBerryFruit.func_180653_a(BlockBerryFruit.java:84) at net.minecraft.block.Block.func_176226_b(Block.java:531) at net.minecraft.block.BlockBush.func_176475_e(BlockBush.java:65) at net.minecraft.block.BlockBush.func_180650_b(BlockBush.java:58) at net.minecraft.block.Block.func_180645_a(Block.java:474) at net.minecraft.world.WorldServer.func_147456_g(WorldServer.java:470) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:219)

-- Affected level -- Details: Level name: world All players: 1 total; [EntityPlayerMP['LadySinger'/172, l='world', x=198.50, y=82.00, z=231.50]] Chunk stats: ServerChunkCache: 442 Drop: 0 Level seed: 1977900120 Level generator: ID 06 - BIOMESOP, ver 0. Features enabled: true Level generator options: Level spawn location: World: (196,82,228), Chunk: (at 4,5,4 in 12,14; contains blocks 192,0,224 to 207,255,239), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 2706732 game time, 2761352 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 37826 (now: false), thunder time: 117298 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:696) at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:385) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:611) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:469) at java.lang.Thread.run(Unknown Source)

-- System Details -- Details: Minecraft Version: 1.9.4 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 2475558744 bytes (2360 MB) / 2998927360 bytes (2860 MB) up to 2998927360 bytes (2860 MB) JVM Flags: 2 total; -Xmx3072M -Xms3072M IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 104 FML: MCP 9.28 Powered by Forge 12.17.0.1976 55 mods loaded, 55 mods active States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored UCHIJAAAA mcp{9.19} Minecraft Coder Pack UCHIJAAAA FML{8.0.99.99} Forge Mod Loader UCHIJAAAA Forge{12.17.0.1976} Minecraft Forge UCHIJAAAA actuallyadditions{1.9.4-r45} Actually Additions UCHIJAAAA alt{1.05} Additional Loot Tables UCHIJAAAA adobeblocks{6.0.0.13} Adobe Blocks 2 UCHIJAAAA adobeblocksvc{3.2-fork} Adobe Blocks Version Checker UCHIJAAAA basemetals{2.3.2} Base Metals UCHIJAAAA Baubles{1.2.1.0} [Baubles](Baubles-1.9.4-1.2.1.0 %281%29.jar) UCHIJAAAA BiomesOPlenty{4.1.0.2029} Biomes O' Plenty UCHIJAAAA JEI{3.6.7.216} Just Enough Items UCHIJAAAA BloodMagic{1.9.4-2.0.1-40} Blood Magic: Alchemical Wizardry UCHIJAAAA Botania{r1.8-310} Botania UCHIJAAAA Chameleon{1.9-2.1.4} Chameleon UCHIJAAAA claycraft{2.0} [Claycraft](Claycraftmod v2.0 - MC1.9.4 Forge.jar) UCHIJAAAA nt{1.0} Climbing Claw UCHIJAAAA cookingforblockheads{3.1.26} Cooking for Blockheads UCHIJAAAA MineTweaker3{3.0.9} MineTweaker 3 UCHIJAAAA endercore{1.9.4-0.4.0.26-alpha} EnderCore UCHIJAAAA EnderIO{1.9.4-3.0.0.45_alpha} Ender IO UCHIJAAAA IronChest{6.0.146.788} Iron Chest UCHIJAAAA moreanvils{6.0.1.10} More Anvils UCHIJAAAA xreliquary{1.9.4-1.3.2.390} Reliquary UCHIJAAAA fluidity{6.0.0.6} Fluidity UCHIJAAAA forestry{5.0.23.170} Forestry UCHIJAAAA substratum{1.4.0.1} [Substratum](Substratum-1.9.4-1.4.0.1 %281%29.jar) UCHIJAAAA foundry{2.0.0.0-beta5} Foundry UCHIJAAAA hempfarmer{1.9.4-1968-1.51} HempFarmer UCHIJAAAA hopperducts{1.4.7} [Hopper Ducts](hopperducts-mc1.9.4-1.4.7 %281%29.jar) UCHIJAAAA inventorysorter{0.9.1+41} Simple Inventory sorting UCHIJAAAA mantle{1.9.4-0.10.2.jenkins149} Mantle UCHIJAAAA modernmetals{0.11.0} Modern Metals UCHIJAAAA moreanvilsvc{3.2} More Anvils Version Checker UCHIJAAAA yurtmod{5.01} Nomadic Tents UCHIJAAAA orespawn{1.0.3} Ore Spawn UCHIJAAAA harvestcraft{1.9.4-pre} [Pam's HarvestCraft](Pam's HarvestCraft 1.9.4a.jar) UCHIJAAAA thutcore{3.1.2} ThutCore UCHIJAAAA NBTEditpqb{1.8.9-1.0} [In-game NBTEdit - Pokecube Edition](Pokecube Core-3.3.1.jar) UCHIJAAAA pokecube{3.3.1} [PokΘcube Core](Pokecube Core-3.3.1.jar) UCHIJAAAA pokecube_ml{0.1.0} [Pokecube Model Loader](Pokecube Core-3.3.1.jar) UCHIJAAAA pokecube_mobs{2.1.2} [PokΘcube Mobs](Pokecube Mobs-2.1.2.jar) UCHIJAAAA pokecube_adventures{3.3.1} [PokΘcube Revival](Pokecube Revival-3.3.1.jar) UCHIJAAAA pokecube_compat{1.0} [Pokecube Compat](Pokecube Revival-3.3.1.jar) UCHIJAAAA Roguelike{1.5.3} Roguelike Dungeons UCHIJAAAA roots{0.1} Roots UCHIJAAAA AS_Ruins{16.1} Ruins Spawning System UCHIJAAAA SaltMod{1.8.c} Salty Mod UCHIJAAAA slabcraftmod{5.0} [Slabcraft](Slabcraftmod v5.0 - MC1.9.4 Forge.jar) UCHIJAAAA staircraftmod{5.0} [Staircraft](Staircraftmod v5.0 - MC1.9.4 Forge.jar) UCHIJAAAA storagenetwork{1.12.0} Storage Network UCHIJAAAA tconstruct{1.9.4-2.3.3.jenkins263} Tinkers' Construct UCHIJAAAA thuttech{3.0.2} Thut's Tech UCHIJAAAA torcharrowsmod{1.9.4-2} TorchArrowsMod UCHIJAAAA AS_UpdateCheck{1.1.7} AtomicStryker Update Check Mod UCHIJAAAA wallcraftmod{5.0} [Wallcraft](Wallcraftmod v5.0 - MC1.9.4 Forge.jar) Loaded coremods (and transformers): EnderCorePlugin (EnderCore-1.9.4-0.4.0.26-alpha.jar) com.enderio.core.common.transform.EnderCoreTransformer Pulsar/tconstruct loaded Pulses:

    EnderIO: No known problems detected.
    Profiler Position: N/A (disabled)
    Player Count: 1 / 20; [EntityPlayerMP['LadySinger'/172, l='world', x=198.50, y=82.00, z=231.50]]
    Is Modded: Definitely; Server brand changed to 'fml,forge'
    Type: Dedicated Server (map_server.txt)

Affected Versions (Do not use "latest"):

Thutmose commented 8 years ago

I will have that fixed shortly, seems a temporary fix is to disable plant growth.

doctorkreger commented 8 years ago

Thank you for the quick response!

Another workaround is to disable mod, fill the plant airspace with a different block, then reload. A little labor intensive, but it works!

Thutmose commented 8 years ago

ok, I am working on some GUI stuff, hopefully I can get the fix for this out in a couple hours.

Thutmose commented 8 years ago

Hopefully finializing the fixes for this now

doctorkreger commented 8 years ago

Excellent. I posted a few other smaller details to take a look at as well. Thanks for your efforts!

Thutmose commented 8 years ago

This should be fixed in 3.3.3/4.0.3 (1.9.4/1.10)

They have just been uploaded to curse, should be available shortly. Reopen this issue if those fixes didn't work for you.