title: java.lang.NullPointerException during ANT build process handling Ordered Dependencies
body: <p>We have an <code>ANT</code> build process that builds all of our android projects at once. It is completely based on the build process encouraged by android.</p>
  
  <p>We switched to ADT20 and the build process now fails when we are building a <code>release</code>. The android build process fails when trying to handle "Ordered Dependencies" during the <code>-build-setup</code>.</p>
  
  <p>We sign our <code>release</code> applications with an <code>ant.properties</code> file that contains the <code>key.store</code>, <code>key.alias</code>, <code>key.store.password</code> and <code>key.alias.password</code>. </p>
  
  <p>It fails with the following error:</p>
  
  <pre><code>C:\PATH\android-sdks\tools\ant\build.xml:546: java.lang.NullPointerException
  </code></pre>
  
  <p>That is all it says without the <code>-debug</code> flag.</p>
  
  <p>With the <code>-debug</code> flag i am getting this:</p>
  
  <pre><code>C:\PATH\android-sdks\tools\ant\build.xml:546: java.lang.NullPointerException
      at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:164)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
      at net.sf.antcontrib.logic.TryCatchTask$CatchBlock.execute(TryCatchTask.java:137)
      at net.sf.antcontrib.logic.TryCatchTask.execute(TryCatchTask.java:225)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:390)
      at org.apache.tools.ant.Target.performTasks(Target.java:411)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      at org.apache.tools.ant.Main.runBuild(Main.java:809)
      at org.apache.tools.ant.Main.startAnt(Main.java:217)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  </code></pre>