Error testing GUI

Started by ValleryCorrea on Tue, 04/14/2020 - 00:17

Topic category: Help with MCreator software

Last seen on 13:43, 14. Apr 2020
Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Error testing GUI
Tue, 04/14/2020 - 00:17

I'm making a mod and, when I run client to test, it works well, but when I try to test a GUI the game crashes and the console shows this message:

 

20:47.33 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 ---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 4/13/20 8:47 PM
Description: Updating screen events
java.lang.NullPointerException: Updating screen events
   at mod.mcreator.mcreator_alchemytableguiItemPlacedInSlot.executeProcedure(mcreator_alchemytableguiItemPlacedInSlot.java:46)
-> Jump to the exception line
   at mod.mcreator.mcreator_alchemytablegui$GuiContainerMod$2.onSlotChanged(mcreator_alchemytablegui.java:63)
-> Jump to the exception line
   at net.minecraft.inventory.Slot.putStack(Slot.java:98)
   at net.minecraft.inventory.Container.slotClick(Container.java:306)
   at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:610)
   at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:693)
   at net.minecraft.client.gui.inventory.GuiContainer.mouseReleased(GuiContainer.java:649)
   at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:621)
   at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576)
   at net.minecraft.client.Minecraft.runTick(Minecraft.java:1885)
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1187)
   at net.minecraft.client.Minecraft.run(Minecraft.java:441)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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:498)
   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:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:25)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
   at mod.mcreator.mcreator_alchemytableguiItemPlacedInSlot.executeProcedure(mcreator_alchemytableguiItemPlacedInSlot.java:46)
-> Jump to the exception line
   at mod.mcreator.mcreator_alchemytablegui$GuiContainerMod$2.onSlotChanged(mcreator_alchemytablegui.java:63)
-> Jump to the exception line
   at net.minecraft.inventory.Slot.putStack(Slot.java:98)
   at net.minecraft.inventory.Container.slotClick(Container.java:306)
   at net.minecraft.client.multiplayer.PlayerControllerMP.windowClick(PlayerControllerMP.java:610)
   at net.minecraft.client.gui.inventory.GuiContainer.handleMouseClick(GuiContainer.java:693)
   at net.minecraft.client.gui.inventory.GuiContainer.mouseReleased(GuiContainer.java:649)
   at net.minecraft.client.gui.GuiScreen.handleMouseInput(GuiScreen.java:621)
   at net.minecraft.client.gui.GuiScreen.handleInput(GuiScreen.java:576)
-- Affected screen --
Details:
   Screen name: mod.mcreator.mcreator_alchemytablegui.GuiWindow
