Jump to content

[error] java.lang.NullPointerException: Unexpected error


saturn_tea

Recommended Posts

Crashes every time I try to enter a world. I think it's something to do with forge and optifine compatibility but I don't know exactly what.

---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 3/27/21 10:47 PM
Description: Starting integrated server

java.lang.NoSuchMethodError: net.minecraft.util.ResourceLocation.compareNamespaced(Lnet/minecraft/util/ResourceLocation;)I
    at net.minecraftforge.registries.ForgeRegistry$Snapshot.lambda$static$0(ForgeRegistry.java:844)
    at net.minecraftforge.registries.ForgeRegistry$Snapshot$$Lambda$5662/156954340.compare(Unknown Source)
    at java.util.TreeMap.compare(TreeMap.java:1291)
    at java.util.TreeMap.put(TreeMap.java:538)
    at net.minecraftforge.registries.ForgeRegistry.lambda$makeSnapshot$3(ForgeRegistry.java:820)
    at net.minecraftforge.registries.ForgeRegistry$$Lambda$5663/1008561904.accept(Unknown Source)
    at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528)
    at net.minecraftforge.registries.ForgeRegistry.makeSnapshot(ForgeRegistry.java:820)
    at net.minecraftforge.registries.RegistryManager.lambda$takeSnapshot$2(RegistryManager.java:180)
    at net.minecraftforge.registries.RegistryManager$$Lambda$5661/1486504709.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at net.minecraftforge.registries.RegistryManager.takeSnapshot(RegistryManager.java:180)
    at net.minecraftforge.fml.FMLWorldPersistenceHook.getDataForWriting(FMLWorldPersistenceHook.java:76)
    at net.minecraftforge.fml.WorldPersistenceHooks.lambda$handleWorldDataSave$0(WorldPersistenceHooks.java:40)
    at net.minecraftforge.fml.WorldPersistenceHooks$$Lambda$5659/1901525199.accept(Unknown Source)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraftforge.fml.WorldPersistenceHooks.handleWorldDataSave(WorldPersistenceHooks.java:40)
    at net.minecraft.world.storage.SaveFormat$LevelSave.func_237288_a_(SaveFormat.java:345)
    at net.minecraft.world.storage.SaveFormat$LevelSave.func_237287_a_(SaveFormat.java:336)
    at net.minecraft.client.Minecraft.loadWorld(Minecraft.java:1740)
    at net.minecraft.client.Minecraft.func_238192_a_(Minecraft.java:1685)
    at net.minecraft.client.gui.screen.CreateWorldScreen.func_195352_j(CreateWorldScreen.java:260)
    at net.minecraft.client.gui.screen.CreateWorldScreen.lambda$init$11(CreateWorldScreen.java:205)
    at net.minecraft.client.gui.screen.CreateWorldScreen$$Lambda$4863/1098645181.onPress(Unknown Source)
    at net.minecraft.client.gui.widget.button.Button.func_230930_b_(SourceFile:33)
    at net.minecraft.client.gui.widget.button.AbstractButton.func_230982_a_(SourceFile:16)
    at net.minecraft.client.gui.widget.Widget.func_231044_a_(Widget.java:136)
    at net.minecraft.client.gui.INestedGuiEventHandler.func_231044_a_(SourceFile:27)
    at net.minecraft.client.MouseHelper.func_198033_b(MouseHelper.java:87)
    at net.minecraft.client.MouseHelper$$Lambda$4494/642340409.run(Unknown Source)
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:427)
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85)
    at net.minecraft.client.MouseHelper.func_228030_c_(MouseHelper.java:175)
    at net.minecraft.client.MouseHelper$$Lambda$4493/2050640357.run(Unknown Source)
    at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94)
    at net.minecraft.client.MouseHelper.func_228028_b_(MouseHelper.java:174)
    at net.minecraft.client.MouseHelper$$Lambda$3918/900416096.invoke(Unknown Source)
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
    at org.lwjgl.system.JNI.invokeV(Native Method)
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174)
    at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127)
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:999)
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607)
    at net.minecraft.client.main.Main.main(Main.java:184)
    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:51)
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$446/1955587357.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:82)
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)


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

