View Issue Details

IDProjectCategoryView StatusLast Update
0002403Industrial-Craft²E-Net, cabling, storage/transformer blockspublic2018-08-17 17:36
Reportercooliojazz Assigned ToChocohead  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Fixed in VersionBuilds for MC 1.12.x 
Summary0002403: Empty painter in off-hand crash
DescriptionWhen attempting to place any painted insulated cable via an off-hand painter that doesn't have dye (eg. placing one more cable after a dyed painter runs out), the client and server crashes and upon reloading, the cable will be replaced by a block with a broken texture.

TagsNo tags attached.
Minecraft Version1.12.2

Activities

cooliojazz

2018-08-07 18:03

reporter  

crash-2018-08-07_11.55.58-client.txt (12,961 bytes)   
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 8/7/18 11:55 AM
Description: Tesselating block model

java.lang.NullPointerException: Tesselating block model
	at ic2.core.block.wiring.TileEntityCable$CableRenderState.hashCode(TileEntityCable.java:751)
	at com.google.common.base.Equivalence$Equals.doHash(Equivalence.java:351)
	at com.google.common.base.Equivalence.hash(Equivalence.java:117)
	at com.google.common.cache.LocalCache.hash(LocalCache.java:1851)
	at com.google.common.cache.LocalCache.get(LocalCache.java:4153)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
	at ic2.core.block.wiring.CableModel.func_188616_a(CableModel.java:142)
	at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.render(ForgeBlockModelRenderer.java:99)
	at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.func_187498_b(ForgeBlockModelRenderer.java:85)
	at net.minecraft.client.renderer.BlockModelRenderer.func_187493_a(BlockModelRenderer.java:47)
	at net.minecraft.client.renderer.BlockModelRenderer.func_178267_a(BlockModelRenderer.java:38)
	at net.minecraft.client.renderer.BlockRendererDispatcher.func_175018_a(BlockRendererDispatcher.java:80)
	at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:200)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100)
	at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_178505_b(ChunkRenderDispatcher.java:172)
	at net.minecraft.client.renderer.RenderGlobal.func_174970_a(RenderGlobal.java:976)
	at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1316)
	at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)
	at net.minecraft.client.renderer.EntityRenderer.func_181560_a(EntityRenderer.java:1062)
	at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1117)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	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.block.wiring.TileEntityCable$CableRenderState.hashCode(TileEntityCable.java:751)
	at com.google.common.base.Equivalence$Equals.doHash(Equivalence.java:351)
	at com.google.common.base.Equivalence.hash(Equivalence.java:117)
	at com.google.common.cache.LocalCache.hash(LocalCache.java:1851)
	at com.google.common.cache.LocalCache.get(LocalCache.java:4153)
	at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158)
	at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147)
	at ic2.core.block.wiring.CableModel.func_188616_a(CableModel.java:142)
	at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.render(ForgeBlockModelRenderer.java:99)
	at net.minecraftforge.client.model.pipeline.ForgeBlockModelRenderer.func_187498_b(ForgeBlockModelRenderer.java:85)

-- Block model being tesselated --
Details:
	Block: ic2:te[facing=down,material=field_151580_n,transparent=true,type=cable;renderstate=WallState<light_gray, null>,renderstate=CableState<copper, 1, null, None, 0, false>]
	Block location: World: (726,4,1268), Chunk: (at 6,0,4 in 45,79; contains blocks 720,0,1264 to 735,255,1279), Region: (1,2; contains chunks 32,64 to 63,95, blocks 512,0,1024 to 1023,255,1535)
	Using AO: true
Stacktrace:
	at net.minecraft.client.renderer.BlockModelRenderer.func_187493_a(BlockModelRenderer.java:47)
	at net.minecraft.client.renderer.BlockModelRenderer.func_178267_a(BlockModelRenderer.java:38)

-- Block being tesselated --
Details:
	Block type: ID #253 (ic2.te // ic2.core.block.BlockTileEntity)
	Block data value: 9 / 0x9 / 0b1001
	Block location: World: (726,4,1268), Chunk: (at 6,0,4 in 45,79; contains blocks 720,0,1264 to 735,255,1279), Region: (1,2; contains chunks 32,64 to 63,95, blocks 512,0,1024 to 1023,255,1535)
