baritone icon indicating copy to clipboard operation
baritone copied to clipboard

baritone is crashing

Open John200410 opened this issue 6 years ago • 22 comments

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.

John200410 avatar Dec 07 '19 03:12 John200410

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

THEREALWWEFAN231 avatar Dec 07 '19 04:12 THEREALWWEFAN231

Are you using the standalone or api version?

0-x-2-2 avatar Dec 07 '19 17:12 0-x-2-2

Are you using the standalone or api version?

standalone

John200410 avatar Dec 07 '19 17:12 John200410

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?

0-x-2-2 avatar Dec 08 '19 19:12 0-x-2-2

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

John200410 avatar Dec 08 '19 20:12 John200410

bumping this

John200410 avatar Dec 18 '19 20:12 John200410

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.

ZeroMemes avatar Jan 17 '20 16:01 ZeroMemes

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:?]

John200410 avatar Jan 18 '20 02:01 John200410

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)

cittyinthecloud avatar Feb 13 '20 23:02 cittyinthecloud

Expected non-static field baritone.dj.field_177990_b

something is deformed here...

0-x-2-2 avatar Feb 14 '20 00:02 0-x-2-2

Get this.

It's having -noverify on.

IDEFK

cittyinthecloud avatar Feb 14 '20 01:02 cittyinthecloud

Im getting this error too

Tigermouthbear avatar May 21 '20 18:05 Tigermouthbear

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

Tigermouthbear avatar May 21 '20 18:05 Tigermouthbear

did you try reading one comment up

5HT2 avatar May 21 '20 18:05 5HT2

Can confirm that after removing noverify, it runs properly

John200410 avatar May 22 '20 02:05 John200410

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

5HT2 avatar Aug 10 '20 00:08 5HT2

How do I disable noverify?

harshpatel0 avatar Sep 09 '20 05:09 harshpatel0

The same way you enabled it.

5HT2 avatar Sep 09 '20 13:09 5HT2

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

JustOchz avatar Mar 27 '22 00:03 JustOchz

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.

scorbett123 avatar Mar 27 '22 09:03 scorbett123