Error 1009

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
Dorru
Posts: 45
Joined: 16 Dec 2008, 13:45

Error 1009

Post 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! :)
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post 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.
Paolo Bax
The SmartFoxServer Team
Post Reply