BuildCraft|Core

BuildCraft|Core

7M Downloads

Crash while scrolling through facades creative tab.

61352151511 opened this issue ยท 5 comments

commented

(see http://mod-buildcraft.com/forums/index.php?topic=598.0)

I'm not sure if this bug report should go to you or the maker of Flan's mod but since it happened in the Facades tab I'll post it here.

I was scrolling through the facades tab in creative mode and when I got about half way through it crashed with this error log. (I've tested it more than once and it happens multiple times)

---- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.

Time: 11/05/14 8:15 AM
Description: Rendering item

java.lang.ArrayIndexOutOfBoundsException: 6
at com.flansmod.common.teams.BlockSpawner.func_149691_a(BlockSpawner.java:50)
at buildcraft.transport.render.FacadeItemRenderer.renderFacadeItem(FacadeItemRenderer.java:71)
at buildcraft.transport.render.FacadeItemRenderer.renderItem(FacadeItemRenderer.java:201)
at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:179)
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:538)
at codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:519)
at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:268)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:99)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)
at net.minecraft.client.renderer.EntityRenderer.func_78480_b(EntityRenderer.java:1061)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:944)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:835)
at net.minecraft.client.main.Main.main(SourceFile:103)
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:134)
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 --
Stacktrace:
at com.flansmod.common.teams.BlockSpawner.func_149691_a(BlockSpawner.java:50)
at buildcraft.transport.render.FacadeItemRenderer.renderFacadeItem(FacadeItemRenderer.java:71)
at buildcraft.transport.render.FacadeItemRenderer.renderItem(FacadeItemRenderer.java:201)
at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:179)

-- Item being rendered --
Details:
Item Type: buildcraft.transport.ItemFacade@42613d9a
Item Aux: 0
Item NBT: {name:"flansmod:teamsSpawner",meta:6}
Item Foil: false
Stacktrace:
at net.minecraft.client.renderer.entity.RenderItem.func_82406_b(RenderItem.java:538)
at codechicken.nei.guihook.GuiContainerManager.drawSlotItem(GuiContainerManager.java:519)
at net.minecraft.client.gui.inventory.GuiContainer.func_146977_a(GuiContainer.java:268)
at net.minecraft.client.gui.inventory.GuiContainer.func_73863_a(GuiContainer.java:99)
at net.minecraft.client.renderer.InventoryEffectRenderer.func_73863_a(SourceFile:30)
at net.minecraft.client.gui.inventory.GuiContainerCreative.func_73863_a(GuiContainerCreative.java:635)

