Skip navigation
the_indigo
Currently Being Moderated

Compiling to iOS in Flash Builder throws Java null exception

Apr 17, 2012 3:52 PM

I'm attempting to port a large application from the browser to iPad. It works perfectly fine when I do a 'fast' compile, but when I attempt to compile using the 'slow' packager I get this error:

 

Error occurred while packaging the application:

 

    Exception in thread "main" java.lang.NullPointerException

        at adobe.abc.Nsset.match(Nsset.java:263)

        at adobe.abc.Name.match(Name.java:555)

        at adobe.abc.Symtab.getEntry(Symtab.java:37)

        at adobe.abc.Symtab.get(Symtab.java:55)

        at adobe.abc.Type.setNeedsArgumentsUpInheritanceHierarchy(Type.java:343)

        at adobe.abc.Type.setNeedsArgumentsUptoRoot(Type.java:269)

        at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:5 58)

        at adobe.abc.GlobalOptimizer$InputAbc.resolveType(GlobalOptimizer.java:4 48)

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

        at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler .java:472)

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

    Compilation failed while executing : ADT

 

I see one other thread where this is addressed but unresolved. Can you direct me as to how to resolve the issue?

 
Replies
  • Chris Campbell
    9,454 posts
    May 4, 2010
    Currently Being Moderated
    Apr 17, 2012 4:00 PM   in reply to the_indigo

    I've forwarded this to the iOS team.  Please let me know if you don't hear back.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 18, 2012 12:53 AM   in reply to the_indigo

    Hi,

     

    Thank you for reporting the issue.

    Could you have please have it in our database http://bugbase.adobe.com with all the required files to reproduce the issue.

    If possible, please attach the sources as well, it'll help us reach the root cause quickly.

     

    -Thanks

    Pahup

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 10:56 AM   in reply to Pahup

    Has there been any movement on this issue, or a bug I can track? I am having the same issue with Flash Builder 4.6, and the new iPad.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 24, 2012 10:02 PM   in reply to David Moore

    Hi David,

     

    We would need sample files that help us reproduce the issue, request you to log it @ http://bugbase.adobe.com with all the required files.

     

    -Thanks

    Pahup

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 6:24 PM   in reply to Pahup

    I tried a brand new, no content, mobile project in Flash Builder and got the same result when it tried to package.

     

    I did solve it though. I had Java 6 release 30 installed on my machine, when I installed Java 7 release 3 I was able to package properly without the error.

     

    I couldn't find anything about a proper Java version needing to be installed, but it should get added to any existing documentation.

     

    Thanks.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 9:35 PM   in reply to David Moore

    Glad to hear that David, It would be really helpful if you could get us some information on following.

     

    What type of project it was (Flex Mobile, ActionScript Mobile etc?) on Flash Builder 4.6?

    Is it a 64 bit machine? It's Mac or Win, which version of OS.

    What version of AIR SDK version you have in your Flash Builder. (Goto Flash Builder directory\Adobe Flash Builder 4.5\sdks\4.5.1\bin\ and type adt -version on command line)

    We assume that you're using Slow packaging.

     

    Thanks a lot.

    -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