ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Problem Running ANT - getLocationURLs
Date Tue, 19 Oct 2004 13:28:34 GMT
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


Mime
View raw message