Ree6-Applications/Ree6

CompletionException: java.lang.NullPointerException: Cannot invoke "de.presti.ree6.game.core.base.IGame.joinGame(de.pr...

Closed this issue · 0 comments

Sentry Issue: REE6-JAVA-2H

NullPointerException: Cannot invoke "de.presti.ree6.game.core.base.IGame.joinGame(de.presti.ree6.game.core.base.GamePlayer)" because the return value of "de.presti.ree6.game.core.GameSession.getGame()" is null
    at de.presti.ree6.commands.impl.fun.Game.onPerform(Game.java:61)
    at de.presti.ree6.commands.interfaces.ICommand.lambda$onASyncPerform$0(ICommand.java:35)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)

CompletionException: java.lang.NullPointerException: Cannot invoke "de.presti.ree6.game.core.base.IGame.joinGame(de.presti.ree6.game.core.base.GamePlayer)" because the return value of "de.presti.ree6.game.core.GameSession.getGame()" is null
    at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
    at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1807)
    at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796)
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
...
(4 additional frame(s) were not displayed)