• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

New Here ,
Mar 24, 2012 Mar 24, 2012

Copy link to clipboard

Copied

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

Views

1.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 09, 2012 Apr 09, 2012

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 28, 2012 Jun 28, 2012

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 19, 2012 Aug 19, 2012

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines