Page 1 of 1

Error 1009

Posted: 16 Mar 2009, 05:07
by Dorru
Got a error here that occures after I do a successful(?) login:

Code: Select all

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at client_fla::MainTimeline/onOpenSpaceMapRendered()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace::OpenSpace/forwardOpenSpaceEvent()
	at com.smartfoxserver.openspace::OpenSpace/onMapRendered()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace.mvc::IsoEngineModel/onMapBuilt()
	at com.smartfoxserver.openspace.map::MapManager/onMapGenerationCompleted()
	at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at com.smartfoxserver.openspace.utils.executor::MultiFrameExecutor/::runStep()
	at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
	at flash.utils::Timer/flash.utils:Timer::tick()
If anyone know how to solve it or why it occures, please tell! :)

Posted: 16 Mar 2009, 11:53
by Bax
As you can see from the stack trace, the error occurs in your "onOpenSpaceMapRendered" method. You should review it and check if you are access a property or method of an object which is null.