cabaletta / cabaletta/baritone
Pathing exception java.lang.NullPointerException
- Dominant language
- Java
- Stars
- 9.2k
- Forks
- 2.1k
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 3
Description
Operating system: Win-10
Java version: 1.8.0_45
Java(TM) SE Runtime Environment: build 1.8.0_45-b14
Minecraft version: 1.12.2 (Forge 1.12.2 (14.23.5.2854))
Baritone version: [v1.2.14]
Forge mods: BuildCraft, IC2, Thermal expansion, ThemalFoundation, ThermalDynamic, Redstone Flux and like 100,000 more.
Baritone on default settings pretty much, only modified **allowParkour**, **allowParkourPlace** and **chatDebug** to **true**.
**This error seems to be triggered by Industrial Craft 2 machines**, to reproduce simply go into any server or world and do #thisway and then #path, you will notice that it works perfectly fine but as soon as you are anywhere near Industrial craft 2 or you place one of the Industrial craft 2 machine blocks (machines to be more specific) down the error [Baritone] Pathing exception: **java.lang.NullPointerException** will start appearing, Baritone gets stuck in this state until you use command #stop
Link to download of version of Baritone that I used: https://github.com/cabaletta/baritone/releases/download/v1.2.14/baritone-api-forge-1.2.14.jar, Installed by following **these instructions** which can be found [here](https://github.com/cabaletta/baritone).

Here's few screenshots of latest.log.


I have **NOT** tested if Impact for Forge 1.12.2 has this issue, however, even if Baritone that's builtin Impact for Forge 1.12.2 worked, please do not tell me to download Impact as I do not want to use a hacked client just to get Baritone to work.
I guess that's what I get for using Baritone on 1.12.2 with forge and server overfilled with mods 🤷♂️, I will try to provide more information or try my best to help fix this issue, if anyone's willing to fix this issue that is, Thanks for reading and forgive my bad grammar, English is not my primary language.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in Minecraft 1.12.2 with Forge, Industrial Craft 2 machines, and the reported Baritone settings, using #thisway followed by #path. Start by inspecting latest.log when pathing enters the exception state. Done means pathing no longer repeatedly reports a NullPointerException near or after placing Industrial Craft 2 machines.
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
- Mostly clear
- Newbie friendliness
- 30/100