Crash When Opening GUI

Published by ModGuy on Fri, 04/03/2020 - 03:41
Status
Duplicate
Type
Product/platform
Not applicable
Priority
Normal
Issue description

I made a GUI for a block with procedures and fancy stuff but each time I try to open it crashes. I have looked for a couple of days on how to fix this and am still stuck. Here is the crash report thank you if you can help:

[net.minecraft.util.registry.Bootstrap:printToSYSOUT:106 ---- Minecraft Crash Report ----
// My bad.
Time: 4/2/20 11:26 PM
Description: Rendering screen
net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: potatotalry:textures/creategui (1).png
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.drawGuiContainerBackgroundLayer(MagicalPotatoCookerGUIGui.java:298) ~[main/:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.drawGuiContainerBackgroundLayer(MagicalPotatoCookerGUIGui.java:298) ~[main/:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.minecraft.client.gui.screen.inventory.ContainerScreen.render(ContainerScreen.java:77) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.minecraft.client.gui.screen.inventory.ContainerScreen.render(ContainerScreen.java:77) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.render(MagicalPotatoCookerGUIGui.java:285) ~[main/:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.render(MagicalPotatoCookerGUIGui.java:285) ~[main/:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:354) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:354) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading}
   at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:569) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:569) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:925) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:925) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.run(Minecraft.java:384) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.Minecraft.run(Minecraft.java:384) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
   at net.minecraft.client.main.Main.main(Main.java:128) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
   at net.minecraft.client.main.Main.main(Main.java:128) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A}
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232] {}
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232] {}
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232] {}
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232] {}
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232] {}
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232] {}
   at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232] {}
   at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {}
   at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55) ~[forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-4.1.0.jar:?] {}
   at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {}
   at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102) [forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar:?] {}
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Client thread
Stacktrace:
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30)
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30)
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35)
   at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:35)
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.drawGuiContainerBackgroundLayer(MagicalPotatoCookerGUIGui.java:298)
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.drawGuiContainerBackgroundLayer(MagicalPotatoCookerGUIGui.java:298)
   at net.minecraft.client.gui.screen.inventory.ContainerScreen.render(ContainerScreen.java:77)
   at net.minecraft.client.gui.screen.inventory.ContainerScreen.render(ContainerScreen.java:77)
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.render(MagicalPotatoCookerGUIGui.java:285)
   at net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui$GuiWindow.render(MagicalPotatoCookerGUIGui.java:285)
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:354)
   at net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:354)
-- Screen render details --
Details:
   Screen name: net.mcreator.potatotalry.gui.MagicalPotatoCookerGUIGui.GuiWindow
   Mouse location: Scaled: (213, 120). Absolute: (427.000000, 240.000000)
   Screen size: Scaled: (427, 240). Absolute: (854, 480). Scale factor of 2.000000
-- Affected level --
Details:
   All players: 1 total; [ClientPlayerEntity['Dev'/1, l='MpServer', x=230.59, y=4.00, z=77.82]]
   Chunk stats: Client Chunk Cache: 169, 81
   Level dimension: DimensionType{minecraft:overworld}
   Level name: MpServer
   Level seed: 0
   Level generator: ID 01 - flat, ver 0. Features enabled: false
   Level generator options: {}
   Level spawn location: World: (224,4,64), Chunk: (at 0,0,0 in 14,4; contains blocks 224,0,64 to 239,255,79), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
   Level time: 16137 game time, 3641 day time
   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
   Server brand: forge
   Server type: Integrated singleplayer server
Stacktrace:
   at net.minecraft.client.world.ClientWorld.fillCrashReport(ClientWorld.java:425)
   at net.minecraft.client.world.ClientWorld.fillCrashReport(ClientWorld.java:425)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:1824)
   at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:1824)
   at net.minecraft.client.Minecraft.run(Minecraft.java:400)
   at net.minecraft.client.Minecraft.run(Minecraft.java:400)
   at net.minecraft.client.main.Main.main(Main.java:128)
   at net.minecraft.client.main.Main.main(Main.java:128)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
   at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:55)
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
   at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
   at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72)
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
   at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
   at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
   at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)
   at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:102)
-- System Details --
Details:
   Minecraft Version: 1.14.4
   Minecraft Version ID: 1.14.4
   Operating System: Windows 10 (amd64) version 10.0
   Java Version: 1.8.0_232, BellSoft
   Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), 
   Memory: 403127248 bytes (384 MB) / 1309671424 bytes (1249 MB) up to 3321888768 bytes (3168 MB)
   CPUs: 8
   JVM Flags: 1 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump
   ModLauncher: 4.1.0+62+5bfa59b
   ModLauncher launch target: fmluserdevclient
   ModLauncher naming: mcp
   ModLauncher services: 
      /eventbus-1.0.0-service.jar eventbus PLUGINSERVICE 
      /forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-launcher.jar object_holder_definalize PLUGINSERVICE 
      /forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-launcher.jar runtime_enum_extender PLUGINSERVICE 
      /accesstransformers-1.0.5-shadowed.jar accesstransformer PLUGINSERVICE 
      /forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-launcher.jar capability_inject_definalize PLUGINSERVICE 
      /forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-launcher.jar runtimedistcleaner PLUGINSERVICE 
      /forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-launcher.jar fml TRANSFORMATIONSERVICE 
   FML: 28.2
   Forge: net.minecraftforge:28.2.3
   FML Language Providers: 
      javafml@28.2
      minecraft@1
   Mod List: 
      client-extra.jar Minecraft {minecraft@1.14.4 DONE}
      forge-1.14.4-28.2.3_mapped_snapshot_20190719-1.14.3-recomp.jar Forge {forge@28.2.3 DONE}
      main Potatotalry {potatotalry@1.0.0 DONE}
   Launched Version: MOD_DEV
   LWJGL: 3.2.2 build 10
   OpenGL: AMD Radeon(TM) Vega 8 Graphics GL version 4.5.13541 Compatibility Profile Context 25.20.14118.0, 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 'forge'
   Type: Client (map_client.txt)
   Resource Packs: 
   Current Language: English (US)
   CPU: 8x AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 

Issue comments

net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: potatotalry:textures/creategui (1).png

Solution: https://mcreator.net/wiki/minecraft-1144-resourcelocationexception-non-z0-9-character-path-location

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.