cabaletta / cabaletta/baritone
1.12.2: Crash on goto "crafting_table"
- Dominant language
- Java
- Stars
- 9.2k
- Forks
- 2.1k
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 3
Description
## Some information
Java version: 8u275
Minecraft version: 1.12.2
Baritone version: `baritone-api-forge-1.2.14.jar`
Forge mods (if used):
```
BetterFps-1.4.8.jar
foamfix-0.10.11-1.12.2.jar
forgehax-1.12.2-2.9.0.jar
mod-litemodwdl-4.1.1.0-SNAPSHOT-mc1.12.2.litemod
XRay-58-vDLB.jar
```
## Exception, error or logs
```
[CHAT] [Baritone] > goto crafting_table
[CHAT] [Baritone] An unhandled exception occurred. The error is in your game's log, please report this at https://github.com/cabaletta/baritone/issues
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: baritone.api.command.exception.CommandUnhandledException: java.lang.NullPointerException
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at baritone.cd.execute(Unknown Source)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at baritone.x.a(Unknown Source)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at baritone.x.onSendChatMessage(Unknown Source)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at baritone.cf.a(Unknown Source)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:895)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at baritone.cf.onSendChatMessage(Unknown Source)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.entity.EntityPlayerSP.handler$sendChatMessage$zbj000(EntityPlayerSP.java)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.entity.EntityPlayerSP.func_71165_d(EntityPlayerSP.java)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.gui.GuiScreen.func_175281_b(GuiScreen.java:424)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.gui.GuiScreen.func_175275_f(GuiScreen.java:411)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.gui.GuiChat.func_73869_a(SourceFile:81)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.gui.GuiScreen.func_146282_l(GuiScreen.java:558)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:512)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1759)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.client.main.Main.main(SourceFile:123)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at java.lang.reflect.Method.invoke(Method.java:498)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at java.lang.reflect.Method.invoke(Method.java:498)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at org.multimc.EntryPoint.listen(EntryPoint.java:143)
[baritone.api.command.exception.CommandUnhandledException:handle:-1]: at org.multimc.EntryPoint.main(EntryPoint.java:34)
[java.lang.Throwable:printStackTrace:635]: Caused by: java.lang.NullPointerException
[java.lang.Throwable:printStackTrace:635]: at baritone.api.utils.BlockOptionalMeta.matches(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.api.utils.BlockOptionalMetaLookup.has(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.w.a(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.w.scanChunkRadius(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.fc.a(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.fa.a(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.fa.getToBlock(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: at baritone.bh.execute(Unknown Source)
[java.lang.Throwable:printStackTrace:635]: ... 31 more
```
## How to reproduce
Not sure.
First time it did start going there, then suddenly disconnected from the proxy server (no error in logs on either side).
Then rejoined and restarted the command. Baritone was standing still. Upon another retry (stop-goto), the entire client crashed. `goto crafting_table`
## Modified settings
None
## Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [x] I have included logs, exceptions and / or steps to reproduce the issue.
- [x] I have not used any OwO's or UwU's in this issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.