title: Photon Cloud in Actionscript Mobile Project get Java compilation Error
body: <p>I have a mini-game build in Flash Builder 4.7 with adobe air 3.7 on Mac OSX Moutain Lion<br>
  Using Photon-Flash_v3-2-0-1-Beta_Cloud_SDK.zip <a href="http://doc.exitgames.com/photon-cloud/SDKflash/" rel="nofollow noreferrer">http://doc.exitgames.com/photon-cloud/SDKflash/</a><br>
  Compiles perfectly in:<br> 
   * android device (2.3 +)<br>
   * android simulator<br>
   * ios simulator (iOS sdk 6)<br>
   * air simulator</p>
  
  <p>When try compile my game in iPhone (3GS iOS 6.1.3), i got this error:</p>
  
  <blockquote>
    <p>Could be a problem with the java version installed? Or bug in sdk
    flash photon cloud?</p>
  </blockquote>
  
  <p>Error occurred while packaging the application:</p>
  
  <pre><code>AOT Compilation has failed while optimizing null exitgames.common:Logger::format0.
  Exception in thread "main" java.lang.NullPointerException
      at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:7054)
      at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6019)
      at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)
      at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)
      at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)
      at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:532)
      at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:341)
      at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:611)
      at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
  Compilation failed while executing : ADT
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/NUUWq.png" alt="print"></p>