Page 1 of 1

OpenSpace bug, but it happens too often....

Posted: 05 Dec 2008, 02:51
by nig3d
and so I think it must be something really silly.

It often happens that while avatars walk around on different clients, on a specific client suddenly the own avatar stops to execute the path and this is because flash crashes inside open space functions:

TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at com.smartfoxserver.openspace.avatar::Animator/getNewTile()
at com.smartfoxserver.openspace.avatar::Animator/moveToNextTile()
at com.smartfoxserver.openspace.mvc::IsoEngineView/resumeAvatarsAnimations()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()
Cannot display source code at this location.
## [Tweener] Error: : [object Avatar] raised an error while executing the'onComplete'handler.
TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at com.smartfoxserver.openspace.avatar::Animator/getNewTile()
at com.smartfoxserver.openspace.avatar::Animator/moveToNextTile()
at com.smartfoxserver.openspace.avatar::Animator/onAvatarAnimationCompleted()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at caurina.transitions::Tweener$/updateTweenByIndex()
at caurina.transitions::Tweener$/updateTweens()
at caurina.transitions::Tweener$/onEnterFrame()
TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at com.smartfoxserver.openspace.avatar::Animator/getNewTile()
at com.smartfoxserver.openspace.avatar::Animator/moveToNextTile()
at com.smartfoxserver.openspace.mvc::IsoEngineView/resumeAvatarsAnimations()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()
Cannot display source code at this location.
TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at com.smartfoxserver.openspace.avatar::Animator/getNewTile()
at com.smartfoxserver.openspace.avatar::Animator/moveToNextTile()
at com.smartfoxserver.openspace.mvc::IsoEngineView/resumeAvatarsAnimations()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.utils::Timer/tick()

this is the chain of errors that happen if I continue the execution after the first crash.
As I said, since it happens quite often, I really think it's more a problem of data (object null) then code, but since it looks like it's open space problem, maybe you can have some clues.
Being very close to the first release date (2 weeks), you can understand that I need your help quite fast, thank you.

Posted: 05 Dec 2008, 05:04
by nig3d
I have a screen shot of the parameters when it crashes:

http://www.drivehq.com/file/DF.aspx/deb ... nload=true][/img]

Posted: 05 Dec 2008, 06:40
by nig3d
if this can helps, I think I can say that if one of the avatars stand still, the crash never happens (or at least I wasn't able to reproduce it).
Instead if both the avatars walk around, it happens always after few minutes.

Posted: 11 Feb 2009, 22:31
by lilshtz
i'm getting this same bug. any ideas for a solution?

Posted: 12 Feb 2009, 06:26
by Bax
This is a bug which is very difficult to reproduce, as it happens rarely. We will be able to fix it in the next OpenSpace release, and possibly corrected in the current release for people who don't want to switch to new version.

Posted: 12 Feb 2009, 07:28
by nig3d
yep, as you know, sometime it still happens in our game too.