[1.19.2] Crash on startup - java.lang.IllegalAccessError
Nevrai opened this issue · 10 comments
Launcher console: https://pastebin.com/raw/VYKWbkh8
Log: https://pastebin.com/raw/3rAaP7zV
Nothing unusual appears in the log, and no crash report is generated, but the errors in the launcher’s console show that the crash was caused by Canary, and disabling Canary lets the game boot as expected.
Versions
- Minecraft: 1.19.2 (latest)
- Forge: 43.1.27 (latest)
- Canary: 0.0.2 (latest)
are you sure you don't forgot any mod dependency or updating forge for the required version in your modpack?
because java.lang.IllegalAccessError happens only when you forget any mod dependency or forge version is bad.
I'm also experiencing this issue on 1.19.2 with Canary build 0.0.3. Disabling it allows MC to run normally.
I'm convinced it's a mod conflicting as radium also crashes.
at TRANSFORMER/[email protected]/vazkii.patchouli.client.handler.BookCrashHandler.appendToCrashReport(BookCrashHandler.java:23)
Frustratingly , patchouli is not at fault as removing it shows a different mod there (and it keeps going with different mods). I'll try to remove each mod listed in its place and see if that fixes it.
No Canary: https://mclo.gs/k9imGFP
Canary: https://mclo.gs/ZHAGItt
Radium: https://mclo.gs/mJeEVKI
Edit:
removing patchouli now "blames" forge/minecraft.
at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData.init(GameData.java:107)
at TRANSFORMER/[email protected]/net.minecraftforge.registries.GameData.<clinit>(GameData.java:92)
at TRANSFORMER/[email protected]/net.minecraft.core.Registry.forge(Registry.java:435)
at TRANSFORMER/[email protected]/net.minecraft.core.Registry.forge(Registry.java:419)
at TRANSFORMER/[email protected]/net.minecraft.core.Registry.<clinit>(Registry.java:186)
at TRANSFORMER/[email protected]/net.minecraft.server.Bootstrap.m_135870_(Bootstrap.java:43)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.lambda$run$0(Main.java:145)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: org.spongepowered.asm.mixin.injection.throwables.InjectionError: Critical injection failure: Redirector getOtherPushableEntities(Lnet/minecraft/world/level/Level;Lnet/minecraft/world/entity/Entity;Lnet/minecraft/world/phys/AABB;Ljava/util/function/Predicate;)Ljava/util/List; in canary.mixins.json:entity.collisions.unpushable_cramming.LivingEntityMixin failed injection check, (0/1) succeeded. Scanned 1 target(s). Using refmap canary-mc1.19.2-refmap.json
Edit2
List of mods that crash with Canary:
* Guard Villagers
* Infernal Expansion
* Health Overlay
Interesting. It seems adding any mod after hitting 96 total causes the game to crash. It can be Create or Farmer's Delight. Everything I've tried after this "magical" 96 causes the game to crash.
96 mods: https://mclo.gs/2kEXOR4
96+Create: https://mclo.gs/MulL0UL
96+Ecologics: https://mclo.gs/Ngvzbrt
96+Guard Villagers: https://mclo.gs/vwKs2LD
The even more interesting part is that it also occurs with Radium. So either this is a forge bug or an upstream issue canary inherited when forked. Disabling either results in the game functioning.
(96-Canary/Radium)+Create: https://mclo.gs/0cMjBYV
are you sure you don't forgot any mod dependency or updating forge for the required version in your modpack? because java.lang.IllegalAccessError happens only when you forget any mod dependency or forge version is bad.
This crash also appears in my modpack, but it is 1.18.2 Forge.
debug.log
I'm trying to find mods that conflict with canary. But I have been busy with exams recently. More useful information may not be available in the short term.
fixed in 1.18.2
are you sure you don't forgot any mod dependency or updating forge for the required version in your modpack? because java.lang.IllegalAccessError happens only when you forget any mod dependency or forge version is bad.
@AbdElAziz333 VERY COOL NOTE TO CHECK OUT HERE.
This is incompatbility with debugify, for now you can fix this issue by adding mixin.entity.collisions.unpushable_cramming
=false
to the canary.properties file in the config folder.
If you got java.lang.IllegalAccessError error that means you are missing a mod dependency or update forge version to your game, this is weird error and it may take time to fix.
If you got java.lang.IllegalAccessError error that means you are missing a mod dependency or update forge version to your game, this is weird error and it may take time to fix.
You're right, I AM getting a missing mandatory. However it says missing dependency: minecraft, but not form which mod!
latest.log
debug.log also doesn't contain it but it's too large for pastebin
EDIT: I found the mod causing the missing dependency after disabling canary temporarily