Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Player state doesn't update after game is ended #1331

Closed
norraxx opened this issue Jun 29, 2019 · 0 comments
Closed

Player state doesn't update after game is ended #1331

norraxx opened this issue Jun 29, 2019 · 0 comments
Assignees
Labels
bug S3 normal severity 3 - normal - regular issue, some loss of functionality under specific circumstances
Milestone

Comments

@norraxx
Copy link
Collaborator

norraxx commented Jun 29, 2019

2019-06-29 03:33:49.868  WARN 17020 --- [lication Thread] javafx.beans                             : Exception while evaluating binding

java.lang.NullPointerException: null
	at com.faforever.client.player.Player.lambda$setGame$0(Player.java:261) [classes/:na]
	at javafx.base/javafx.beans.binding.Bindings$6.computeValue(Bindings.java:358) ~[javafx.base:na]
	at javafx.base/javafx.beans.binding.ObjectBinding.get(ObjectBinding.java:151) [javafx.base:na]
	at javafx.base/javafx.beans.binding.ObjectExpression.getValue(ObjectExpression.java:49) [javafx.base:na]
	at javafx.base/javafx.beans.property.ObjectPropertyBase.unbind(ObjectPropertyBase.java:185) [javafx.base:na]
	at com.faforever.client.player.Player.setGame(Player.java:257) [classes/:na]
	at com.faforever.client.player.PlayerService.updateGameDataForPlayer(PlayerService.java:179) [classes/:na]
	at com.faforever.client.player.PlayerService.lambda$updateGamePlayers$4(PlayerService.java:154) [classes/:na]
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[na:na]
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1492) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[na:na]
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[na:na]
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[na:na]
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:na]
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[na:na]
	at com.faforever.client.player.PlayerService.updateGamePlayers(PlayerService.java:152) [classes/:na]
	at com.faforever.client.player.PlayerService.updateGameForPlayersInGame(PlayerService.java:112) [classes/:na]
	at com.faforever.client.player.PlayerService.onGameUpdated(PlayerService.java:95) [classes/:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:564) ~[na:na]
	at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:87) ~[guava-27.0-jre.jar:na]
	at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:144) ~[guava-27.0-jre.jar:na]
	at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:72) ~[guava-27.0-jre.jar:na]
	at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) ~[guava-27.0-jre.jar:na]
	at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:67) ~[guava-27.0-jre.jar:na]
	at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:108) ~[guava-27.0-jre.jar:na]
	at com.google.common.eventbus.EventBus.post(EventBus.java:212) ~[guava-27.0-jre.jar:na]
	at com.faforever.client.game.GameService.createOrUpdateGame(GameService.java:654) ~[classes/:na]
	at com.faforever.client.game.GameService.onGameInfo(GameService.java:604) ~[classes/:na]
	at com.faforever.client.game.GameService.lambda$afterPropertiesSet$34(GameService.java:575) ~[classes/:na]
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418) ~[javafx.graphics:na]
	at java.base/java.security.AccessController.doPrivileged(Native Method) ~[na:na]
	at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417) ~[javafx.graphics:na]
	at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96) ~[javafx.graphics:na]
	at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) ~[javafx.graphics:na]
	at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:175) ~[javafx.graphics:na]
	at java.base/java.lang.Thread.run(Thread.java:844) ~[na:na]
norraxx pushed a commit to norraxx/downlords-faf-client that referenced this issue Jun 29, 2019
@norraxx norraxx self-assigned this Jun 29, 2019
norraxx pushed a commit to norraxx/downlords-faf-client that referenced this issue Jun 29, 2019
@1-alex98 1-alex98 added bug S3 normal severity 3 - normal - regular issue, some loss of functionality under specific circumstances labels Jul 2, 2019
@1-alex98 1-alex98 added this to the v1.0.0 milestone Jul 22, 2019
@Katharsas Katharsas mentioned this issue Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug S3 normal severity 3 - normal - regular issue, some loss of functionality under specific circumstances
Projects
None yet
Development

No branches or pull requests

2 participants