cabaletta / cabaletta/baritone

Unable to fix unhandled exception ie. cant get baritone to run.

Open
#4,926 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Java
Stars
9.2k
Forks
2.1k
Avg merge
4d 3h
Merged PRs (30d)
3

Description

## What do you need help with?
Running the Latest version of Meteor Client for 1.21.10 and their Baritone fork on AT Launcher, Will paste the Baritone portion of the latest log now, or the full log if needed. Does anyone have any knowledge to point me in the right direction, not looking to be spoon fed answers but I cant seem to get it working.

[18:53:02] [Render thread/INFO]: [CHAT] [Baritone] An unhandled exception occurred. The error is in your game's log, please report this at https://github.com/cabaletta/baritone/issues
[18:53:02] [Render thread/INFO]: [STDERR]: baritone.api.command.exception.CommandUnhandledException: java.lang.ExceptionInInitializerError
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.command.manager.CommandManager.execute(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.command.ExampleBaritoneControl.a(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.command.ExampleBaritoneControl.onSendChatMessage(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.event.GameEventHandler.a(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.event.GameEventHandler.onSendChatMessage(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_634.handler$zbd000$baritone-meteor$sendChatMessage(class_634.java)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_634.method_45729(class_634.java)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_408.method_44056(class_408.java:286)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_408.method_25404(class_408.java:130)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.mixinextras$bridge$method_25404$44(class_309.java)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.wrapOperation$bcm000$fabric-screen-api-v1$invokeKeyPressedEvents(class_309.java:1225)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_1466(class_309.java:480)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_22678(class_309.java:581)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1255.execute(class_1255.java:110)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_22676(class_309.java:581)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.system.JNI.invokeV(Native Method)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:139)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:161)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1041.method_15998(class_1041.java:314)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1523(class_310.java:1398)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1514(class_310.java:969)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.main(Main.java:250)
[18:53:02] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:514)
[18:53:02] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:72)
[18:53:02] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
[18:53:02] [Render thread/INFO]: [STDERR]: Caused by: java.lang.ExceptionInInitializerError
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta.lambda$drops$9(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1228)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta.drops(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta.lambda$getStackHashes$5(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:273)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:575)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.AbstractPipeline.evaluateToArrayNode(AbstractPipeline.java:260)
[18:53:02] [Render thread/INFO]: [STDERR]: at java.base/java.util.stream.ReferencePipeline.toArray(ReferencePipeline.java:616)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta.getStackHashes(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta.(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.command.datatypes.ForBlockOptionalMeta.get(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.command.datatypes.ForBlockOptionalMeta.get(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.command.argument.ArgConsumer.getDatatypeFor(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.command.defaults.MineCommand.execute(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: ... 28 more
[18:53:02] [Render thread/INFO]: [STDERR]: Caused by: net.minecraft.class_148: Registry Loading
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.method_62810(class_7655.java:296)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.method_45126(class_7655.java:261)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.method_45121(class_7655.java:228)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.mixinextras$bridge$method_45121$37(class_7655.java)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.wrapOperation$zoe000$fabric-registry-sync-v0$wrapIsServerCall(class_7655.java:1055)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.method_56515(class_7655.java:193)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta$ServerLevelStub.load(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//baritone.api.utils.BlockOptionalMeta$ServerLevelStub.(Unknown Source)
[18:53:02] [Render thread/INFO]: [STDERR]: ... 45 more
[18:53:02] [Render thread/INFO]: [STDERR]: Caused by: java.lang.IllegalStateException: Failed to load registries due to errors
[18:53:02] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_7655.method_62810(class_7655.java:280)
[18:53:02] [Render thread/INFO]: [STDERR]: ... 52 more

Image

## Final checklist
- [x] I know how to properly use check boxes
- [x] I have not used any OwO's or UwU's in this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by obtaining the full game log and reproducing the failure with the stated Minecraft 1.21.10, Meteor Client, Baritone fork, and AT Launcher setup. Trace the reported path through BlockOptionalMeta.ServerLevelStub.load and the registry-loading exception; done means identifying a reproducible cause and documenting the affected configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.