-- Affected level --
Details:
   Level name: MpServer
   All players: 1 total; [EntityPlayerSP['Player359'/185, l='MpServer', x=-839.44, y=66.00, z=-959.92]]
   Chunk stats: MultiplayerChunkCache: 108, 108
   Level seed: 0
   Level generator: ID 00 - default, ver 1. Features enabled: false
   Level generator options: 
   Level spawn location: World: (-244,64,232), Chunk: (at 12,4,8 in -16,14; contains blocks -256,0,224 to -241,255,239), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
   Level time: 98590 game time, 98590 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: 43 total; [EntitySquid['Squid'/257, l='MpServer', x=-896.01, y=47.90, z=-999.11], EntitySquid['Squid'/258, l='MpServer', x=-896.10, y=47.45, z=-1000.31], EntitySquid['Squid'/259, l='MpServer', x=-896.03, y=45.37, z=-1001.10], EntitySquid['Squid'/196, l='MpServer', x=-831.62, y=48.13, z=-1016.01], EntitySquid['Squid'/265, l='MpServer', x=-854.33, y=59.61, z=-921.24], EntityCreeper['Creeper'/266, l='MpServer', x=-828.61, y=66.00, z=-942.18], EntitySquid['Squid'/267, l='MpServer', x=-776.28, y=58.89, z=-907.05], EntitySquid['Squid'/268, l='MpServer', x=-804.89, y=57.47, z=-1016.32], EntitySquid['Squid'/269, l='MpServer', x=-803.54, y=52.71, z=-1020.54], EntitySquid['Squid'/270, l='MpServer', x=-802.24, y=52.96, z=-1021.20], EntityCreeper['Creeper'/272, l='MpServer', x=-863.48, y=21.00, z=-959.79], EntityZombie['Zombie'/273, l='MpServer', x=-839.50, y=24.00, z=-982.50], EntityBat['Bat'/214, l='MpServer', x=-869.22, y=29.85, z=-1008.02], EntitySquid['Squid'/215, l='MpServer', x=-875.15, y=58.59, z=-1020.22], EntitySquid['Squid'/283, l='MpServer', x=-798.27, y=53.49, z=-1022.85], EntitySquid['Squid'/284, l='MpServer', x=-876.59, y=52.43, z=-938.91], EntitySquid['Squid'/285, l='MpServer', x=-896.03, y=52.11, z=-901.06], EntitySquid['Squid'/286, l='MpServer', x=-883.78, y=44.00, z=-919.39], EntitySquid['Squid'/224, l='MpServer', x=-902.50, y=57.00, z=-968.50], EntitySquid['Squid'/225, l='MpServer', x=-901.50, y=57.00, z=-965.50], EntitySquid['Squid'/226, l='MpServer', x=-902.50, y=57.00, z=-970.50], EntityWitch['Witch'/228, l='MpServer', x=-875.76, y=16.00, z=-1007.53], EntityCreeper['Creeper'/229, l='MpServer', x=-852.50, y=27.00, z=-1019.50], EntityBat['Bat'/230, l='MpServer', x=-848.38, y=26.93, z=-1019.63], EntityZombie['Zombie'/231, l='MpServer', x=-853.49, y=27.00, z=-1016.19], EntityZombie['Zombie'/232, l='MpServer', x=-862.77, y=34.00, z=-1011.50], EntitySquid['Squid'/233, l='MpServer', x=-850.97, y=62.08, z=-1016.54], EntitySquid['Squid'/297, l='MpServer', x=-775.46, y=56.43, z=-938.53], EntitySquid['Squid'/234, l='MpServer', x=-856.89, y=51.44, z=-1022.61], EntitySquid['Squid'/235, l='MpServer', x=-859.10, y=54.08, z=-1015.47], EntitySquid['Squid'/299, l='MpServer', x=-782.89, y=55.73, z=-929.25], EntityZombie['Zombie'/236, l='MpServer', x=-825.93, y=44.00, z=-928.59], EntityZombie['Zombie'/364, l='MpServer', x=-865.50, y=28.00, z=-1004.50], EntityItem['item.item.rottenFlesh'/237, l='MpServer', x=-813.48, y=63.00, z=-933.89], EntityCreeper['Creeper'/365, l='MpServer', x=-871.50, y=28.00, z=-1005.50], EntityCreeper['Creeper'/366, l='MpServer', x=-868.50, y=28.00, z=-1005.50], EntitySkeleton['Skeleton'/186, l='MpServer', x=-846.70, y=19.07, z=-966.30], EntityEnderman['Enderman'/187, l='MpServer', x=-841.49, y=40.00, z=-966.74], Entityblackhyoga['Black Hyoga'/188, l='MpServer', x=-837.46, y=57.00, z=-969.48], EntityPlayerSP['Player359'/185, l='MpServer', x=-839.44, y=66.00, z=-959.92], EntitySkeleton['Skeleton'/189, l='MpServer', x=-866.55, y=16.00, z=-984.25], EntitySkeleton['Skeleton'/190, l='MpServer', x=-878.50, y=19.00, z=-982.71], EntityCreeper['Creeper'/191, l='MpServer', x=-876.50, y=19.00, z=-979.50]]
   Retry entities: 0 total; []
   Server brand: fml,forge
   Server type: Integrated singleplayer server
Stacktrace:
   at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:461)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2888)
   at net.minecraft.client.Minecraft.run(Minecraft.java:462)
   at net.minecraft.client.main.Main.main(Main.java:118)
   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:498)
   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:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
   at GradleStart.main(GradleStart.java:25)
-- System Details --
Details:
   Minecraft Version: 1.12.2
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_202, BellSoft
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), BellSoft
   Memory: 174373400 bytes (166 MB) / 502792192 bytes (479 MB) up to 915406848 bytes (873 MB)
   JVM Flags: 0 total; 
   IntCache: cache: 7, tcache: 0, allocated: 13, tallocated: 95
   FML: MCP 9.42 Powered by Forge 14.23.5.2768 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    | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   | UCHIJAAAA | forge           | 14.23.5.2768 | forgeSrc-1.12.2-14.23.5.2768.jar | None      |
   | UCHIJAAAA | saint_seiya_mod | 1.0.0        | modid-1.0.jar                    | None      |
   Loaded coremods (and transformers): 
   GL info: ' Vendor: 'Intel' Version: '4.5.0 - Build 22.20.16.4749' Renderer: 'Intel(R) HD Graphics 500'
   Launched Version: 1.12.2
   LWJGL: 2.9.4
   OpenGL: Intel(R) HD Graphics 500 GL version 4.5.0 - Build 22.20.16.4749, Intel
   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) Celeron(R) CPU N3450 @ 1.10GHz
20:47.33 [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629 #@!@# Game crashed! Crash report saved to: #@!@# C:\Program Files\MCreator183\forge\run\.\crash-reports\crash-2020-04-13_20.47.33-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
:runClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runClient'.
> Process 'command 'C:\Program Files\MCreator183\jdk\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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3m 18s
13 actionable tasks: 10 executed, 3 up-to-date
C:\Program Files\MCreator183\forge>
Task completed with return code 0 in 201688 milliseconds

 

 

This only happen when testing the GUI, I put the required item and the game crashes. Does anyone know what that can be?

Last seen on 20:06, 14. Jun 2021
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
We won’t help you if you…
Tue, 04/14/2020 - 00:44

We won’t help you if you still use an old version. Update MCreator to the 2020.2 and if you still have the error, now we will help you.