CodeChicken Lib 1.8.+

CodeChicken Lib 1.8.+

128M Downloads

1.20.1 - Bug - Crash on startup

muggleorwizard opened this issue ยท 9 comments

commented

Description:

Caused by: java.lang.ClassCastException: class [Lcodechicken.lib.vec.Vector3; cannot be cast to class codechicken.lib.render.model.ModelMaterial ([Lcodechicken.lib.vec.Vector3; and codechicken.lib.render.model.ModelMaterial are in module [email protected] of loader 'TRANSFORMER' @70592729)
	at codechicken.lib.render.model.ModelMaterial$1.copyRange(ModelMaterial.java:14) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23475!/:4.4.0.512] {re:classloading}
	at codechicken.lib.render.CCModel.copy(CCModel.java:590) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23475!/:4.4.0.512] {re:classloading}
	at codechicken.lib.render.CCModel.copy(CCModel.java:793) ~[CodeChickenLib-1.20.1-4.4.0.512-universal.jar%23475!/:4.4.0.512] {re:classloading}

Crash Log:
https://bytebin.lucko.me/oZZ1uvCObS

Modpack: Ozone Skyblock Reborn

Crash report says Code Chicken Lib and Ender Chests 1.8+ are the issue. Also having a crash with Draconic Evolution that occurs sometimes with a different error.
Draconic-Inc/Draconic-Evolution#1838

commented

This appears to have worked! A player who was getting the crash used the new jar file and they were no longer crashing on startup :) will this version be published to curseforge?

Yes, this build will be published to CurseForge soon, I'd like more feedback from people experiencing this bug first. If none is received, I'll just roll it out on Monday.

commented

I'll give this a try, but I have not had this issue myself. Only a few people who play my pack have reported it (and I made sure they had not modified any files or mods). I will ask the people who had the issue to try this build. Thanks for the reply!

This appears to have worked! A player who was getting the crash used the new jar file and they were no longer crashing on startup :) will this version be published to curseforge?

commented

This appears to have worked! A player who was getting the crash used the new jar file and they were no longer crashing on startup :) will this version be published to curseforge?

Yes, this build will be published to CurseForge soon, I'd like more feedback from people experiencing this bug first. If none is received, I'll just roll it out on Monday.

#461 (comment) here is another success story

commented

I have been unable to reproduce this issue at all. Scouring the code the only thing I can think of is somehow this is a concurrency issue when AttributeKey instances are being registered via class load, through different mods.

Can you please try this build of CCL https://maven.covers1624.net/io/codechicken/CodeChickenLib/1.20.1-4.4.0.516/CodeChickenLib-1.20.1-4.4.0.516-universal.jar

commented

I'll give this a try, but I have not had this issue myself. Only a few people who play my pack have reported it (and I made sure they had not modified any files or mods). I will ask the people who had the issue to try this build. Thanks for the reply!

commented

I've had about 10 people on my discord report success with the updated jar

commented

I can send you report of successes if needed in order to have the curseforge release.

commented

No need, I simply forgot to hit the button ๐Ÿ™ƒ

This build should be available on CurseForge/Modrinth now (approval pending on CF).

commented

Thank you so much!