Applied Energistics 2

Applied Energistics 2

156M Downloads

Duplicate registration of ae2:qnb hides other errors

ryleu opened this issue ยท 2 comments

commented

Describe the bug

An error complaining about a duplicate registration of ae2:qnb hides errors that actually caused whatever crash happened to occur.

How to reproduce the bug

See #6092

Expected behavior

The actual cause of the crash should be the first thing in the stack trace, not stuff about ae2 when it's unrelated

Additional details

No response

Which minecraft version are you using?

1.19

On which mod loaders does it happen?

Fabric

Crash log

See the one in the linked issue

commented

the log posted in the linked issue is not a crash report, but normal game log.
It just happens to have a crash report in the middle of it.
the line java.lang.IllegalStateException: Duplicate registration for ae2:qnb appears after the crash report.
At this time, minecraft is in a broken state (it already crashed, but it seems like Not Enough crashes forces the game to continue anyways).
This broken state (which can never occur without Not Enough crashes) causes ae2 to register something twice.

yes, that message confuses users about the issue (otherwise people wouldn't post it on ae2's issue tracker), but it has nothing to do with ae2, and is solely the fault of Not Enough crashes.

The actual error is still show, Not Enough crashes just buried it a bit.

commented

Got it, thank you, sorry for nothing you.