Stacktrace:
	at net.minecraft.client.renderer.BlockRendererDispatcher.func_175018_a(BlockRendererDispatcher.java:80)
	at net.minecraft.client.renderer.chunk.RenderChunk.func_178581_b(RenderChunk.java:200)
	at net.minecraft.client.renderer.chunk.ChunkRenderWorker.func_178474_a(SourceFile:100)
	at net.minecraft.client.renderer.chunk.ChunkRenderDispatcher.func_178505_b(ChunkRenderDispatcher.java:172)
	at net.minecraft.client.renderer.RenderGlobal.func_174970_a(RenderGlobal.java:976)
	at net.minecraft.client.renderer.EntityRenderer.func_175068_a(EntityRenderer.java:1316)
	at net.minecraft.client.renderer.EntityRenderer.func_78471_a(EntityRenderer.java:1259)

-- Affected level --
Details:
	Level name: MpServer
	All players: 1 total; [EntityPlayerSP['CoolioJazz'/81, l='MpServer', x=728.12, y=4.00, z=1268.24]]
	Chunk stats: MultiplayerChunkCache: 441, 441
	Level seed: 0
	Level generator: ID 01 - flat, ver 0. Features enabled: false
	Level generator options: 
	Level spawn location: World: (734,4,1252), Chunk: (at 14,0,4 in 45,78; contains blocks 720,0,1248 to 735,255,1263), Region: (1,2; contains chunks 32,64 to 63,95, blocks 512,0,1024 to 1023,255,1535)
	Level time: 961 game time, 961 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: Game mode: creative (ID 1). Hardcore: false. Cheats: false
	Forced entities: 51 total; [EntitySlime['Slime'/10, l='MpServer', x=656.53, y=4.00, z=1323.91], EntityCow['Cow'/11, l='MpServer', x=650.13, y=4.00, z=1330.86], EntitySlime['Slime'/15373, l='MpServer', x=745.77, y=4.72, z=1313.03], EntityChicken['Chicken'/14, l='MpServer', x=668.50, y=4.00, z=1348.50], EntitySlime['Slime'/30222, l='MpServer', x=732.39, y=4.00, z=1319.61], EntityChicken['Chicken'/15, l='MpServer', x=672.19, y=4.00, z=1343.71], EntityPlayerSP['CoolioJazz'/81, l='MpServer', x=728.12, y=4.00, z=1268.24], EntityChicken['Chicken'/18, l='MpServer', x=685.50, y=4.00, z=1259.50], EntityChicken['Chicken'/19, l='MpServer', x=680.84, y=4.00, z=1267.11], EntityPig['Pig'/23, l='MpServer', x=692.50, y=4.00, z=1263.50], EntityPig['Pig'/24, l='MpServer', x=690.50, y=4.00, z=1264.50], EntityChicken['Chicken'/26, l='MpServer', x=724.12, y=4.00, z=1189.32], EntitySlime['Slime'/27, l='MpServer', x=702.60, y=4.00, z=1283.08], EntitySlime['Slime'/28, l='MpServer', x=703.97, y=4.00, z=1316.10], EntitySheep['Sheep'/32, l='MpServer', x=733.75, y=4.00, z=1200.43], EntitySlime['Slime'/33, l='MpServer', x=731.63, y=4.00, z=1326.38], EntityChicken['Chicken'/34, l='MpServer', x=728.50, y=4.00, z=1332.50], EntityChicken['Chicken'/35, l='MpServer', x=728.50, y=4.00, z=1328.50], EntityChicken['Chicken'/36, l='MpServer', x=729.50, y=4.00, z=1330.50], EntityChicken['Chicken'/37, l='MpServer', x=731.93, y=4.00, z=1330.93], EntitySheep['Sheep'/38, l='MpServer', x=740.50, y=4.00, z=1193.50], EntitySheep['Sheep'/39, l='MpServer', x=750.19, y=4.00, z=1201.26], EntitySheep['Sheep'/40, l='MpServer', x=745.38, y=4.00, z=1203.34], EntitySheep['Sheep'/41, l='MpServer', x=744.50, y=4.00, z=1229.50], EntitySheep['Sheep'/42, l='MpServer', x=743.50, y=4.00, z=1228.50], EntitySlime['Slime'/46250, l='MpServer', x=707.22, y=5.17, z=1237.44], EntityPig['Pig'/43, l='MpServer', x=748.70, y=4.00, z=1227.66], EntitySlime['Slime'/12203, l='MpServer', x=753.23, y=4.00, z=1239.23], EntityPig['Pig'/44, l='MpServer', x=749.35, y=4.00, z=1222.78], EntitySlime['Slime'/45, l='MpServer', x=722.49, y=4.08, z=1305.89], EntitySlime['Slime'/46, l='MpServer', x=747.53, y=4.00, z=1243.50], EntitySlime['Slime'/47, l='MpServer', x=763.21, y=4.00, z=1270.66], EntitySlime['Slime'/48, l='MpServer', x=755.17, y=5.08, z=1289.31], EntityHorse['Horse'/49, l='MpServer', x=772.90, y=4.00, z=1192.39], EntityHorse['Horse'/50, l='MpServer', x=774.47, y=4.00, z=1190.74], EntityHorse['Horse'/51, l='MpServer', x=774.44, y=4.00, z=1191.90], EntitySheep['Sheep'/52, l='MpServer', x=776.50, y=4.00, z=1190.57], EntitySlime['Slime'/53, l='MpServer', x=782.24, y=4.00, z=1286.42], EntitySlime['Slime'/54, l='MpServer', x=770.83, y=4.00, z=1306.36], EntitySlime['Slime'/55, l='MpServer', x=780.54, y=4.00, z=1323.55], EntitySlime['Slime'/56, l='MpServer', x=767.49, y=4.00, z=1312.86], EntityChicken['Chicken'/57, l='MpServer', x=783.50, y=4.00, z=1329.50], EntityChicken['Chicken'/58, l='MpServer', x=779.50, y=4.00, z=1331.50], EntityChicken['Chicken'/59, l='MpServer', x=781.50, y=4.00, z=1328.50], EntitySlime['Slime'/60, l='MpServer', x=798.28, y=5.08, z=1256.62], EntityHorse['Horse'/61, l='MpServer', x=785.50, y=4.00, z=1325.50], EntityCow['Cow'/62, l='MpServer', x=806.50, y=4.00, z=1211.50], EntityCow['Cow'/64, l='MpServer', x=805.84, y=4.00, z=1216.16], EntitySlime['Slime'/29770, l='MpServer', x=717.76, y=4.00, z=1318.20], EntitySlime['Slime'/44877, l='MpServer', x=707.68, y=4.55, z=1314.47], EntitySlime['Slime'/30551, l='MpServer', x=782.06, y=4.00, z=1314.97]]
	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:420)
	at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2739)
	at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:418)
	at net.minecraft.client.main.Main.main(SourceFile:123)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1330675832 bytes (1269 MB) / 2449473536 bytes (2336 MB) up to 5368709120 bytes (5120 MB)
	JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.4.2725 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State     | ID        | Version      | Source                             | Signature                                |
	|:--------- |:--------- |:------------ |:---------------------------------- |:---------------------------------------- |
	| UCHIJAAAA | minecraft | 1.12.2       | minecraft.jar                      | None                                     |
	| UCHIJAAAA | mcp       | 9.42         | minecraft.jar                      | None                                     |
	| UCHIJAAAA | FML       | 8.0.99.99    | forge-1.12.2-14.23.4.2725.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCHIJAAAA | forge     | 14.23.4.2725 | forge-1.12.2-14.23.4.2725.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCHIJAAAA | ic2       | 2.8.96-ex112 | industrialcraft-2-2.8.96-ex112.jar | de041f9f6187debbc77034a344134053277aa3b0 |

	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13474 Compatibility Profile Context 22.19.162.4' Renderer: 'AMD Radeon HD 7800 Series'
	Launched Version: 1.12.2-forge1.12.2-14.23.4.2725
	LWJGL: 2.9.4
	OpenGL: AMD Radeon HD 7800 Series GL version 4.5.13474 Compatibility Profile Context 22.19.162.4, ATI Technologies Inc.
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: English (US)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i5-3350P CPU @ 3.10GHz
crash-2018-08-07_11.59.35-server.txt (3,841 bytes)   
---- Minecraft Crash Report ----
// Why did you do that?

