CyclopsMC / CyclopsCore

Minecraft library mod for EvilCraft, Integrated Dynamics and others.
http://cyclopsmc.github.io/CyclopsCore/
MIT License
20 stars 29 forks source link

Server Crash - Null Pointer Exception due to race condition #152

Closed Yourname942 closed 3 years ago

Yourname942 commented 3 years ago

Issue type:


Short description:

The server crashed on booting up.

Steps to reproduce the problem:

  1. launch the server
  2. experience crash

Expected behaviour:

The server should boot up with no issues


Versions:

Log file:

Crash Log: https://gist.github.com/Yourname942/2f2dbfe709e2971a096ead6bed776d47 Latest Log: https://gist.github.com/Yourname942/75a097d5378e41581c1f4f02a366cb75

rubensworks commented 3 years ago

Thanks for reporting!

rubensworks commented 3 years ago

@Yourname942 Does this crash always happen, or just sometimes? Does this only occur for you when other mods are installed?

Note to self: https://github.com/CyclopsMC/CyclopsCore/blob/master-1.16/src/main/java/org/cyclops/cyclopscore/infobook/InfoBookRegistry.java#L83

GitHub
CyclopsMC/CyclopsCore
Minecraft library mod for EvilCraft, Integrated Dynamics and others. - CyclopsMC/CyclopsCore
Yourname942 commented 3 years ago

This is the first time it has happend, so I'm not sure how frequently it would occur

rubensworks commented 3 years ago

Ok, good to know, so probably a race condition.

rubensworks commented 3 years ago

Haven't been able to reproduce this, but next version will contain a change that will make it easier to debug if it should occur again.

rubensworks commented 3 years ago

Closing this in the meantime. Please comment (with logs) should this issue occur again for anyone.