You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eduardo Porciuncula <ed...@gmail.com> on 2004/10/18 20:22:51 UTC
Problem Running ANT - getLocationURLs
Hello!
I'm having a problem when I want to run ant on my computer. When I
type and run ant I get and Exception like the:
java.lang.NullPointerException
at org.apache.tools.ant.launch.Locator.getLocationURLs<Locator.java:262>
What the hell is that? I tried a lot of thing (reinstall ant, set the
ANT_HOME, reintall the JVM, etc) but it dosen't work.
Anyone???
Thanks.
--
Eduardo de Moraes Porciúncula
Fone: (0XX62) 8111-8534
E-mail: eduardomp@gmail.com
MSN: edumdt@hotmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Problem Running ANT - getLocationURLs
Posted by Peter Reilly <pe...@apache.org>.
I can get this to happen if I do not have read permission on
a directory that getLocationURLs is getting jars from. (So this
is a bug).
The launcher code uses
getLocationURLs to look for jars in the $ANT_HOME/lib, ~/.ant/lib
and in any directories in the $CLASSPATH.
This may be your problem?
Peter
Eduardo Porciuncula wrote:
>Hello!
>
>I'm having a problem when I want to run ant on my computer. When I
>type and run ant I get and Exception like the:
>
>
>java.lang.NullPointerException
> at org.apache.tools.ant.launch.Locator.getLocationURLs<Locator.java:262>
>
>What the hell is that? I tried a lot of thing (reinstall ant, set the
>ANT_HOME, reintall the JVM, etc) but it dosen't work.
>
>Anyone???
>Thanks.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org