-- Screen render details --
Details:
Screen name: net.minecraft.client.gui.inventory.GuiContainerCreative
Mouse location: Scaled: (326, 137). Absolute: (1306, 470)
Screen size: Scaled: (480, 255). Absolute: (1920, 1018). Scale factor of 4

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityClientPlayerMP['61352151511'/213, l='MpServer', x=136.70, y=80.62, z=254.70]]
Chunk stats: MultiplayerChunkCache: 287, 287
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options:
Level spawn location: World: (224,64,240), Chunk: (at 0,4,0 in 14,15; contains blocks 224,0,240 to 239,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 3688 game time, 3688 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: 50 total; [EntityCow['Cow'/14, l='MpServer', x=87.50, y=86.00, z=221.50], EntityCow['Cow'/15, l='MpServer', x=86.50, y=85.00, z=223.50], EntityCow['Cow'/17, l='MpServer', x=86.50, y=88.00, z=219.50], EntityCow['Cow'/16, l='MpServer', x=87.50, y=84.00, z=226.50], EntityCow['Cow'/27, l='MpServer', x=105.50, y=97.00, z=291.50], EntityCow['Cow'/26, l='MpServer', x=104.50, y=94.00, z=293.50], EntityCow['Cow'/29, l='MpServer', x=109.50, y=100.00, z=291.50], EntityCow['Cow'/28, l='MpServer', x=105.50, y=97.00, z=291.50], EntityCow['Cow'/51, l='MpServer', x=153.06, y=81.00, z=224.13], EntityCow['Cow'/50, l='MpServer', x=127.78, y=80.00, z=214.19], EntityCow['Cow'/53, l='MpServer', x=138.91, y=79.00, z=236.91], EntityCow['Cow'/52, l='MpServer', x=143.50, y=84.00, z=217.38], EntityCow['Cow'/63, l='MpServer', x=158.53, y=107.00, z=259.38], EntityCow['Cow'/62, l='MpServer', x=158.47, y=101.00, z=264.63], EntitySheep['Sheep'/68, l='MpServer', x=154.53, y=64.00, z=321.22], EntitySheep['Sheep'/69, l='MpServer', x=155.78, y=64.00, z=322.81], EntitySheep['Sheep'/70, l='MpServer', x=168.53, y=86.00, z=195.19], EntitySheep['Sheep'/71, l='MpServer', x=168.50, y=88.00, z=202.63], EntityCow['Cow'/64, l='MpServer', x=159.47, y=106.00, z=257.34], EntityCow['Cow'/65, l='MpServer', x=157.47, y=105.00, z=262.91], EntitySheep['Sheep'/66, l='MpServer', x=153.50, y=64.00, z=319.50], EntitySheep['Sheep'/67, l='MpServer', x=153.22, y=64.00, z=321.50], EntitySheep['Sheep'/78, l='MpServer', x=199.63, y=75.00, z=250.47], EntitySheep['Sheep'/79, l='MpServer', x=205.78, y=80.00, z=234.28], EntitySheep['Sheep'/72, l='MpServer', x=174.53, y=91.00, z=197.16], EntitySheep['Sheep'/73, l='MpServer', x=176.50, y=92.00, z=198.50], EntitySheep['Sheep'/74, l='MpServer', x=187.50, y=64.00, z=175.50], EntitySheep['Sheep'/85, l='MpServer', x=205.66, y=68.00, z=329.50], EntitySheep['Sheep'/84, l='MpServer', x=206.13, y=67.00, z=328.19], EntitySheep['Sheep'/81, l='MpServer', x=186.53, y=84.00, z=235.66], EntitySheep['Sheep'/80, l='MpServer', x=192.53, y=83.00, z=231.66], EntitySheep['Sheep'/83, l='MpServer', x=204.81, y=66.00, z=324.91], EntitySheep['Sheep'/82, l='MpServer', x=208.28, y=65.00, z=321.22], EntityItem['item.item.bone'/5395, l='MpServer', x=112.13, y=42.13, z=299.69], EntityBat['Bat'/6371, l='MpServer', x=169.75, y=54.10, z=298.75], EntityBat['Bat'/7313, l='MpServer', x=189.22, y=36.00, z=243.09], EntityItem['item.item.seeds'/1329, l='MpServer', x=110.75, y=80.13, z=202.88], EntityBat['Bat'/6351, l='MpServer', x=181.44, y=37.89, z=195.06], EntityBat['Bat'/7248, l='MpServer', x=86.93, y=17.00, z=228.05], EntityClientPlayerMP['61352151511'/213, l='MpServer', x=136.70, y=80.62, z=254.70], EntityBat['Bat'/7052, l='MpServer', x=75.34, y=23.58, z=181.60], EntitySkeleton['Skeleton'/5963, l='MpServer', x=-22.76, y=-43.20, z=-18.34], EntityBat['Bat'/7101, l='MpServer', x=108.31, y=17.79, z=293.66], EntityBat['Bat'/6968, l='MpServer', x=209.53, y=30.10, z=280.25], EntityZombie['Zombie'/5717, l='MpServer', x=37.24, y=-6.62, z=-10.34], EntityBat['Bat'/5728, l='MpServer', x=201.75, y=49.10, z=207.69], EntityBat['Bat'/6873, l='MpServer', x=72.06, y=52.10, z=206.69], EntityBat['Bat'/6856, l='MpServer', x=200.61, y=29.87, z=292.44], EntityBat['Bat'/6880, l='MpServer', x=161.34, y=42.48, z=277.53], EntityBat['Bat'/6690, l='MpServer', x=65.28, y=25.10, z=205.41]]
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:368)
at net.minecraft.client.Minecraft.func_71396_d(Minecraft.java:2382)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:857)
at net.minecraft.client.main.Main.main(SourceFile:103)
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:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 953093688 bytes (908 MB) / 2078801920 bytes (1982 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx6144m -XX:MaxPermSize=256m
AABB Pool Size: 1791 (100296 bytes; 0 MB) allocated, 664 (37184 bytes; 0 MB) used
IntCache: cache: 1, tcache: 0, allocated: 17, tallocated: 95
FML: MCP v9.03 FML v7.2.188.1074 Minecraft Forge 10.12.1.1074 27 mods loaded, 27 mods active
mcp{9.03} Minecraft Coder Pack Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{7.2.188.1074} Forge Mod Loader Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{10.12.1.1074} Minecraft Forge Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CodeChickenCore{1.0.0} CodeChicken Core Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
NotEnoughItems{1.0.1} Not Enough Items Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
IC2{2.1.477-experimental} IndustrialCraft 2 Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
advancedgenetics{1.5.2} Advanced Genetics Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
AdvancedMachines{1.0.8} IC2 Advanced Machines Addon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BiblioCraft{1.6.3} BiblioCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Core{6.0.11} BuildCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Builders{6.0.11} BC Builders Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Energy{6.0.11} BC Energy Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Factory{6.0.11} BC Factory Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Transport{6.0.11} BC Transport Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
BuildCraft|Silicon{6.0.11} BC Silicon Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CarpentersBlocks{3.1.4} [Carpenter's Blocks](Carpenter's Blocks v3.1.4 - MC 1.7+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ComputerCraft{1.64pr2} ComputerCraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
DragonMounts{r38} Dragon Mounts Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ep3{1.7.2-3.0.0b6c} EnhancedPortals Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ExtraUtilities{1.1.0-prerelease-3} Extra Utilities Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
flansmod{4.2.3} [flansmod](Flans Mod-1.7.2-4.2.3.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forestry{2.4.1.22} Forestry for Minecraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
inventorytweaks{1.57-116} Inventory Tweaks Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
MapWriter{2.1.1} MapWriter Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Baubles{1.0.0.11} Baubles Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Thaumcraft{4.1.1.12} Thaumcraft Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Waila{1.5.2_1.7.2} Waila Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Ender-Quarry Relfection Code:: No problems here
Launched Version: 1.7.2-Forge10.12.1.1074
LWJGL: 2.9.0
OpenGL: Intel(R) HD Graphics GL version 3.1.0 - Build 9.17.10.2932, Intel
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)
Vec3 Pool Size: 1715 (96040 bytes; 0 MB) allocated, 265 (14840 bytes; 0 MB) used
Anisotropic Filtering: Off (1)

commented

report it to flan, they have parsed a block to buildcraft to be turned intro a faced that can't be turned intro a facade, they need to blacklist that block

commented

@AEnterprise we can't be that short-sighted in front of these problems. Although there's definitely a problem in Flan's, this shows a clear robustness issue in BuildCraft code. Adding safeguards to avoid crashing in this situation is possible and important. I'm taking the action here, will be easy.

commented

@SpaceToad i agree buildcraft shouldn't crash for this kind of stuff but i can't do much about that. So i'm just saying that he should also report it to flans to fix the wrong block getting parsed

commented

@AEnterprise of course you can ;-) See commit.

commented

@SpaceToad that proves to me that YOU can do it, i don't know to good how the facade creation stuff works so hard to do a quick fix