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

Nullpointer Exception related to Live replay button #1708

Closed
1-alex98 opened this issue May 19, 2020 · 0 comments · Fixed by #1709
Closed

Nullpointer Exception related to Live replay button #1708

1-alex98 opened this issue May 19, 2020 · 0 comments · Fixed by #1709
Labels
Milestone

Comments

@1-alex98
Copy link
Member

Describe the bug
Nothing really happens in UI. Or in other words I don't know what the effects are.

To Reproduce
Unclear

OS
Windows

Exception in log is:

xception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at com.faforever.client.vault.replay.WatchButtonController.setGame(WatchButtonController.java:54)
	at com.faforever.client.game.GameDetailController.onGameStatusChanged(GameDetailController.java:122)
	at com.faforever.client.game.GameDetailController.lambda$new$0(GameDetailController.java:82)
	at javafx.beans.WeakInvalidationListener.invalidated(WeakInvalidationListener.java:83)
	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:106)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:147)
	at com.faforever.client.game.Game.setStatus(Game.java:197)
	at com.faforever.client.game.GameService.updateFromGameInfo(GameService.java:806)
	at com.faforever.client.game.GameService.createOrUpdateGame(GameService.java:758)
	at com.faforever.client.game.GameService.onGameInfo(GameService.java:701)
	at com.faforever.client.game.GameService.lambda$afterPropertiesSet$3(GameService.java:228)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at com.faforever.client.vault.replay.WatchButtonController.setGame(WatchButtonController.java:54)
	at com.faforever.client.game.GameDetailController.onGameStatusChanged(GameDetailController.java:122)
	at com.faforever.client.game.GameDetailController.lambda$new$0(GameDetailController.java:82)
	at javafx.beans.WeakInvalidationListener.invalidated(WeakInvalidationListener.java:83)
	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:106)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:147)
	at com.faforever.client.game.Game.setStatus(Game.java:197)
	at com.faforever.client.game.GameService.updateFromGameInfo(GameService.java:806)
	at com.faforever.client.game.GameService.createOrUpdateGame(GameService.java:758)
	at com.faforever.client.game.GameService.onGameInfo(GameService.java:701)
	at com.faforever.client.game.GameService.lambda$afterPropertiesSet$3(GameService.java:228)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
	at com.faforever.client.vault.replay.WatchButtonController.setGame(WatchButtonController.java:54)
	at com.faforever.client.game.GameDetailController.onGameStatusChanged(GameDetailController.java:122)
	at com.faforever.client.game.GameDetailController.lambda$new$0(GameDetailController.java:82)
	at javafx.beans.WeakInvalidationListener.invalidated(WeakInvalidationListener.java:83)
	at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:348)
	at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
	at javafx.beans.property.ObjectPropertyBase.fireValueChangedEvent(ObjectPropertyBase.java:106)
	at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:113)
	at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:147)
	at com.faforever.client.game.Game.setStatus(Game.java:197)
	at com.faforever.client.game.GameService.updateFromGameInfo(GameService.java:806)
	at com.faforever.client.game.GameService.createOrUpdateGame(GameService.java:758)
	at com.faforever.client.game.GameService.onGameInfo(GameService.java:701)
	at com.faforever.client.game.GameService.lambda$afterPropertiesSet$3(GameService.java:228)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
	at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
	at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
	at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
	at java.base/java.lang.Thread.run(Thread.java:834)

Wanna have the bug fixed quickly?
Visit Issue hunt...
Issue hunt

@1-alex98 1-alex98 added the bug label May 19, 2020
1-alex98 added a commit that referenced this issue May 19, 2020
Brutus5000 pushed a commit that referenced this issue May 21, 2020
@Brutus5000 Brutus5000 added this to the v1.1.7 milestone May 21, 2020
mrchris2000 pushed a commit to mrchris2000/downlords-faf-client that referenced this issue Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants