Skip navigation
Currently Being Moderated

FB 4.6 iOS app export release error - "Error occured while packaging the application"

Mar 24, 2012 3:37 AM

Tags: #problem #iphone #ios #mobile_project #compile #flash_builder_4.6

Hello,

 

I'm testing the new feature in FB 4.6 that support developing iOS applications.

 

When I'm debugging/running the app it works perfectly,

 

but when I try to export a release build it's crashes and provides this error:

 

Error occured while packaging the application:

 

 

 

 

Exception in thread "main" java.lang.NullPointerException

          at java.util.TreeMap.getEntry(Unknown Source)

.........

 

error_fb46.png

 

Any idea how to debug it, find the cause will be appricated

 

Thanks

Guy

 
Replies
  • Currently Being Moderated
    Apr 9, 2012 4:39 AM   in reply to Guy Sc

    Hi.

     

    I had similar problem - debug versions, android release worked fine but ios release failed to compile.

     

    In my case the problem was solved by removing a trace() call in a mouse click handler, which had been added there few revisions before.

     

    Obviously a trace call was the last thing to look into after the compile error was found, so that took a few hours to figure out. Long live svn!

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 28, 2012 11:06 AM   in reply to Guy Sc

    I have this exact issue.

     

    I have tried a few things - compiling with ADT from the command line, using Java 7 and finally mucking with the certificates and provisioning profiles.

     

    Crashes every time.

     

    Without an open source compile tool, we're at the mercy of Adobe's notoriously buggy tools.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 19, 2012 7:12 AM   in reply to Geryon222

    kosmas: thank you for your tip, had the exact problem when trying to publish my application to iOS device and solved it through eliminating a trace() of a String- varible containing a fairly large set of text.

     
    |
    Mark as:

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