Replay Mod (Fabric & Forge)

Replay Mod (Fabric & Forge)

787k Downloads

Broken render queue file causes NPE crash

Johni0702 opened this issue ยท 0 comments

commented
java.lang.NullPointerException: Cannot invoke "java.util.List.isEmpty()" because "renderQueue" is null
	at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayEntry.<init>(GuiReplayViewer.java:534)
	at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayList$1.<init>(GuiReplayViewer.java:386)
	at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayList.lambda$new$2(GuiReplayViewer.java:386)

We should guard against that.

No clue why it's broken in the first place but that would probably be solved with a new file format which supports atomic changes and doesn't require all the temp file shenanigans.