Bug 34872 - Using get task with authentication causes ArrayIndexOutOfBoundsException
Summary: Using get task with authentication causes ArrayIndexOutOfBoundsException
Status: RESOLVED DUPLICATE of bug 34734
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.3
Hardware: Sun Solaris
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2005-05-11 21:01 UTC by Erik Fiegel
Modified: 2008-02-22 12:18 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Erik Fiegel 2005-05-11 21:01:25 UTC
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}"
                 dest="${file.out}" />
Comment 1 Matt Benson 2005-05-11 21:07:45 UTC

*** This bug has been marked as a duplicate of 34734 ***