#mine not working
Godfather096 opened this issue ยท 6 comments
Some information
Operating system: Windows 10
Java version: version 8 update 351
Minecraft version: 1.19.3
Baritone version: null version
Other mods (if used): meteor-client-0.5.2-1718 fabric-api-0.69.0+1.19.3
Exception, error or logs
Please find your latest.log
or debug.log
in this folder and attach it to the issue
Linux: ~/.minecraft/logs/
Windows: %appdata%/.minecraft/logs/
[16:36:21] [Render thread/INFO]: [System] [CHAT] [Baritone] > mine iron_ore deepslate_iron_ore raw_iron_block
[16:36:21] [Render thread/INFO]: Reloading ResourceManager: vanilla
[16:36:21] [Render thread/INFO]: [System] [CHAT] [Baritone] An unhandled exception occurred. The error is in your game's log, please report this at https://github.com/cabaletta/baritone/issues
[16:36:21] [Render thread/INFO]: [STDERR]: baritone.api.command.exception.CommandUnhandledException: java.lang.NullPointerException: Cannot invoke "baritone.api.cache.IWorldData.getCachedWorld()" because the return value of "baritone.api.utils.IPlayerContext.worldData()" is null
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.command.manager.CommandManager.execute(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.command.ExampleBaritoneControl.a(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.command.ExampleBaritoneControl.onSendChatMessage(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.event.GameEventHandler.a(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.event.GameEventHandler.onSendChatMessage(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_634.handler$zzb000$sendChatMessage(class_634.java)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_634.method_45729(class_634.java)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_408.method_44056(class_408.java:253)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_408.method_25404(class_408.java:101)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_309.method_1454(class_309.java:371)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_437.method_25412(class_437.java:492)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_309.method_1466(class_309.java:367)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_309.method_22678(class_309.java:455)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_1255.execute(class_1255.java:102)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_309.method_22676(class_309.java:455)
[16:36:21] [Render thread/INFO]: [STDERR]: at org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
[16:36:21] [Render thread/INFO]: [STDERR]: at org.lwjgl.system.JNI.invokeV(Native Method)
[16:36:21] [Render thread/INFO]: [STDERR]: at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3403)
[16:36:21] [Render thread/INFO]: [STDERR]: at com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:190)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_1041.method_15998(class_1041.java:310)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_310.method_1523(class_310.java:1222)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.class_310.method_1514(class_310.java:781)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.client.main.Main.method_44604(Main.java:244)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.minecraft.client.main.Main.main(Main.java:51)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
[16:36:21] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
[16:36:21] [Render thread/INFO]: [STDERR]: Caused by: java.lang.NullPointerException: Cannot invoke "baritone.api.cache.IWorldData.getCachedWorld()" because the return value of "baritone.api.utils.IPlayerContext.worldData()" is null
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.cache.WorldScanner.repack(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.cache.WorldScanner.repack(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: at baritone.command.defaults.MineCommand.execute(Unknown Source)
[16:36:21] [Render thread/INFO]: [STDERR]: ... 28 more
Mac: /Library/Application\ Support/minecraft/logs/
How to reproduce
Add your steps to reproduce the issue/bug experienced here.
typed #mine iron_ore deepslate_iron_ore raw_iron_block
(or any block, none work)
Modified settings
To get the modified settings run #modified
in game
Final checklist
- I know how to properly use check boxes
- I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- I have included logs, exceptions and / or steps to reproduce the issue.
- I have not used any OwO's or UwU's in this issue.
Duplicate of #3756
Thanks for the unobfuscated log though.
that's just because meteor fork I think... and the methods are still obf.
I pushed an update for 1.19.3 with an extra println to see if the next person to report this gets that line logged
im sorry it's my first time reporting a bug, so how can i fix this if it's marked as resolved?
If you mean this
then that's just GitHub being misleading.
This issue is closed because the bug was already reported in #3756 and you will have to look at that issue to see whether the bug is fixed.
What you can do right now is using this version of Baritone (click on "artifacts" to download it) to make another log with the exception, which you then upload as a comment on #3756.