-- Head --
Thread: Render thread
Stacktrace:
    at net.minecraftforge.registries.ForgeRegistry$Snapshot.lambda$static$0(ForgeRegistry.java:844)
    at net.minecraftforge.registries.ForgeRegistry$Snapshot$$Lambda$5662/156954340.compare(Unknown Source)
    at java.util.TreeMap.compare(TreeMap.java:1291)
    at java.util.TreeMap.put(TreeMap.java:538)
    at net.minecraftforge.registries.ForgeRegistry.lambda$makeSnapshot$3(ForgeRegistry.java:820)
    at net.minecraftforge.registries.ForgeRegistry$$Lambda$5663/1008561904.accept(Unknown Source)
    at com.google.common.collect.HashBiMap.forEach(HashBiMap.java:528)
    at net.minecraftforge.registries.ForgeRegistry.makeSnapshot(ForgeRegistry.java:820)
    at net.minecraftforge.registries.RegistryManager.lambda$takeSnapshot$2(RegistryManager.java:180)
    at net.minecraftforge.registries.RegistryManager$$Lambda$5661/1486504709.accept(Unknown Source)
    at java.lang.Iterable.forEach(Iterable.java:75)
    at net.minecraftforge.registries.RegistryManager.takeSnapshot(RegistryManager.java:180)
    at net.minecraftforge.fml.FMLWorldPersistenceHook.getDataForWriting(FMLWorldPersistenceHook.java:76)
    at net.minecraftforge.fml.WorldPersistenceHooks.lambda$handleWorldDataSave$0(WorldPersistenceHooks.java:40)
    at net.minecraftforge.fml.WorldPersistenceHooks$$Lambda$5659/1901525199.accept(Unknown Source)
    at java.util.ArrayList.forEach(ArrayList.java:1249)
    at net.minecraftforge.fml.WorldPersistenceHooks.handleWorldDataSave(WorldPersistenceHooks.java:40)
    at net.minecraft.world.storage.SaveFormat$LevelSave.func_237288_a_(SaveFormat.java:345)
    at net.minecraft.world.storage.SaveFormat$LevelSave.func_237287_a_(SaveFormat.java:336)

-- Starting integrated server --
Details:
    Level ID: New World (5)
    Level Name: New World
Stacktrace:
    at net.minecraft.client.Minecraft.loadWorld(Minecraft.java:1740) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_238192_a_(Minecraft.java:1685) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.CreateWorldScreen.func_195352_j(CreateWorldScreen.java:260) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.CreateWorldScreen.lambda$init$11(CreateWorldScreen.java:205) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.screen.CreateWorldScreen$$Lambda$4863/1098645181.onPress(Unknown Source) ~[?:?] {}
    at net.minecraft.client.gui.widget.button.Button.func_230930_b_(SourceFile:33) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.widget.button.AbstractButton.func_230982_a_(SourceFile:16) ~[?:?] {re:classloading}
    at net.minecraft.client.gui.widget.Widget.func_231044_a_(Widget.java:136) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.gui.INestedGuiEventHandler.func_231044_a_(SourceFile:27) ~[?:?] {re:classloading}
    at net.minecraft.client.MouseHelper.func_198033_b(MouseHelper.java:87) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$4494/642340409.run(Unknown Source) ~[?:?] {}


-- Affected screen --
Details:
    Screen name: net.minecraft.client.gui.screen.CreateWorldScreen
Stacktrace:
    at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:427) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper.func_228030_c_(MouseHelper.java:175) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$4493/2050640357.run(Unknown Source) ~[?:?] {}
    at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94) ~[?:?] {re:classloading,pl:accesstransformer:B,xf:OptiFine:default}
    at net.minecraft.client.MouseHelper.func_228028_b_(MouseHelper.java:174) ~[?:?] {re:classloading,pl:runtimedistcleaner:A}
    at net.minecraft.client.MouseHelper$$Lambda$3918/900416096.invoke(Unknown Source) ~[?:?] {}
    at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {}
    at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar:build 10] {}
    at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(SourceFile:127) ~[?:?] {re:classloading}
    at net.minecraft.client.Minecraft.func_195542_b(Minecraft.java:999) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
    at net.minecraft.client.main.Main.main(Main.java:184) [?:?] {re:classloading,pl:runtimedistcleaner:A}
    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:51) [forge-1.16.5-36.1.0.jar:36.1] {}
    at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$446/1955587357.call(Unknown Source) [forge-1.16.5-36.1.0.jar:36.1] {}
    at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {}
    at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {}


