I found a small error when I was experimenting a little with my game.
It appears that using client.bigDB.load("somevalidtable", "someinvalidkey", SuccessCallback, FailCallback);
Will NOT fire the FailCallback but instead throw this little nice error:
- Code: Select all
TypeError: Error #1009: Der Zugriff auf eine Eigenschaft oder eine Methode eines null-Objektverweises ist nicht möglich.
at bridge.utils::Converter$/toDatabaseObject()
at MethodInfo-587()
at MethodInfo-233()
at MethodInfo-2()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
EDIT: For those who are not able to understand it (because its german), it is developers best friend: Null-Reference error
After receiving this error message I tried replacing the invalid key with a valid key, and whoops everything worked just fine.
Seems there is an error on your end there (I know I can easily build around this and it does not stop me developing my game, just noticing it here )
Best regards