ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russel Winder (JIRA)" <>
Subject [jira] Created: (IVY-690) NullPointerException reported instead of error in ivy:cachepath
Date Fri, 04 Jan 2008 10:44:33 GMT
NullPointerException reported instead of error in ivy:cachepath

                 Key: IVY-690
             Project: Ivy
          Issue Type: Bug
    Affects Versions: 2.0.0-beta-1
         Environment: Ubuntu 7.10 Gutsy Gibbon; Java 1.6.0_03-b05; Ant 1.7.0; Ivy 2.0.0-beta1
            Reporter: Russel Winder

Using the erroneous:

<ivy:cachepath organisation="apache" module="commons-lang" revision="2.3"  pathid=""

leads to the error message:

No ivy:settings found for the default reference 'ivy.instance'.  A default instance will be
no settings file found, using default...
[ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 :: ::
:: loading settings :: url = jar:file:/home/users/russel/lib/Java/groovy/lib/ivy-2.0.0-beta1.jar!/org/apache/ivy/core/settings/ivysettings.xml

impossible to resolve dependencies:

Correct the ivy:cachepath to:

<ivy:cachepath organisation="commons-lang" module="commons-lang" revision="2.3"  pathid=""

and everything works as expected.  The error report here is that a message other than NullPointerException
should be generated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message