-- System Details --
Details:
    Minecraft Version: 1.16.5
    Minecraft Version ID: 1.16.5
    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: 926283016 bytes (883 MB) / 2147483648 bytes (2048 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 12
    JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    ModLauncher: 8.0.9+86+master.3cf110c
    ModLauncher launch target: fmlclient
    ModLauncher naming: srg
    ModLauncher services: 
        /mixin-0.8.2.jar mixin PLUGINSERVICE 
        /eventbus-4.0.0.jar eventbus PLUGINSERVICE 
        /forge-1.16.5-36.1.0.jar object_holder_definalize PLUGINSERVICE 
        /forge-1.16.5-36.1.0.jar runtime_enum_extender PLUGINSERVICE 
        /accesstransformers-3.0.1.jar accesstransformer PLUGINSERVICE 
        /forge-1.16.5-36.1.0.jar capability_inject_definalize PLUGINSERVICE 
        /forge-1.16.5-36.1.0.jar runtimedistcleaner PLUGINSERVICE 
        /mixin-0.8.2.jar mixin TRANSFORMATIONSERVICE 
        /OptiFine_1.16.2_HD_U_G4.jar OptiFine TRANSFORMATIONSERVICE 
        /forge-1.16.5-36.1.0.jar fml TRANSFORMATIONSERVICE 
    FML: 36.1
    Forge: net.minecraftforge:36.1.0
    FML Language Providers: 
        [email protected]
        minecraft@1
    Mod List: 
        forge-1.16.5-36.1.0-client.jar                    |Minecraft                     |minecraft                     |1.16.5              |DONE      |NOSIGNATURE
        forge-1.16.5-36.1.0-universal.jar                 |Forge                         |forge                         |36.1.0              |DONE      |22:af:21:d8:19:82:7f:93:94:fe:2b:ac:b7:e4:41:57:68:39:87:b1:a7:5c:c6:44:f9:25:74:21:14:f5:0d:90
        mermaidtail-1.4.jar                               |Mermaid Tail Mod              |mermaidtail                   |1.16.4-1.4.0        |DONE      |NOSIGNATURE
        citadel-1.6.2.jar                                 |Citadel                       |citadel                       |1.6.2               |DONE      |NOSIGNATURE
        iceandfire-2.1.6-1.16.4.jar                       |Ice and Fire                  |iceandfire                    |2.1.6-1.16.4        |DONE      |NOSIGNATURE
        TravelersBackpack-1.16.4-5.3.8.jar                |Traveler's Backpack           |travelersbackpack             |5.3.8               |DONE      |NOSIGNATURE
    Crash Report UUID: 2c224fc6-ca3a-4044-97d0-bd94ded612e6
    Launched Version: 1.16.5-forge-36.1.0
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: GeForce RTX 2060/PCIe/SSE2 GL version 4.6.0 NVIDIA 461.72, NVIDIA Corporation
    GL Caps: Using framebuffer using OpenGL 3.0
    Using VBOs: Yes
    Is Modded: Definitely; Client brand changed to 'forge'
    Type: Client (map_client.txt)
    Graphics mode: fancy
    Resource Packs: vanilla, file/Livelihood (V. 0.3).zip, file/Space_Hotbar.zip, file/assorteddogbreeds.zip, file/oak-fox-variants.zip
    Current Language: English (US)
    CPU: 12x Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    OptiFine Version: OptiFine_1.16.2_HD_U_G3_pre2
    OptiFine Build: 20200820-215433
    Shaders: null
    OpenGlVersion: null
    OpenGlRenderer: null
    OpenGlVendor: null
    CpuCount: 0

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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