Using the get task with http authentication causes ArrayIndexOutOfBoundsException. Running the following build file results in the error : java.lang.ArrayIndexOutOfBoundsException: 24 <project name="ant bug" default="bug"> <property name="tc.manager.user" value="eefiegel" /> <property name="tc.manager.password" value="eefiegel" /> <property name="tc.manager.url" value="http://eek:8096/manager/html" /> <property name="file.out" value="${basedir}/list.out" /> <target name="bug" description="demonstrate ant 1.6.3 bug with the get task"> <get username="${tc.manager.user}" password="${tc.manager.password}" src="${tc.manager.url}/list" dest="${file.out}" /> </target> </project>
*** This bug has been marked as a duplicate of 34734 ***