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

Crash when connecting while server is in simulation ended state #30

Open
jacobmaxfrank opened this issue Sep 21, 2016 · 0 comments
Open
Assignees
Labels

Comments

@jacobmaxfrank
Copy link
Collaborator

jacobmaxfrank commented Sep 21, 2016

Reproduction:
-Host game
-Start game
-End simulation
-Connect client
-End game
-Start game
-Observe stack trace and game over message after timeout

Exception in thread "Thread-10" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.walkertribe.ian.iface.ListenerMethod.offer(ListenerMethod.java:106)
    at com.walkertribe.ian.iface.ParseResult.fireListeners(ParseResult.java:84)
    at com.walkertribe.ian.iface.ThreadedArtemisNetworkInterface$ReceiverThread.run(ThreadedArtemisNetworkInterface.java:336)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.walkertribe.ian.iface.ListenerMethod.offer(ListenerMethod.java:100)
    ... 2 more
Caused by: java.lang.NullPointerException
    at com.brindyblitz.artemis.engconsole.RealEngineeringConsoleManager.lambda$14(RealEngineeringConsoleManager.java:309)
    at com.brindyblitz.artemis.utils.newton.DerivedProperty.doUpdate(DerivedProperty.java:22)
    at com.brindyblitz.artemis.utils.newton.DerivedProperty.lambda$0(DerivedProperty.java:15)
    at com.brindyblitz.artemis.utils.EventEmitter.lambda$0(EventEmitter.java:33)
    at com.brindyblitz.artemis.utils.EventEmitter.emit(EventEmitter.java:18)
    at com.brindyblitz.artemis.utils.newton.ObservableAdapter.triggerChange(ObservableAdapter.java:13)
    at com.brindyblitz.artemis.engconsole.RealEngineeringConsoleManager.lambda$20(RealEngineeringConsoleManager.java:59)
    at com.brindyblitz.artemis.utils.EventEmitter.lambda$0(EventEmitter.java:33)
    at com.brindyblitz.artemis.utils.EventEmitter.emit(EventEmitter.java:18)
    at com.brindyblitz.artemis.protocol.EnhancedSystemManager.fireChange(EnhancedSystemManager.java:97)
    at com.brindyblitz.artemis.protocol.EnhancedSystemManager.onPacket(EnhancedSystemManager.java:64)
    ... 6 more
Object update timeout
Switch to GameOver
@jacobmaxfrank jacobmaxfrank changed the title Bug when connecting while server is in simulation ended state Crash when connecting while server is in simulation ended state Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants