Application loader failed to upload my app

  Hello,

I’d like to upload my app onto iTunesConnect through Application Loader.

So, I build my app with Corona Simulator. I choose iOS and set all the infos required (Distribution profile, …).

While building, it displays a notification “Using Custom Build ID 00000”.

The build succeed and outputs a zip file. I then click on “Upload to App Store”. It opens the Application Loader app.

I select the zip file. Application Loader displays a summary of the info of the app found in the zip file. I then click on Next button. And few seconds after, it says (in french): “App Store : an error occurred while uploading”. The “Display history” button gives me the following details:

/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/itms/bin/../share/iTMSTransporter.woa/iTMSTransporter: line 266: [: java.lang.NullPointerException: integer expression expected Error occurred during initialization of VM java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:514) at java.lang.System.initProperties(Native Method) at java.lang.System.initializeSystemClass(System.java:1119)

I’m stuck on this since severals days…

If you have any idea, thanks for your help!

So finally, I can answer to myself :smiley:

After trying a lot of stuff, here is the solution: reinstalling the original package of java 6 from Apple:

http://support.apple.com/kb/DL1572

You can of course install (or already have installed) java7 or newest in addition from Oracle, just set JAVA_HOME like following to link to the newest JDK installed:

export JAVA_HOME=$(/usr/libexec/java_home)

Hope this will help someone that faces the same problem…

So finally, I can answer to myself :smiley:

After trying a lot of stuff, here is the solution: reinstalling the original package of java 6 from Apple:

http://support.apple.com/kb/DL1572

You can of course install (or already have installed) java7 or newest in addition from Oracle, just set JAVA_HOME like following to link to the newest JDK installed:

export JAVA_HOME=$(/usr/libexec/java_home)

Hope this will help someone that faces the same problem…