Open Terrain Generator (OTG)

Open Terrain Generator (OTG)

10M Downloads

Crashed my launcher when I added a custom preset.

EnvyEnfys opened this issue ยท 1 comments

commented

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

Time: 12/10/21 3:23 PM
Description: mouseClicked event handler

java.lang.NullPointerException: mouseClicked event handler
at com.pg85.otg.gen.biome.layers.BiomeLayerData.init(BiomeLayerData.java:268) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.registerBiomesForPreset(ForgePresetLoader.java:391) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.registerBiomes(ForgePresetLoader.java:153) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.reRegisterBiomes(ForgePresetLoader.java:140) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.biome.OTGBiomeProvider.getAllBiomesByPreset(OTGBiomeProvider.java:100) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.biome.OTGBiomeProvider.(OTGBiomeProvider.java:58) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.gui.OTGGui$1.func_241869_a(OTGGui.java:61) ~[?:1.16.5-0.1.6] {re:classloading}
at net.minecraft.client.gui.screen.BiomeGeneratorTypeScreens.func_241220_a_(BiomeGeneratorTypeScreens.java:163) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.WorldOptionsScreen.func_239050_a_(WorldOptionsScreen.java:114) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.WorldOptionsScreen$$Lambda$8982/183761305.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:computing_frames,re:classloading}
at net.minecraft.client.MouseHelper.func_198033_b(MouseHelper.java:87) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$8725/1335358406.run(Unknown Source) ~[?:?] {}
at net.minecraft.client.gui.screen.Screen.func_231153_a_(Screen.java:427) ~[?:?] {re:mixin,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:computing_frames,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:classloading,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper.func_228030_c_(MouseHelper.java:181) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$8724/1703454758.run(Unknown Source) ~[?:?] {}
at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.client.MouseHelper.func_228028_b_(MouseHelper.java:180) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$7155/141027131.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:1000) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:mixins.lightfall.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:mixins.lightfall.json:MinecraftMixin,pl:mixin:A,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.2.9.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$478/3768050.call(Unknown Source) [forge-1.16.5-36.2.9.jar:36.2] {}
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:?] {}

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

-- Head --
Thread: Render thread
Stacktrace:
at com.pg85.otg.gen.biome.layers.BiomeLayerData.init(BiomeLayerData.java:268) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.registerBiomesForPreset(ForgePresetLoader.java:391) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.registerBiomes(ForgePresetLoader.java:153) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.presets.ForgePresetLoader.reRegisterBiomes(ForgePresetLoader.java:140) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.biome.OTGBiomeProvider.getAllBiomesByPreset(OTGBiomeProvider.java:100) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.biome.OTGBiomeProvider.(OTGBiomeProvider.java:58) ~[?:1.16.5-0.1.6] {re:classloading}
at com.pg85.otg.forge.gui.OTGGui$1.func_241869_a(OTGGui.java:61) ~[?:1.16.5-0.1.6] {re:classloading}
at net.minecraft.client.gui.screen.BiomeGeneratorTypeScreens.func_241220_a_(BiomeGeneratorTypeScreens.java:163) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.WorldOptionsScreen.func_239050_a_(WorldOptionsScreen.java:114) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.client.gui.screen.WorldOptionsScreen$$Lambda$8982/183761305.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:computing_frames,re:classloading}
at net.minecraft.client.MouseHelper.func_198033_b(MouseHelper.java:87) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$8725/1335358406.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:mixin,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:computing_frames,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A,re:classloading,xf:fml:configured:set_background_texture_2,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper.func_198023_a(MouseHelper.java:85) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper.func_228030_c_(MouseHelper.java:181) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$8724/1703454758.run(Unknown Source) ~[?:?] {}
at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(SourceFile:94) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.client.MouseHelper.func_228028_b_(MouseHelper.java:180) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:cgm.mixins.json:client.MouseHelperMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.MouseHelper$$Lambda$7155/141027131.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:1000) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:mixins.lightfall.json:MinecraftMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:607) [?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:mining_helmet.mixins.json:MinecraftMixin,pl:mixin:APP:immersiveengineering.mixins.json:accessors.client.MinecraftAccess,pl:mixin:APP:mixins.lightfall.json:MinecraftMixin,pl:mixin:A,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.2.9.jar:36.2] {}
at net.minecraftforge.fml.loading.FMLClientLaunchProvider$$Lambda$478/3768050.call(Unknown Source) [forge-1.16.5-36.2.9.jar:36.2] {}
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:?] {}

commented

Hey @EnvyEnfys , looks like there is a problem with your preset, likely with missing or non-existing river biomes. We should improve this to not cause a crash but log a warning instead. Please join us on the discord for any problems creating presets, we can help you figure out which config/setting is the problem, thanks!

Discord: https://discord.gg/UXzdVTH