Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

baritone is crashing

John200410 opened this issue ยท 22 comments

commented

Some information

Operating system: Windows 10 build 1803
Java version: Default Minecraft Java
Minecraft version: 1.12.2
Baritone version: 1.2.10
Forge mods (if used): Future, rusherhack, riga's highway builder, ReAuth, Schematica & required libs. (I tried without any mods and it still doesn't work)

Exception, error or logs

You can find your logs in %appdata%/.minecraft/logs/ (Windows) or /Library/Application\ Support/minecraft/logs (Mac).

java.lang.IllegalAccessError: tried to access field net.minecraft.util.math.Vec3i.field_177962_a from class baritone.ei
at baritone.ei.a(Unknown Source)
at baritone.ei.a(Unknown Source)
at baritone.hc.a(Unknown Source)
at baritone.hc$$Lambda$192/639061779.accept(Unknown Source)
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890)
at baritone.hc.a(Unknown Source)
at net.minecraft.client.Minecraft.handler$runTick$zcj000(Minecraft.java)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1754)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397)
at net.minecraft.client.main.Main.main(SourceFile:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

How to reproduce

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

Join a world and crash, singleplayer and multiplayer.

Final checklist

  • [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

Hey, I never enabled noverify, but it's still crashing for me.

commented

Hey, I never enabled noverify, but it's still crashing for me.

This may be a different issue then, please look at your log and see whether the error looks similar to this one, and if not open a new issue with the log.

commented

im having the same problem xd

commented

Follow the solution in the above issue and remove noverify then

commented

Are you using the standalone or api version?

commented

Are you using the standalone or api version?

standalone

commented

Same, I get this crap too, many people have gotten java.lang.IllegalAccessError errors from baritone all which seem to be different.

commented

Are you using the standalone or api version?

standalone

I am unable to reproduce. Can you send a full crash report and logs on the latest forge 1.12.2 with the latest baritone standalone for 1.12.2 with zero mods?

commented

Are you using the standalone or api version?

standalone

I am unable to reproduce. Can you send a full crash report and logs on the latest forge 1.12.2 with the latest baritone standalone for 1.12.2 with zero mods?

latest.log

commented

bumping this

commented

Try using the API release instead of Standalone and see if the issue persists. I think I might have an idea as to what is causing this.

commented

Try using the API release instead of Standalone and see if the issue persists. I think I might have an idea as to what is causing this.

Just downloaded the latest API release for forge and the issue still persists.

[21:07:02] [main/INFO] [FML]: Applying holder lookups
[21:07:02] [main/INFO] [FML]: Holder lookups applied
[21:07:03] [pool-5-thread-4/INFO] [STDOUT]: [baritone.u:b:-1]: Started saving saved containers in a new thread
[21:07:03] [pool-5-thread-3/INFO] [STDOUT]: [baritone.u:c:-1]: Started saving the world in a new thread
[21:07:03] [main/FATAL] [net.minecraft.client.Minecraft]: Unreported exception thrown!
java.lang.IllegalAccessError: tried to access field net.minecraft.util.math.Vec3i.field_177962_a from class baritone.j
at baritone.j.a(Unknown Source) ~[j.class:1.2.11]
at baritone.j.onTick(Unknown Source) ~[j.class:1.2.11]
at baritone.ce.a(Unknown Source) ~[ce.class:1.2.11]
at baritone.ce$$Lambda$198/1455227219.accept(Unknown Source) ~[?:?]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:890) ~[?:1.8.0_51]
at baritone.ce.onTick(Unknown Source) ~[ce.class:1.2.11]
at net.minecraft.client.Minecraft.handler$runTick$zck000(Minecraft.java) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1754) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1097) ~[bib.class:?]
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:397) [bib.class:?]
at net.minecraft.client.main.Main.main(SourceFile:123) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]

commented

Get this.

It's having -noverify on.

IDEFK

commented

Still persists, adding a AT in another mod making the fields accessible causes a fail with:

java.lang.IncompatibleClassChangeError: Expected non-static field baritone.dj.field_177990_b
    at baritone.hn.b(Unknown Source)
    at baritone.el.a(Unknown Source)
    at baritone.el.a(Unknown Source)
    at baritone.hf.a(Unknown Source)
    at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
    at baritone.hf.a(Unknown Source)

commented

Expected non-static field baritone.dj.field_177990_b

something is deformed here...

commented

thank you babbaj for labelling this correctly. I was getting this issue for like 2 weeks in a non-dev env and I couldn't figure it out for the life of me. I'm so fucking stupid

commented

How do I disable noverify?

commented

The same way you enabled it.

commented

Im getting this error too

commented

Figured it out, it crashes when you have noverify on. Idk why I had it on

commented

did you try reading one comment up

commented

Can confirm that after removing noverify, it runs properly