Time: 8/7/18 11:59 AM
Description: Exception in server tick loop

java.lang.NullPointerException: Exception in server tick loop
	at ic2.core.block.wiring.TileEntityCable.getColor(TileEntityCable.java:591)
	at ic2.core.block.wiring.TileEntityCable.canInteractWith(TileEntityCable.java:504)
	at ic2.core.block.wiring.TileEntityCable.acceptsEnergyFrom(TileEntityCable.java:489)
	at ic2.core.block.wiring.TileEntityCable.updateConnectivity(TileEntityCable.java:284)
	at ic2.core.block.wiring.TileEntityCable.onLoaded(TileEntityCable.java:160)
	at ic2.core.block.TileEntityBlock$1.onTick(TileEntityBlock.java:166)
	at ic2.core.TickHandler.processUpdates(TickHandler.java:148)
	at ic2.core.TickHandler.onWorldTick(TickHandler.java:35)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_12_TickHandler_onWorldTick_WorldTickEvent.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.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:286)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:752)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:185)
	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:
---------------------------------------------------------------------------------------

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 7 (amd64) version 6.1
	Java Version: 1.8.0_51, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 444462000 bytes (423 MB) / 872415232 bytes (832 MB) up to 5368709120 bytes (5120 MB)
	JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx5G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=16M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.4.2725 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State     | ID        | Version      | Source                             | Signature                                |
	|:--------- |:--------- |:------------ |:---------------------------------- |:---------------------------------------- |
	| UCHIJAAAA | minecraft | 1.12.2       | minecraft.jar                      | None                                     |
	| UCHIJAAAA | mcp       | 9.42         | minecraft.jar                      | None                                     |
	| UCHIJAAAA | FML       | 8.0.99.99    | forge-1.12.2-14.23.4.2725.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCHIJAAAA | forge     | 14.23.4.2725 | forge-1.12.2-14.23.4.2725.jar      | e3c3d50c7c986df74c645c0ac54639741c90a557 |
	| UCHIJAAAA | ic2       | 2.8.96-ex112 | industrialcraft-2-2.8.96-ex112.jar | de041f9f6187debbc77034a344134053277aa3b0 |

	Loaded coremods (and transformers): 
	GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
	Profiler Position: N/A (disabled)
	Player Count: 1 / 8; [EntityPlayerMP['CoolioJazz'/87, l='New World', x=627.48, y=4.00, z=1248.48]]
	Type: Integrated Server (map_client.txt)
	Is Modded: Definitely; Client brand changed to 'fml,forge'

Chocohead

2018-08-08 14:36

developer   ~0005769

That'll be from forgetting to make sure the paintbrush has a colour to give the cables before colouring them, thus they're not happy when they get a null colour. Should be an easy fix at least.

Chocohead

2018-08-17 17:36

developer   ~0005779

Fixed in IC2 2.8.97

Issue History

Date Modified Username Field Change
2018-08-07 18:03 cooliojazz New Issue
2018-08-07 18:03 cooliojazz File Added: crash-2018-08-07_11.55.58-client.txt
2018-08-07 18:03 cooliojazz File Added: crash-2018-08-07_11.59.35-server.txt
2018-08-08 14:36 Chocohead Assigned To => Chocohead
2018-08-08 14:36 Chocohead Status new => assigned
2018-08-08 14:36 Chocohead Note Added: 0005769
2018-08-17 17:36 Chocohead Status assigned => resolved
2018-08-17 17:36 Chocohead Resolution open => fixed
2018-08-17 17:36 Chocohead Fixed in Version => Builds for MC 1.12.x
2018-08-17 17:36 Chocohead Note Added: 0005779