Railcraft

Railcraft

34M Downloads

Crash when boiler has 0 fuel and GUI is open

Opened this issue · 0 comments

commented

With the latest RailCraft, 8.0.1.0, I'm getting a crash when the boiler GUI is open and the boiler runs out of fuel.

Details: I have a 36HP boiler, powering a pair of industrial steam engines, which in turn power a refinery. The refinery is trickling fuel into the boiler, but there's not enough fuel for the boiler to run non-stop. When the boiler hits 0 fuel, it pauses for a moment until a bit more fuel trickles in from the refinery, then lights back up and continues heating. There were multiple buckets of fuel in the boiler to start, but the boiler was using more than the refinery was producing (during boiler startup). So, the boiler had 700mb of fuel left after it started the next operation. On the next pass it had only 600, then 500, etc...until it got to a very small number (like 3mb of fuel), at which point, the game crashes to desktop. This only happens when the boiler GUI is open. If the GUI is closed, the boiler would work fine. Attached is the crash report.

---- Minecraft Crash Report ----
// Uh... Did I do that?

Time: 8/25/13 2:46 PM
Description: Rendering screen

java.lang.NullPointerException
at mods.railcraft.client.render.FluidRenderer.getFluidTexture(FluidRenderer.java:36)
at mods.railcraft.common.gui.elements.FluidGauge.draw(FluidGauge.java:37)
at mods.railcraft.client.gui.GuiContainerRailcraft.func_74185_a(GuiContainerRailcraft.java:121)
at mods.railcraft.client.gui.GuiBoilerLiquid.func_74185_a(GuiBoilerLiquid.java:27)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:111)
at mods.railcraft.client.gui.GuiContainerRailcraft.func_73863_a(GuiContainerRailcraft.java:33)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1149)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:934)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:826)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at magic.launcher.Launcher.main(Unknown Source)

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

-- Head --
Stacktrace:
at mods.railcraft.client.render.FluidRenderer.getFluidTexture(FluidRenderer.java:36)
at mods.railcraft.common.gui.elements.FluidGauge.draw(FluidGauge.java:37)
at mods.railcraft.client.gui.GuiContainerRailcraft.func_74185_a(GuiContainerRailcraft.java:121)
at mods.railcraft.client.gui.GuiBoilerLiquid.func_74185_a(GuiBoilerLiquid.java:27)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:111)
at mods.railcraft.client.gui.GuiContainerRailcraft.func_73863_a(GuiContainerRailcraft.java:33)

