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)
Any idea how to debug it, find the cause will be appricated
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!
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.
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.
Europe, Middle East and Africa