Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

baritone.dm.a() returns null

Boobies opened this issue ยท 4 comments

commented

Sometimes when I try to load a world, I get this:

[01:11:34] [pool-14-thread-2/ERROR]: Uncaught exception in thread "pool-14-thread-2"
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_746.method_19538()" because the return value of "baritone.dm.a()" is null
	at Not Enough Crashes deobfuscated stack trace.(1.18.1+build.22) ~[?:?]
	at baritone.dm.a(Unknown Source) ~[baritone-standalone-fabric-1.8.2.jar:?]
	at baritone.eo.c(Unknown Source) ~[baritone-standalone-fabric-1.8.2.jar:?]
	at baritone.eo.b(Unknown Source) ~[baritone-standalone-fabric-1.8.2.jar:?]
	at baritone.eo.d(Unknown Source) ~[baritone-standalone-fabric-1.8.2.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
	at java.lang.Thread.run(Thread.java:833) [?:?]
commented

This was on 1.18.1, under Fabric. If you need the whole log, I can upload it later when I have access to it---I didn't see anything interesting in it, though. Might be valuable to see any other mods at play at the very least. That said, the rest of the template is retarded because it asks for information already in the log.

commented

please fill out the issue template properly.

commented

the template is retarded because it asks for information already in the log

some of that info isn't on forge.
and you didn't even provide the whole log so you don't have that excuse as that info isn't present here

commented

To fix this for now disable pruneRegionsFromRAM, however I will look in to a more permanent fix for this