-- Screen render details --
Details:
Screen name: mods.railcraft.client.gui.GuiBoilerLiquid
Mouse location: Scaled: (512, 349). Absolute: (1025, 318)
Screen size: Scaled: (960, 509). Absolute: (1920, 1017). Scale factor of 2

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['Haggle1996'/207, l='MpServer', x=-310.88, y=19.62, z=231.83]]
Chunk stats: MultiplayerChunkCache: 441
Level seed: 0
Level generator: ID 04 - BIOMESOP, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (-234,64,169), Chunk: (at 6,4,9 in -15,10; contains blocks -240,0,160 to -225,255,175), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 1894634 game time, 1932968 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: true), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 82 total; [EntityCreeper['Creeper'/7, l='MpServer', x=-389.78, y=21.00, z=157.00], EntitySpider['Spider'/8, l='MpServer', x=-388.47, y=27.39, z=154.95], EntityZombie['Zombie'/9, l='MpServer', x=-388.50, y=24.00, z=194.50], EntityCreeper['Creeper'/10, l='MpServer', x=-385.50, y=23.00, z=194.50], EntityWitch['Witch'/131, l='MpServer', x=-254.22, y=18.03, z=160.31], EntityZombie['Zombie'/133, l='MpServer', x=-254.50, y=19.00, z=289.50], EntityCow['Cow'/13, l='MpServer', x=-387.50, y=83.00, z=295.84], EntityCreeper['Creeper'/132, l='MpServer', x=-241.50, y=16.00, z=226.50], EntitySpider['Spider'/134, l='MpServer', x=-241.50, y=48.00, z=309.50], EntitySkeleton['Skeleton'/19, l='MpServer', x=-369.50, y=29.00, z=172.50], EntityBat['Bat'/21, l='MpServer', x=-377.52, y=22.98, z=172.36], EntitySkeleton['Skeleton'/20, l='MpServer', x=-370.09, y=28.00, z=174.50], EntitySkeleton['Skeleton'/23, l='MpServer', x=-379.50, y=29.00, z=214.50], EntitySkeleton['Skeleton'/22, l='MpServer', x=-382.50, y=34.00, z=166.50], EntityBat['Bat'/25, l='MpServer', x=-372.75, y=38.10, z=272.75], EntityZombie['Zombie'/27, l='MpServer', x=-376.50, y=49.00, z=283.50], EntityZombie['Zombie'/26, l='MpServer', x=-381.50, y=49.00, z=279.50], EntityZombie['Zombie'/29, l='MpServer', x=-377.50, y=49.00, z=277.50], EntityBlock['unknown'/270, l='MpServer', x=-317.75, y=26.00, z=226.25], EntityZombie['Zombie'/28, l='MpServer', x=-375.50, y=49.00, z=280.50], EntityBat['Bat'/31, l='MpServer', x=-379.25, y=62.10, z=277.25], EntityBat['Bat'/30, l='MpServer', x=-381.72, y=59.00, z=281.48], EntityCow['Cow'/32, l='MpServer', x=-369.28, y=63.00, z=300.28], EntitySkeleton['Skeleton'/42, l='MpServer', x=-366.25, y=28.00, z=173.50], EntitySkeleton['Skeleton'/43, l='MpServer', x=-359.50, y=30.00, z=180.50], EntityZombie['Zombie'/46, l='MpServer', x=-358.50, y=30.00, z=272.50], EntityEnderman['Enderman'/47, l='MpServer', x=-358.50, y=34.00, z=279.50], EntityZombie['Zombie'/44, l='MpServer', x=-352.50, y=31.00, z=253.50], EntitySlime['Slime'/45, l='MpServer', x=-356.78, y=30.00, z=268.80], EntitySkeleton['Skeleton'/49, l='MpServer', x=-358.50, y=35.00, z=281.50], EntitySkeleton['Skeleton'/48, l='MpServer', x=-355.50, y=35.00, z=281.09], EntityCreeper['Creeper'/59, l='MpServer', x=-341.50, y=26.00, z=163.50], EntityCreeper['Creeper'/58, l='MpServer', x=-341.50, y=26.00, z=165.50], EntitySlime['Slime'/57, l='MpServer', x=-338.50, y=28.00, z=162.31], EntitySkeleton['Skeleton'/63, l='MpServer', x=-346.50, y=34.00, z=287.50], EntitySkeleton['Skeleton'/62, l='MpServer', x=-347.50, y=34.00, z=286.50], EntityBat['Bat'/61, l='MpServer', x=-343.80, y=27.30, z=172.18], EntityCreeper['Creeper'/60, l='MpServer', x=-342.50, y=26.00, z=162.50], EntityBat['Bat'/64, l='MpServer', x=-336.41, y=31.10, z=296.75], EntitySkeleton['Skeleton'/65, l='MpServer', x=-346.50, y=34.00, z=290.50], EntitySpider['Spider'/85, l='MpServer', x=-306.00, y=10.00, z=171.25], EntityBlock['unknown'/462, l='MpServer', x=-339.75, y=31.01, z=147.25], EntityCow['Cow'/87, l='MpServer', x=-318.53, y=78.00, z=239.09], EntityItem['item.tile.torch'/86, l='MpServer', x=-312.19, y=26.13, z=230.41], EntityBat['Bat'/80, l='MpServer', x=-332.38, y=12.07, z=244.42], EntityCow['Cow'/93, l='MpServer', x=-315.94, y=78.00, z=236.66], EntityCow['Cow'/92, l='MpServer', x=-318.55, y=78.00, z=237.95], EntityCow['Cow'/95, l='MpServer', x=-315.45, y=78.00, z=233.67], EntityCow['Cow'/94, l='MpServer', x=-318.53, y=78.00, z=235.39], EntityCow['Cow'/89, l='MpServer', x=-315.45, y=78.00, z=232.45], EntityCow['Cow'/88, l='MpServer', x=-316.66, y=78.00, z=232.47], EntityCow['Cow'/91, l='MpServer', x=-316.71, y=78.00, z=233.84], EntityCow['Cow'/90, l='MpServer', x=-318.10, y=78.00, z=233.50], EntityCow['Cow'/102, l='MpServer', x=-316.23, y=78.00, z=242.55], EntityCow['Cow'/103, l='MpServer', x=-316.70, y=78.00, z=242.53], EntityCow['Cow'/100, l='MpServer', x=-316.72, y=78.00, z=239.69], EntityCow['Cow'/101, l='MpServer', x=-315.50, y=78.00, z=239.66], EntityCow['Cow'/98, l='MpServer', x=-315.47, y=78.00, z=235.42], EntityCow['Cow'/99, l='MpServer', x=-318.26, y=78.00, z=236.69], EntityCow['Cow'/96, l='MpServer', x=-317.29, y=78.00, z=235.05], EntityCow['Cow'/97, l='MpServer', x=-317.41, y=78.00, z=238.22], EntityCow['Cow'/108, l='MpServer', x=-317.31, y=78.00, z=240.84], EntityCow['Cow'/106, l='MpServer', x=-315.45, y=78.00, z=240.62], EntityCow['Cow'/107, l='MpServer', x=-318.53, y=78.00, z=240.28], EntityCow['Cow'/104, l='MpServer', x=-318.55, y=78.00, z=242.53], EntityCow['Cow'/105, l='MpServer', x=-318.53, y=78.00, z=241.44], EntitySquid['Squid'/119, l='MpServer', x=-281.20, y=55.79, z=222.96], EntitySquid['Squid'/118, l='MpServer', x=-278.95, y=51.12, z=221.74], EntitySquid['Squid'/117, l='MpServer', x=-275.61, y=51.28, z=206.82], EntitySquid['Squid'/116, l='MpServer', x=-279.87, y=52.95, z=211.52], EntityBat['Bat'/115, l='MpServer', x=-287.49, y=9.55, z=163.40], EntityCreeper['Creeper'/114, l='MpServer', x=-295.50, y=35.00, z=292.50], EntityBat['Bat'/113, l='MpServer', x=-295.92, y=9.81, z=167.88], EntityWitch['Witch'/112, l='MpServer', x=-296.53, y=11.12, z=152.09], EntityBat['Bat'/126, l='MpServer', x=-257.19, y=19.06, z=290.25], EntityClientPlayerMP['Haggle1996'/207, l='MpServer', x=-310.88, y=19.62, z=231.83], EntityZombie['Zombie'/125, l='MpServer', x=-257.50, y=20.00, z=292.50], EntityZombie['Zombie'/124, l='MpServer', x=-260.50, y=19.00, z=286.50], EntitySquid['Squid'/123, l='MpServer', x=-269.59, y=54.41, z=223.16], EntityCreeper['Creeper'/122, l='MpServer', x=-272.50, y=21.00, z=289.50], EntityBat['Bat'/121, l='MpServer', x=-260.77, y=19.82, z=287.13], EntitySquid['Squid'/120, l='MpServer', x=-272.69, y=55.38, z=231.03]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.func_72914_a(WorldClient.java:440)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2298)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:844)
at net.minecraft.client.main.Main.main(SourceFile:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at magic.launcher.Launcher.main(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.6.2
Operating System: Windows 8 (amd64) version 6.2
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1308857264 bytes (1248 MB) / 2045640704 bytes (1950 MB) up to 2045640704 bytes (1950 MB)
JVM Flags: 2 total; -Xms2048m -Xmx2048m
AABB Pool Size: 8805 (493080 bytes; 0 MB) allocated, 1514 (84784 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 60
FML: MCP v8.04 FML v6.2.55.842 Minecraft Forge 9.10.0.842 Optifine OptiFine_1.6.2_HD_U_B4 22 mods loaded, 22 mods active
mcp{8.04} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.2.55.842} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.10.0.842} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ArchimedesShipsMod{1.6.2 v1.3.5} Archimedes' Ships Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
mod_ReiMinimap{v3.4_01 [1.6.2]} mod_ReiMinimap Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioCraft{1.4.0} BiblioCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiomesOPlenty{0.6.2} Biomes O' Plenty Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{4.0.2} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{4.0.2} BC Builders Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{4.0.2} BC Energy Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{4.0.2} BC Factory Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{4.0.2} BC Transport Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{4.0.2} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ComputerCraft{1.56} ComputerCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CCTurtle{1.56} ComputerCraft Turtles Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
craftguide{1.5.2} CraftGuide Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flintlock_guns{1.6_5} Flintlock Guns Mod Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forestry{2.3.0.0} Forestry for Minecraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IronChest{5.3.20.542} Iron Chest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
millenaire{5.1.9} Millénaire Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Railcraft{8.0.0.0} Railcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
TwilightForest{1.19.0} The Twilight Forest Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Launched Version: 1.6.2-Forge9.10.0.842
LWJGL: 2.9.0
OpenGL: GeForce GTX 660/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 4467 (250152 bytes; 0 MB) allocated, 1 (56 bytes; 0 MB) used