You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Russel Winder (JIRA)" <ji...@apache.org> on 2008/01/04 11:44:33 UTC
[jira] Created: (IVY-690) NullPointerException reported instead of
error in ivy:cachepath
NullPointerException reported instead of error in ivy:cachepath
---------------------------------------------------------------
Key: IVY-690
URL: https://issues.apache.org/jira/browse/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="lib.path.id" inline="true"/>
leads to the error message:
No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used
no settings file found, using default...
[ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 ::
http://ant.apache.org/ivy/ ::
:: 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
BUILD FAILED
/home/Checkouts/SVK/Gant/local/gant/trunk/examples/ivy/build.xml:36:
impossible to resolve dependencies:
java.lang.NullPointerException
Correct the ivy:cachepath to:
<ivy:cachepath organisation="commons-lang" module="commons-lang" revision="2.3" pathid="lib.path.id" inline="true"/>
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.
[jira] Assigned: (IVY-690) NullPointerException reported instead of
error in ivy:cachepath
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene reassigned IVY-690:
---------------------------------
Assignee: Maarten Coene
> NullPointerException reported instead of error in ivy:cachepath
> ---------------------------------------------------------------
>
> Key: IVY-690
> URL: https://issues.apache.org/jira/browse/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
> Assignee: Maarten Coene
>
> Using the erroneous:
> <ivy:cachepath organisation="apache" module="commons-lang" revision="2.3" pathid="lib.path.id" inline="true"/>
> leads to the error message:
> No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used
> no settings file found, using default...
> [ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 ::
> http://ant.apache.org/ivy/ ::
> :: 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
> BUILD FAILED
> /home/Checkouts/SVK/Gant/local/gant/trunk/examples/ivy/build.xml:36:
> impossible to resolve dependencies:
> java.lang.NullPointerException
> Correct the ivy:cachepath to:
> <ivy:cachepath organisation="commons-lang" module="commons-lang" revision="2.3" pathid="lib.path.id" inline="true"/>
> 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.
[jira] Resolved: (IVY-690) NullPointerException reported instead of
error in ivy:cachepath
Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IVY-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maarten Coene resolved IVY-690.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-beta-2
Fixed in SVN
> NullPointerException reported instead of error in ivy:cachepath
> ---------------------------------------------------------------
>
> Key: IVY-690
> URL: https://issues.apache.org/jira/browse/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
> Assignee: Maarten Coene
> Fix For: 2.0.0-beta-2
>
>
> Using the erroneous:
> <ivy:cachepath organisation="apache" module="commons-lang" revision="2.3" pathid="lib.path.id" inline="true"/>
> leads to the error message:
> No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used
> no settings file found, using default...
> [ivy:cachepath] :: Ivy 2.0.0-beta1 - 20071206070608 ::
> http://ant.apache.org/ivy/ ::
> :: 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
> BUILD FAILED
> /home/Checkouts/SVK/Gant/local/gant/trunk/examples/ivy/build.xml:36:
> impossible to resolve dependencies:
> java.lang.NullPointerException
> Correct the ivy:cachepath to:
> <ivy:cachepath organisation="commons-lang" module="commons-lang" revision="2.3" pathid="lib.path.id" inline="true"/>
> 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.