Posted August 25, 20196 yr https://gist.github.com/yrsegal/4f9ca65d13b74dbf69dea24e6a9d548a This occurs approximately 3 times out of 4 loads of the game. By stepping through with breakpoints, it appears that the resize behavior for ListenerList, meant to keep it consistent across all listener lists, was not resizing the last 14 or so out of about 50 listeners. This leads to a crash (ArrayIndexOutOfBoundsException), as seen above. I have confirmed, by putting locks into the code, that this does not occur if the setup threads are not concurrent.
August 28, 20196 yr I've started a proper report for you here: https://github.com/MinecraftForge/EventBus/issues/34 I am unable to reproduce, please provide test code/mods and we can take a look. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
August 31, 20196 yr @WireSegalThis should be fixed with latest forge (28.0.75), does it still occur for you?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.