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?
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
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
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.
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
North America
Europe, Middle East and Africa
Asia Pacific