Jump to content

Recommended Posts

Posted

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

 

 

---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 5/1/20 7:24 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.shaders.BlockAliases.addLegacyAlias(BlockAliases.java:448) ~[?:?] {re:classloading}
    at net.optifine.shaders.BlockAliases.makeLegacyAliases(BlockAliases.java:401) ~[?:?] {re:classloading}
    at net.optifine.shaders.BlockAliases.update(BlockAliases.java:191) ~[?:?] {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.63.jar:31.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$399/2124731287.call(Unknown Source) [forge-1.15.2-31.1.63.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.shaders.BlockAliases.addLegacyAlias(BlockAliases.java:448)
    at net.optifine.shaders.BlockAliases.makeLegacyAliases(BlockAliases.java:401)
    at net.optifine.shaders.BlockAliases.update(BlockAliases.java:191)
    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$399/2124731287.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 8 (amd64) version 6.2
    Java Version: 1.8.0_51, Oracle Corporation
    Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    Memory: 2126050952 bytes (2027 MB) / 3288334336 bytes (3136 MB) up to 4294967296 bytes (4096 MB)
    CPUs: 4
    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.63
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce GTX 1650/PCIe/SSE2 GL version 4.6.0 NVIDIA 445.87, 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: 0
    Anisotropic Filtering: 1
    Antialiasing: 0
    Multitexture: false
    Shaders: 1.15.2-r1.zip
    OpenGlVersion: 4.6.0 NVIDIA 445.87
    OpenGlRenderer: GeForce GTX 1650/PCIe/SSE2
    OpenGlVendor: NVIDIA Corporation
    CpuCount: 4

Posted

Please refer to Optifine's changelog regarding Forge compatibility

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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