Jump to content

Error: java.lang.IllegalStateException: Failed to create model for minecraft:hanging_sign


Recommended Posts

Hello. I have encountered an issue whist attempting to play on Forge 1.19.4 on the latest stable release beta as of 05/29/23. Everytime I attempt to load Minecraft Forge with mods installed, I recieve the following crash report: 

 

The game crashed whilst rendering overlay Error: java.lang.IllegalStateException: Failed to create model for minecraft:hanging_sign

 

I have tried:

Deleting all post-install custom installations

Reinstalling Minecraft (deleting all files within Roaming/.minecraft folder and reinstalling)

Updating Java Runtime Environment

Uninstalling Java via Control Panel and downloading and installing newest recommended version (Java 8 Update 371)

 

Below I have included both the crash log I recieved, as well as the debug.log. I hope someone can help!

crash-client.txt

debug.log

Link to comment
Share on other sites

On 5/30/2023 at 9:37 AM, ChampionAsh5357 said:

1.19.4 uses Java 17, not Java 8.

It must be able to run on both, because I have resolved the issue myself. Reading through my debug logs, I found that multiple mods were the problem, including Supplementaries for the initial error, and Blue Skies' reliance on an outated Mixin. Thank you though!

Link to comment
Share on other sites

Posted (edited)

UPDATE: As of 05/31/2023, I have resolved the issue(s). I read extensively into my debug.log file and found that two mods in particular were causing my problems.

Supplementaries: Error: java.lang.IllegalStateException: Failed to create model for minecraft:hanging_sign

Blue Skies: Outdated Sponge mixin causing shader-related crash on new versions of Minecraft

Testing Minecraft 1.19.4 with Java 8 Update 371, it seems to work fine both in Vanilla and Forge/Optifine installations (yes I know Optifine is outdated and not recommended. I still like to use it as it wasn't the cause of any of my crashes). So I guess Java 17 isn't necessarily required if you use the most recent version of Java 8? Who knows but maybe that is some useful information to someone.

(Maybe the mods that were the cause of my issues would have worked if I used Java 17, I am unsure and I won't change my Java version now that everything seems to be running fine.)

Edited by Tha_Marshall
Link to comment
Share on other sites

11 hours ago, Tha_Marshall said:

Testing Minecraft 1.19.4 with Java 8 Update 371, it seems to work fine both in Vanilla and Forge/Optifine installations (yes I know Optifine is outdated and not recommended. I still like to use it as it wasn't the cause of any of my crashes). So I guess Java 17 isn't necessarily required if you use the most recent version of Java 8? Who knows but maybe that is some useful information to someone.

 

If you read your logs, it would be using Java 17. I assumed that you modified the JVM installation in the profile. However, it working indicates that you haven't, meaning you were just using the version of Java shipped with the client. I will reiterate that Minecraft 1.19 was compiled with Java 17, which means it will only be forward compatible with newer versions and crash on older versions with a class version error.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • https://pastebin.com/FaQ43RnJ  Este es un error que me lanza al momento de querer iniciar forge Intente de todo pero no sirve nada. This is an error that I get when I want to start forge. I tried everything but nothing works.
    • It was a stupid Eclipse problem ,the debugger was set to a lower version of java.  In what world would i want my development version different from the debugger version.   ty for looking
    • Caused by: java.lang.NullPointerException: Cannot read field "level" because "this.minecraft" is null This is my first big error when coding. I looked it up, but there are a bunch of references to Dawncraft and not enough to figure out what was going wrong. I found this, but it involves a command and my GUI only opens when you shift + right-click while holding an item. They fixed it by not calling it with a command, but I am not using a command. Here's the render of my menu, which is the only part that changed between it working and not:   @Override public void render(@Nonnull PoseStack mstack, int mouseX, int mouseY, float partialTicks) { int midx = this.width / 2; int midy = this.height / 2; this.renderBackground(mstack); drawCenteredString(mstack, font, I18n.get("config.shape_tool"), midx, 4, 0xC3D1D8); Utils.renderImage(midx - 12, midy, 20, 20, "textures/gui/plus.png", mstack); addRenderableWidget(new Button(midx - 12, midy, 10, 10, Component.translatable(""), this::increaseax)); Utils.renderImage(midx + 12, midy, 20, 20, "textures/gui/minus.png", mstack); addRenderableWidget(new Button(midx + 12, midy, 10, 10, Component.translatable(""), this::decreaseax)); drawCenteredString(mstack, font, String.valueOf(shapetoolax), midx, midy + 10, 0xC3D1D8); super.render(mstack, mouseX, mouseY, partialTicks); } Utils.renderImage is this:   public static void renderImage(int x, int y, int width, int height, String img, PoseStack mstack) { RenderSystem.setShaderColor(1, 1, 1, 1); RenderSystem.enableBlend(); RenderSystem.defaultBlendFunc(); RenderSystem.setShaderTexture(0, new ResourceLocation(PNegative.MODID, img)); blit(mstack, x, y, 0, 0, width, height, width, height); RenderSystem.disableBlend(); } I have used it before and it has worked, so it can't be a problem. 
    • I found a topic  with the very simmilar problems. I run modpack Direwolf20 1.19.2 version from FTB with dedicated server with my friends and i am the only who have this type of crashes. It has been through login process and after 5-6 crashes i can connect. And randombly it could crash me in game but mostly when i am tp'ing using Nether portals etc. I already setted up all privileges for javaw in firewall, flushed dns, reset network settings and etc. Changed java version to from FAQ too. Here's some logs from client side https://gnomebot.dev/paste/1158502890168664194 https://gnomebot.dev/paste/1158187264657063946    
    • Don't know why game keeps crashing after a few seconds or walking towards something, tried removing larger mods and someaddon performance mods but it's not working. Minecraft launchers telling me "Exit Code 1"
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.