Custom Chest Crashes Game

Started by zombieslayer4324 on

Topic category: Advanced modding

Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Chest Crashes Game

Hello I've made a custom chest in mcreator with a gui and pretty much everything but when you go to place an item or such into it the game crashes. Help?

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What does it say? Maybe your
Fri, 06/17/2016 - 18:21

What does it say? Maybe your game doesn't have enough RAM, as the custom-chest requires quite a bit of RAM, (approx. 300MB) as the chest have large NBT status. If your game crashes for any other reason, you should try re-downloading your Minecraft/MCreator.

Joined Jul 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My game has enough ram I just
Fri, 06/17/2016 - 20:16

My game has enough ram I just re-downloaded mcreator last night and this is the error I am getting

[spoiler]

[16:09:42] [Client thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 9
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.7.0_79]
    at java.util.concurrent.FutureTask.get(FutureTask.java:188) ~[?:1.7.0_79]
    at net.minecraft.util.Util.runTask(Util.java:23) [Util.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1070) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
    at net.minecraft.inventory.InventoryBasic.setInventorySlotContents(InventoryBasic.java:155) ~[InventoryBasic.class:?]
    at net.minecraft.inventory.Slot.putStack(Slot.java:97) ~[Slot.class:?]
    at net.minecraft.inventory.Container.putStacksInSlots(Container.java:551) ~[Container.class:?]
    at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1209) ~[NetHandlerPlayClient.class:?]
    at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:67) ~[S30PacketWindowItems.class:?]
    at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:12) ~[S30PacketWindowItems.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_79]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[?:1.7.0_79]
    at net.minecraft.util.Util.runTask(Util.java:22) ~[Util.class:?]
    ... 15 more
[16:09:49] [Server thread/INFO]: Player796 has just earned the achievement [Taking Inventory]
[16:09:49] [Client thread/INFO]: [CHAT] Player796 has just earned the achievement [Taking Inventory]
[16:09:57] [Client thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 9
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.7.0_79]
    at java.util.concurrent.FutureTask.get(FutureTask.java:188) ~[?:1.7.0_79]
    at net.minecraft.util.Util.runTask(Util.java:23) [Util.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1070) [Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
    at net.minecraft.inventory.InventoryBasic.setInventorySlotContents(InventoryBasic.java:155) ~[InventoryBasic.class:?]
    at net.minecraft.inventory.Slot.putStack(Slot.java:97) ~[Slot.class:?]
    at net.minecraft.inventory.Container.putStacksInSlots(Container.java:551) ~[Container.class:?]
    at net.minecraft.client.network.NetHandlerPlayClient.handleWindowItems(NetHandlerPlayClient.java:1209) ~[NetHandlerPlayClient.class:?]
    at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:67) ~[S30PacketWindowItems.class:?]
    at net.minecraft.network.play.server.S30PacketWindowItems.processPacket(S30PacketWindowItems.java:12) ~[S30PacketWindowItems.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[?:1.7.0_79]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[?:1.7.0_79]
    at net.minecraft.util.Util.runTask(Util.java:22) ~[Util.class:?]
    ... 15 more
[16:10:08] [Server thread/INFO]: Stopping server
[16:10:08] [Server thread/INFO]: Saving players
[16:10:08] [Server thread/INFO]: Saving worlds
[16:10:08] [Server thread/INFO]: Saving chunks for level 'New World'/Overworld
[16:10:08] [Server thread/INFO]: Saving chunks for level 'New World'/Nether
[16:10:08] [Server thread/INFO]: Saving chunks for level 'New World'/The End
[16:10:09] [Server thread/INFO] [FML]: Unloading dimension 0
[16:10:09] [Server thread/INFO] [FML]: Unloading dimension -1
[16:10:09] [Server thread/INFO] [FML]: Unloading dimension 1
[16:10:12] [Client thread/FATAL]: Reported exception thrown!
net.minecraft.util.ReportedException: Updating screen events
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1774) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080) ~[Minecraft.class:?]
    at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?]
    at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
    at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
    at net.minecraft.inventory.InventoryBasic.setInventorySlotContents(InventoryBasic.java:155) ~[InventoryBasic.class:?]
    at net.minecraft.inventory.Slot.putStack(Slot.java:97) ~[Slot.class:?]
    at net.minecraft.inventory.Container.slotClick(Container.java:312) ~[Container.class:?]
    at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:535) ~[PlayerControllerMP.class:?]
    at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:679) ~[GuiContainer.class:?]
    at net.minecraft.client.gui.inventory.GuiContainer.mouseReleased(GuiContainer.java:635) ~[GuiContainer.class:?]
    at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:630) ~[GuiScreen.class:?]
    at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:586) ~[GuiScreen.class:?]
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1761) ~[Minecraft.class:?]
    ... 15 more
