Forum BigDB A strange error when upload to bigdb

Discussion and help relating to the PlayerIO database solution, BigDB.

A strange error when upload to bigdb

Postby kidkid » January 27th, 2011, 9:56 am

Last time I had uploaded ok.
But no I try, and I get error. I don't know why.
It's error message:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at bridge.utils::Converter$/deserializeValueObject()
at bridge.utils::Converter$/toDatabaseObject()
at Function/<anonymous>()
at Function/<anonymous>()
at Function/<anonymous>()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
kidkid
 
Posts: 54
Joined: December 1st, 2010, 4:43 am

Re: A strange error when upload to bigdb

Postby kidkid » January 27th, 2011, 10:47 am

what the $%^& like that.
It take me for day to solve this strange error.
I don't know why I have run it successful last week.
And now It throw out error with no hint to solve.

First my code:

m_ctrServerController.UpLoadFlashes(flashes,
function(obj:DatabaseObject):void{
m_lbStatus.text = "Upload Success " + obj.key;
},
function(obj:Error):void{
m_lbStatus.text = "Upload Fail";
});

And I has changed it to :

m_ctrServerController.UpLoadFlashes(flashes,
function(obj:Object):void{
m_lbStatus.text = "Upload Success " + obj.key;
},
function(obj:Error):void{
m_lbStatus.text = "Upload Fail";
});

But I don't know the actual problem is ?

Hope you could take a look into playerio lib.
kidkid
 
Posts: 54
Joined: December 1st, 2010, 4:43 am

Re: A strange error when upload to bigdb

Postby Benjaminsen » January 27th, 2011, 11:08 am

Got some example code where we can test this? You do no not describe what you are doing so it's almost impossible to know what the error might be / replicate it.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark


Return to BigDB



cron