Aroma1997 / BetterChests

BetterChests Mod for Minecraft
http://www.minecraftforum.net/topic/1679684-
GNU Lesser General Public License v3.0
21 stars 16 forks source link

Ticking Block / World-Destroying crash when using non-vanilla seeds and planting upgrade. #47

Closed nokturnihs closed 9 years ago

nokturnihs commented 10 years ago

Hi, putting in this issue report as you requested from the minecraftforums site.

Basically, when using mod-provided seeds with the betterchests mod and the planting upgrade, this causes a crash that renders the world useless unless you use MCEdit and remove the chest completely. While some people may be able to do this, others will lose those worlds who don't know how to salvage their savegame.

Here's the Crash Report - In this instance I was using Pam's Mob-Drop Crops and ender pearl seeds.

---- Minecraft Crash Report ---- // Ooh. Shiny.

Time: 9/30/14 5:59 PM Description: Ticking block entity

java.lang.NullPointerException: Ticking block entity at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(SourceFile:57) at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:595) at net.minecraft.world.World.func_147465_d(World.java:441) at aroma1997.betterchests.upgrades.Planting.doBlock(Planting.java:73) at aroma1997.betterchests.upgrades.Planting.updateChest(Planting.java:32) at aroma1997.betterchests.ItemUpgrade.update(ItemUpgrade.java:133) at aroma1997.betterchests.UpgradeHelper.updateChest(UpgradeHelper.java:35) at aroma1997.betterchests.TileEntityBChest.func_145845_h(TileEntityBChest.java:112) at net.minecraft.world.World.func_72939_s(World.java:1912) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489) at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

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

-- Head -- Stacktrace: at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(SourceFile:57) at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:595) at net.minecraft.world.World.func_147465_d(World.java:441) at aroma1997.betterchests.upgrades.Planting.doBlock(Planting.java:73) at aroma1997.betterchests.upgrades.Planting.updateChest(Planting.java:32) at aroma1997.betterchests.ItemUpgrade.update(ItemUpgrade.java:133) at aroma1997.betterchests.UpgradeHelper.updateChest(UpgradeHelper.java:35) at aroma1997.betterchests.TileEntityBChest.func_145845_h(TileEntityBChest.java:112)

-- Block entity being ticked -- Details: Name: adjustableChest // aroma1997.betterchests.TileEntityBChest Block type: ID #1987 (tile.betterchests:betterChest // aroma1997.betterchests.BlockBChest) Block data value: 5 / 0x5 / 0b0101 Block location: World: (-27,64,659), Chunk: (at 5,4,3 in -2,41; contains blocks -32,0,656 to -17,255,671), Region: (-1,1; contains chunks -32,32 to -1,63, blocks -512,0,512 to -1,255,1023) Actual block type: ID #1987 (tile.betterchests:betterChest // aroma1997.betterchests.BlockBChest) Actual block data value: 5 / 0x5 / 0b0101 Stacktrace: at net.minecraft.world.World.func_72939_s(World.java:1912) at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

-- Affected level -- Details: Level name: Majester All players: 1 total; ['nokturnihs'/385, l='Majester', x=-24.44, y=64.00, z=659.58]] Chunk stats: ServerChunkCache: 627 Drop: 0 Level seed: -1227218183 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (0,0,0), Chunk: (at 0,0,0 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 0 game time, 0 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: ERROR NullPointerException: null Stacktrace: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636) at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547) at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

-- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.7.0_60, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3218181848 bytes (3069 MB) / 7302283264 bytes (6964 MB) up to 7302283264 bytes (6964 MB) Mod Pack: Unknown / None LiteLoader Mods: 3 loaded mod(s)

Aroma1997 commented 10 years ago

What Seed are you using?

nokturnihs commented 9 years ago

any Seeds from Pam'sMobDropCrops. dirt used doesn't make a difference. happens on soul sand, fertilized Dirt from Random Things, Rich Soil from Elemental Caves. I can send you a link to the modpack I'm building where I experience the issue if you would like to check it out and see the bug.

nokturnihs commented 9 years ago

I have to use MCEdit and delete the chest to fix the bug.

Aroma1997 commented 9 years ago

OK, I'll take a look at that.

Aroma1997 commented 9 years ago

Should be semi-fixed in 956a29e7e9993928e108618ebd91e5a3efff3626