Skip navigation
Currently Being Moderated

Problem with "Export to Release build" option in flash builder

Mar 5, 2012 1:56 AM

Hi,

 

This is the error i am getting when i using the "Export to Release Build in Adobe flash builder".

 

TypeError: Error #1009: Cannot access a property or method of a null object reference.

 

at com.adobe.serializers.utility::TypeUtility$/getArrayType()

at com.adobe.serializers.json::JSONDecoder/parseObject()

at com.adobe.serializers.json::JSONDecoder/parseValue()

at com.adobe.serializers.json::JSONDecoder/decode()

at com.bravolucy.football.utilities::Utilities$/getAsObj()

 

This doesnt happen when i using normal debug version of the build. But the problem is debug version is taking lot of time to be downloaded on the browser.

 

We are using: 4.5.0 of sdk.

 

Our code block:

 

 

public static function getFilterVOfromURL(url:String):FilterVO

 

{

            if(!url) throw new Error("URl supplied to create filtervo was null");

            return FilterVO(Utilities.getAsObj(url,FilterVO));

}

 

 

public static function getAsObj(jsonString:String,classi:Class):Object

 

{

               var jsonDecoder:JSONDecoder=new JSONDecoder();

          logger.info("url to json conversion--json string->{0}",jsonString);

            logger.info("url to json conversion--class->{0}",classi);

            return jsonDecoder.decode(jsonString,classi); //-------------> this is the line of code which gave that expetion.

}

 

And the value of "url" variable looks like this

"

    

This is how our url varible value looks like

 

"

{"pageScreenInfo":[0,0,0,0,0],"playerRole":[],"roundFilter":{"toVal":0 ,"fromVal":0},"timeFilter":{"fromTime":"0","toTime":"Pen"},"dateFilter ":{"toDate":1330626600000,"fromDate":1330626600000},"team":[],"subLeve l":[],"h2hFilterVO":null,"eventType":[3,6,43],"level":2,"isSeasons":fa lse,"seasons":[{"id":2011,"startDate":1313173800000,"endDate":13368474 00000,"display_string":"2011"}]} "

 

"

 

Can you please us regarding this as we are very short of our release deadline.

 

Thanks

Srirama C

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points