View Issue Details

IDProjectCategoryView StatusLast Update
0001954Industrial-Craft²general / otherpublic2016-08-02 09:12
Reporteretherealflux Assigned ToPlayer  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
OSWindowsOS Version7 
Summary0001954: Rendering fluid cells causes NPE + crash (2.6.25)
DescriptionWhenever one of the fluid cells would appear as an item (in my case, in the creative menu), the game immediately hangs and crashes.

I've tested this for air, biogas, and lava - searching any of those keywords makes Minecraft try to display the corresponding filled cell, which in turn crashes the game.

Empty Universal Fluid Cells are fine.

Summoning an Item entity that is a non-empty cell also causes the crash - it's not just in the inventory (pretty sure it's the same model anyways?)
Steps To ReproduceOpen the Creative menu, and search for a cell. The game crashes.
Additional InformationTime: 8/2/16 3:56 AM
Description: Rendering item

java.lang.NullPointerException: Rendering item
    at ic2.core.model.MaskOverlayModel.get(MaskOverlayModel.java:84)
    at ic2.core.item.FluidCellModel.access$100(FluidCellModel.java:21)
    at ic2.core.item.FluidCellModel$1.handleItemState(FluidCellModel.java:45)
    at net.minecraft.client.renderer.RenderItem.func_184393_a(RenderItem.java:249)
    at net.minecraft.client.renderer.RenderItem.func_184391_a(RenderItem.java:348)
    at net.minecraft.client.gui.GuiIngame.func_184044_a(GuiIngame.java:1123)
    at net.minecraft.client.gui.GuiIngame.func_180479_a(GuiIngame.java:510)
    at net.minecraftforge.client.GuiIngameForge.func_180479_a(GuiIngameForge.java:329)
    at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:140)
    at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1072)
    at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1076)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:371)
    at net.minecraft.client.main.Main.main(SourceFile:124)
    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:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


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

-- Head --
Thread: Client thread
Stacktrace:
    at ic2.core.model.MaskOverlayModel.get(MaskOverlayModel.java:84)
    at ic2.core.item.FluidCellModel.access$100(FluidCellModel.java:21)
    at ic2.core.item.FluidCellModel$1.handleItemState(FluidCellModel.java:45)
    at net.minecraft.client.renderer.RenderItem.func_184393_a(RenderItem.java:249)

-- Item being rendered --
Details:
    Item Type: ic2.core.item.ItemFluidCell@2083bcfd
    Item Aux: 0
    Item NBT: {fluid:{FluidName:"ic2air",Amount:1000}}
    Item Foil: false
Stacktrace:
    at net.minecraft.client.renderer.RenderItem.func_184391_a(RenderItem.java:348)
    at net.minecraft.client.gui.GuiIngame.func_184044_a(GuiIngame.java:1123)
    at net.minecraft.client.gui.GuiIngame.func_180479_a(GuiIngame.java:510)
    at net.minecraftforge.client.GuiIngameForge.func_180479_a(GuiIngameForge.java:329)
    at net.minecraftforge.client.GuiIngameForge.func_175180_a(GuiIngameForge.java:140)
TagsNo tags attached.
Minecraft Version1.10.2

Activities

Player

2016-08-02 09:12

administrator   ~0004660

fixed for 0000026.

Issue History

Date Modified Username Field Change
2016-08-02 09:07 etherealflux New Issue
2016-08-02 09:12 Player Note Added: 0004660
2016-08-02 09:12 Player Status new => resolved
2016-08-02 09:12 Player Resolution open => fixed
2016-08-02 09:12 Player Assigned To => Player