Quark Oddities

Quark Oddities

22M Downloads

java.lang.ArrayIndexOutOfBoundsException at startup

Nazguliki opened this issue ยท 9 comments

commented

Versions

  • Quark version - r2.4-286
  • Charm version - 2.2.2
  • Minecraft version - 1.16.4

Description
When launching minecraft with Quark and Charm together, get this crush error:
Quark (quark) encountered an error during the common_setup event phase
java.lang.ArrayIndexOutOfBoundsException: -1

Logs
debug.log
latest.log
crash-2021-01-04_15.41.51-fml.txt

commented

Reported that to charm page, got this answer:

" This is a quark issue. See #2767. Seems like Vazkii fixed it for LeafCarpetModule, but you're crashing in BlossomTreesModule. Best report to quark with that reference.
Also note that this is a race condition and restarting your game/server should eventually work. "

Then, the ticked was closed... so... im reporting it here.

commented

This should be fixed with the latest changes. Let me know if it still crashes once the next build comes out.

commented

@ anyone having the issue - let me know if 288 fixes it.

commented

Doesn't crash on startup now, but throws this error about not being able to load any old worlds because of the datapack,

https://pastebin.com/xM8mxcgS

commented

This is not fixed in 288, I can reproduce in our charm dev environment.
I've taken a look at the source and your fixes: My analysis points to a concurrency issue, which is probably caused by LeafCarpetModule not using enqueue, while all other modules do. I'll send over a fix soon.

commented

Yep, Quark 288 does work with charm 2.1.9, but not with charm 2.2.0 or above.
Server crush randomly, here is the logs:
latest.log
debug.log
crash-2021-01-06_09.00.13-server.txt

p.s. its strange, the quark 286 working fine on dedicated server side, but crush the Minecraft client.
And... quark 288 works on the client, but crush the server.
Also, both cases - not random crushes, its runs fine once after installing difference version of charm or quark, and then it crush on every start.

commented

So, i made dedicated server just for testing... i never enter the server, just run it to see if it start. There is just Quark-r2.4-289, AutoRegLib-1.6-47 and charm-forge-1.16.4-2.2.2
And it was crushing on start randomly... but then it stops. Now, i cant make it crush even once, for logs... will do more tests tomorrow.

The last one was outstanding, its even didnt generate crush report. I belive it have nothing to do with quark,but im not programmer.
latest.log
debug.log

p.s.
thanks allot for working on it ^_^

commented

If I run 289 with Charm and BYG, I get the same ArrayIndexOutofBounds error, but attributed to Biomes You'll Go. Strangely, BYG and Quark 289 work fine together- it just crashes and blames BYG when I add Charm to the mix.

commented

So... i did some test with 288 and 289.
288 crushes, but 289 is not :o
Its win, ladies and gentlemen.