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

game server stops responding due to: Cannot read property 'displayName' of undefined #4

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Found this in the logs (/var/log/google.log) while running 
4462f1dd8d87f957d3681e04f4a2c1a01c4363b3

timers.js:96
            if (!process.listeners('uncaughtException').length) throw e;
                                                                      ^
TypeError: Cannot read property 'displayName' of undefined
    at [object Object].dealDmg (../shared/core/GameEngine.js:394:73)
    at [object Object].onTouch (../shared/weaponinstances/LandmineDisk.js:83:15)
    at [object Object].onCollisionTouch (../shared/core/GameEngine.js:155:20)
    at Object.PostSolve (../shared/core/GameEngine.js:121:16)
    at b2ContactListener.PostSolve (../shared/core/PhysicsEngine.js:68:17)
    at b2Island.Report (../shared/core/box2D.js:5673:26)
    at b2Island.SolveTOI (../shared/core/box2D.js:5660:12)
    at b2World.SolveTOI (../shared/core/box2D.js:6449:17)
    at b2World.Step (../shared/core/box2D.js:5978:15)
    at [object Object].update (../shared/core/PhysicsEngine.js:75:16)


One this happened, requests were no longer being handled.

We need to make the games server more robust.

Original issue reported on code.google.com by [email protected] on 6 Feb 2013 at 11:49

@GoogleCodeExporter
Copy link
Author

This should be fixed. A user could drop a land-mine and then exit the game, 
invalidating the pointer to their player object.

Original comment by [email protected] on 9 Apr 2013 at 6:23

@GoogleCodeExporter
Copy link
Author

Did you 'git push'?

Original comment by [email protected] on 9 Apr 2013 at 6:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant