Skip navigation
Currently Being Moderated

Compilation failed while executing: ADT

Feb 12, 2012 11:31 AM

I have a project that I've been successfully compiling for iOS in Flash Professional 5.5, with uses AIR 2.6. I decided to try compiling in Flash Builder 4.6 using AIR 3.1. It runs fine on the desktop, no errors or warnings. When I try to do an Ad Hoc release build, it fails with java.lang.NullPointerException at java.util.TreeMap.getEntry(TreeMap.java:324), (The Export Release Build dialog does not let me select the text, otherwise I'd paste the stack here)starting at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82) and saying  "Compilation failed while executing: ADT"

 

Any suggestions would be appreciated!

 

Regards,

John

 
Replies
  • Currently Being Moderated
    Jun 14, 2012 11:55 AM   in reply to John R Nyquist

    I am having the same exact problem right now, and as far as I can tell, this post is the only example of it on the internet, and it has no replies.. Did you ever figure out what was happening?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 14, 2012 9:12 PM   in reply to John R Nyquist

    Hi John,

     

    Could you please try packaging it on command line using ADT (available @ C:\Program Files\Adobe\Adobe Flash Builder 4.x\sdks\4.x\bin)

     

    # adt -package -target ipa-ad-hoc -provisioning-profile <path to mobileprovision> -storetype pkcs12 -keystore <path to p12> -storepass <password> hellworld.ipa hellworld-app.xml hellworld.swf

     

    Is it specific to ipa-ad-hoc target only? Could you try it with other targets like ipa-app-store or ipa-test-interpreter

     

    Please share the adt version by executing following command.

    # adt -version

     

     

     

    -Thanks

    Pahup

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 15, 2012 7:03 AM   in reply to Pahup

    I'm not John, but I have the exact same issue, same traceback. I'm compiling on the commandline with adt version 3.1.0.4880, but it also happens with sdk versions 3.2 and 3.3. If I compile the SWF using -debug, the problem doesn't occur - only with the release build. It also occurs with the ipa-app-store target, but not with ipa-test-interpreter (not too surprising, given the error traceback).

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 15, 2012 7:05 AM   in reply to Pahup

    Oh, and here's the complete traceback:

     

    Exception in thread "main" java.lang.NullPointerException

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

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

            at adobe.abc.Algorithms$SetMap.get(Algorithms.java:223)

            at adobe.abc.Algorithms.addUses(Algorithms.java:166)

            at adobe.abc.Algorithms.findUses(Algorithms.java:186)

            at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4626)

            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)

            at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)

            at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:527)

            at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:337)

            at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler

    .java:510)

            at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:80)

    Compilation failed while executing : ADT

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 15, 2012 3:35 PM   in reply to Pahup

    FWIW, the problem also occurs with -target ipa-test.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 17, 2012 8:13 AM   in reply to panicolai

    Thanks for your reply, please raise the bug @ https://bugbase.adobe.com/ request you to attach relevant sources/swf/xml, so that we could investigate the issue at our end.

     

    -Pahup

     
    |
    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