Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Forge crashes on startup with no mods, fresh install

Featured Replies

Posted

Forge version: forge-1.15.2-31.1.62

Minecraft version: 1.52.2

 

PC Specs:

GTX 1070 Gigabyte

i7 4790K

16GB Ram

Kingston SSD main hard drive

Windows 10

 

So, first the forge startup windows comes up with the memory info and heap size etc. But after that when trying to start up Minecraft this message comes up in a text box:

The game crashed whilst initializing game Error: java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.util.registry.Registry

 

So, without loading any mods or with optifine and xaeros minimap I get the same error message.

 

Then after checking the log, it says this:

 

The error log:

---- Minecraft Crash Report ----
// I let you down. Sorry :(

Time: 4/28/20 9:22 PM
Description: Initializing game

java.lang.NoClassDefFoundError: Could not initialize class net.minecraft.util.registry.Registry
    at net.optifine.util.BlockUtils.getBlock(BlockUtils.java:163) ~[?:?] {re:classloading}
    at net.optifine.config.ConnectedParser.parseBlockPart(ConnectedParser.java:254) ~[?:?] {re:classloading}
    at net.optifine.config.ConnectedParser.parseMatchBlock(ConnectedParser.java:180) ~[?:?] {re:classloading}
    at net.optifine.config.ConnectedParser.parseMatchBlocks(ConnectedParser.java:106) ~[?:?] {re:classloading}
    at net.optifine.shaders.BlockAliases.loadBlockAliases(BlockAliases.java:277) ~[?:?] {re:classloading}
    at net.optifine.shaders.BlockAliases.update(BlockAliases.java:184) ~[?:?] {re:classloading}
    at net.optifine.shaders.Shaders.loadShaderPackProperties(Shaders.java:1098) ~[?:?] {re:classloading}
    at net.optifine.shaders.Shaders.loadShaderPack(Shaders.java:962) ~[?:?] {re:classloading}
    at net.optifine.shaders.Shaders.loadConfig(Shaders.java:734) ~[?:?] {re:classloading}
    at net.optifine.shaders.Shaders.startup(Shaders.java:2070) ~[?:?] {re:classloading}
    at net.optifine.Config.initDisplay(Config.java:213) ~[?:?] {re:classloading}
    at com.mojang.blaze3d.platform.GlStateManager.func_227666_a_(GlStateManager.java:383) ~[?:?] {re:classloading,xf:OptiFine:default}
    at com.mojang.blaze3d.platform.GLX._init(GLX.java:151) ~[?:?] {re:classloading,xf:OptiFine:default}
    at com.mojang.blaze3d.systems.RenderSystem.initRenderer(SourceFile:1001) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:388) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(SourceFile:166) [?:?] {re:classloading}
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51] {}
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51] {}
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51] {}
    at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56) [forge-1.15.2-31.1.62.jar:31.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$409/1079190991.call(Unknown Source) [forge-1.15.2-31.1.62.jar:31.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81) [modlauncher-5.1.0.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65) [modlauncher-5.1.0.jar:?] {}


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Render thread
Stacktrace:
    at net.optifine.util.BlockUtils.getBlock(BlockUtils.java:163)
    at net.optifine.config.ConnectedParser.parseBlockPart(ConnectedParser.java:254)
    at net.optifine.config.ConnectedParser.parseMatchBlock(ConnectedParser.java:180)
    at net.optifine.config.ConnectedParser.parseMatchBlocks(ConnectedParser.java:106)
    at net.optifine.shaders.BlockAliases.loadBlockAliases(BlockAliases.java:277)
    at net.optifine.shaders.BlockAliases.update(BlockAliases.java:184)
    at net.optifine.shaders.Shaders.loadShaderPackProperties(Shaders.java:1098)
    at net.optifine.shaders.Shaders.loadShaderPack(Shaders.java:962)
    at net.optifine.shaders.Shaders.loadConfig(Shaders.java:734)
    at net.optifine.shaders.Shaders.startup(Shaders.java:2070)
    at net.optifine.Config.initDisplay(Config.java:213)
    at com.mojang.blaze3d.platform.GlStateManager.func_227666_a_(GlStateManager.java:383)
    at com.mojang.blaze3d.platform.GLX._init(GLX.java:151)
    at com.mojang.blaze3d.systems.RenderSystem.initRenderer(SourceFile:1001)
    at net.minecraft.client.Minecraft.<init>(Minecraft.java:388)

-- Initialization --
Details:
Stacktrace:
    at net.minecraft.client.main.Main.main(SourceFile:166)
    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:497)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider.lambda$launchService$0(FMLClientLaunchProvider.java:56)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$409/1079190991.call(Unknown Source)
    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:72)
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:81)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)

-- System Details --
Details:
    Minecraft Version: 1.15.2
    Minecraft Version ID: 1.15.2
    Operating System: Windows 10 (amd64) version 10.0
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2180201192 bytes (2079 MB) / 3657433088 bytes (3488 MB) up to 4294967296 bytes (4096 MB)
    CPUs: 8
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Launched Version: 1.15.2-forge-31.1.62
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 1070/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.75, NVIDIA Corporation
    GL Caps:
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    CPU: <unknown>
    OptiFine Version: OptiFine_1.15.2_HD_U_G1_pre13
    OptiFine Build: 20200401-232147
    Render Distance Chunks: 8
    Mipmaps: 4
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: BSL_v7.1.04.1
    OpenGlVersion: 4.6.0 NVIDIA 445.75
    OpenGlRenderer: GeForce GTX 1070/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 8

  • Author
14 minutes ago, Ugdhar said:

That looks like a mod.

Make sure to check optifine's changelog for compatability with forge.

Yup. I'm an idiot. It works without Optifine as it's not supported with Forge in this version. I'm really sorry for my mistake.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.