[16:10:12] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612
// Oh - I know what I did wrong!
Time: 6/17/16 4:10 PM
Description: Updating screen events
java.lang.ArrayIndexOutOfBoundsException: 9
    at net.minecraft.inventory.InventoryBasic.setInventorySlotContents(InventoryBasic.java:155)
    at net.minecraft.inventory.Slot.putStack(Slot.java:97)
    at net.minecraft.inventory.Container.slotClick(Container.java:312)
    at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:535)
    at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:679)
    at net.minecraft.client.gui.inventory.GuiContainer.mouseReleased(GuiContainer.java:635)
    at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:630)
    at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:586)
    at net.minecraft.client.Minecraft.runTick(Minecraft.java:1761)
    at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080)
    at net.minecraft.client.Minecraft.run(Minecraft.java:380)
    at net.minecraft.client.main.Main.main(Main.java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
    at net.minecraft.inventory.InventoryBasic.setInventorySlotContents(InventoryBasic.java:155)
    at net.minecraft.inventory.Slot.putStack(Slot.java:97)
    at net.minecraft.inventory.Container.slotClick(Container.java:312)
    at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:535)
    at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:679)
    at net.minecraft.client.gui.inventory.GuiContainer.mouseReleased(GuiContainer.java:635)
    at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:630)
    at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:586)
-- Affected screen --
Details:
    Screen name: mod.mcreator.mcreator_container.GuiWindow
-- Affected level --
Details:
    Level name: MpServer
    All players: 1 total; [EntityPlayerSP['Player796'/83, l='MpServer', x=1240.00, y=4.00, z=1005.72]]
    Chunk stats: MultiplayerChunkCache: 25, 25
    Level seed: 0
    Level generator: ID 01 - flat, ver 0. Features enabled: false
    Level generator options:
    Level spawn location: 1248.00,4.00,1016.00 - World: (1248,4,1016), Chunk: (at 0,0,8 in 78,63; contains blocks 1248,0,1008 to 1263,255,1023), Region: (2,1; contains chunks 64,32 to 95,63, blocks 1024,0,512 to 1535,255,1023)
    Level time: 3271 game time, 3271 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: 12 total; [EntitySlime['Slime'/39, l='MpServer', x=1223.53, y=4.00, z=990.34], EntitySlime['Slime'/40, l='MpServer', x=1209.78, y=4.00, z=977.50], EntitySlime['Slime'/41, l='MpServer', x=1215.35, y=4.00, z=1049.88], EntityPlayerSP['Player796'/83, l='MpServer', x=1240.00, y=4.00, z=1005.72], EntitySlime['Slime'/17, l='MpServer', x=1217.97, y=4.00, z=1033.25], EntitySlime['Slime'/49, l='MpServer', x=1271.03, y=4.00, z=1009.34], EntitySlime['Slime'/19, l='MpServer', x=1213.54, y=5.06, z=1015.41], EntitySlime['Slime'/18, l='MpServer', x=1222.22, y=4.00, z=1017.34], EntitySlime['Slime'/25, l='MpServer', x=1192.44, y=4.00, z=1024.94], EntitySlime['Slime'/24, l='MpServer', x=1210.20, y=4.93, z=997.85], EntitySlime['Slime'/27, l='MpServer', x=1215.56, y=4.00, z=1017.91], EntitySlime['Slime'/26, l='MpServer', x=1206.78, y=4.00, z=1020.69]]
    Retry entities: 0 total; []
    Server brand: fml,forge
    Server type: Integrated singleplayer server
Stacktrace:
    at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:383)
    at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2645)
    at net.minecraft.client.Minecraft.run(Minecraft.java:401)
    at net.minecraft.client.main.Main.main(Main.java:116)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
    at GradleStart.main(GradleStart.java:26)
-- System Details --
Details:
    Minecraft Version: 1.8.9
    Operating System: Windows 8.1 (amd64) version 6.3
    Java Version: 1.7.0_79, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 460679440 bytes (439 MB) / 855113728 bytes (815 MB) up to 1815609344 bytes (1731 MB)
    JVM Flags: 0 total;
    IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
    FML: MCP 9.19 Powered by Forge 11.15.1.1722 4 mods loaded, 4 mods active
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHIJAAAA    mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
    UCHIJAAAA    FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1722.jar)
    UCHIJAAAA    Forge{11.15.1.1722} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1722.jar)
    UCHIJAAAA    TestEnvironmentMod{1.0} [TestEnvironmentMod] (modid-1.0.jar)
    Loaded coremods (and transformers):
    GL info: ' Vendor: 'ATI Technologies Inc.' Version: '4.5.13399 Compatibility Profile Context 15.200.1062.1004' Renderer: 'AMD Radeon HD 6290 Graphics'
    Launched Version: 1.8.9
    LWJGL: 2.9.4
    OpenGL: AMD Radeon HD 6290 Graphics GL version 4.5.13399 Compatibility Profile Context 15.200.1062.1004, 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: No
    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: 2x AMD C-60 APU with Radeon(tm) HD Graphics
[16:10:12] [Server thread/INFO] [FML]: Applying holder lookups
[16:10:12] [Server thread/INFO] [FML]: Holder lookups applied
[16:10:12] [Client thread/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612
[16:10:12] [Client thread/INFO] [FML]: Waiting for the server to terminate/save.
[16:10:12] [Client thread/INFO] [FML]: Server terminated.
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
BUILD FAILED
* WhatExecution failed for task ':runClient'.
 went wrong:
Total time: 12 mins 33.854 secs
> Process 'command 'C:\Pylo\MCreator166\jdk64\bin\java.exe'' finished with non-zero exit value -1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator166\forge>
Task completed with return code 0 in 757227 milliseconds

[/spoiler]