-
-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Labels
Description
Describe the Bug
When I click the play or "download more information" buttons for replays #26277555, #26277324, and #26277279, I get the exception and the download fails.
Log file or Error Message
Client v2025.11.13
java.util.concurrent.CompletionException: java.nio.BufferUnderflowException
at java.base/java.util.concurrent.CompletableFuture.wrapInCompletionException(CompletableFuture.java:323)
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:359)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:364)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:743)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531)
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2206)
at com.faforever.client.task.CompletableTask.lambda$new$2(CompletableTask.java:24)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:232)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:189)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
at javafx.event.Event.fireEvent(Event.java:199)
at javafx.concurrent.EventHelper.fireEvent(EventHelper.java:219)
at javafx.concurrent.Task.fireEvent(Task.java:1340)
at javafx.concurrent.Task.setState(Task.java:724)
at javafx.concurrent.Task$TaskCallable.lambda$call$1(Task.java:1418)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$0(PlatformImpl.java:424)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$0(WinApplication.java:168)
at java.base/java.lang.Thread.run(Thread.java:1474)
Caused by: java.nio.BufferUnderflowException: null
at java.base/java.nio.Buffer.nextGetIndex(Buffer.java:720)
at java.base/java.nio.HeapByteBuffer.getShort(HeapByteBuffer.java:450)
at com.faforever.commons.replay.body.ReplayBodyTokenizer.tokenize(ReplayBodyTokenizer.java:22)
at com.faforever.commons.replay.ReplayDataParser.parse(ReplayDataParser.java:449)
at com.faforever.commons.replay.ReplayDataParser.<init>(ReplayDataParser.java:77)
at com.faforever.client.replay.ReplayFileReaderImpl.parseReplay(ReplayFileReaderImpl.java:23)
at com.faforever.client.replay.ReplayService.runFafReplayFile(ReplayService.java:371)
at com.faforever.client.replay.ReplayService.runReplayFile(ReplayService.java:344)
at com.faforever.client.replay.ReplayService.lambda$runOnlineReplay$0(ReplayService.java:353)
at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:739)
... 20 common frames omitted
Reproduce the bug
Attempt to play or download replays #26277555, #26277324, and #26277279.
Expected Behavior
The replays download successfully and work like most other replays.
Screenshots
No response
Additional context
No response
Which Operating System are you using?
Windows
Reactions are currently unavailable