Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Baritone "unhandled exception occured" only happens on server

kearnal opened this issue · 6 comments

commented

Some information

Operating system: windows 10
Java version: 1.12.2
Minecraft version: Java
Baritone version:baritone-standalone-forge-1.2.15
Other mods (if used): Dalek Mod, Just enough items,

Exception, error or logs

Please find your latest.log or debug.log in this folder and attach it to the issue

Linux: ~/.minec [debug-1.log](https://github.com/cabaletta/baritone/files/7433995/debug-1.log) raft/logs/

Windows: %appdata%/.minecraft/logs/Uploading debug-1.log…

How to reproduce

Add your steps to reproduce the issue/bug experienced here.

go onto the dalek mod server and try to run the #mine command it will tell you that an unhandled exception occured- still works on singleplayer, yet impacts baritone works in multiplayer and singleplayer

Modified settings

To get the modified settings run #modified in game

Final checklist

  • 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.
commented

From the log I can tell you are using not only Baritone, Dalek Mod and JEI but also Optifine, Journeymap, Xray and Impact. Journeymap is throwing an awful lot of NullPointerExceptions, Minecraft is throwing some occasional fatal NPEs as well, there is a bunch of texture loading errors and I'm not sure whether you are using mcpatcher because I don't know whether Optifine always comes with the mcpatcher connected textures or not. About the CommandUnhandledException this issue is about I could only conclude that it is caused by a NPE in WorldScanner#repack, but I don't even have a line number because you are using the standalone Baritone jar and only the unoptimised jar does not have line numbers stripped off.

You can try reproducing this again with an unoptimised jar (doesn't exist for Forge 1.12.2 so you would have to install it without Forge and install Forge on top. Don't ask me how, I simply don't know it) and you could try with all client side mods (Journeymap, JEI, Optifine, Impact, possibly mcpatcher) removed, but I don't really expect to be able to find the error just from looking at the log and I don't want to join that server with Baritone installed, so I won't do any testing unless this issue is reproducable in singleplayer or on local servers.

commented

Oh and I forgot to mention that one of your mods teleports either the player or the camera to a different dimension without moving the other (probably Dalek Mod, it's the only one that should really be dealing with teleporting, dimensions, moving the camera or creating more cameras for the looking into and out of Tardises)

commented

I can't find a unhandled error in that log, please make sure you have uploaded the correct log.

Also, you shouldn't use baritone on server's where it isn't allowed. I couldn't find anything directly saying not to use modifications on that server, but just be careful.

commented

try uploading your latest.log or the log that was there at time of crash

commented
commented

here it is