ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Lott (JIRA)" <>
Subject [jira] Commented: (IVY-725) Null Pointer Exception during retrieve/resolve
Date Thu, 14 Feb 2008 10:47:08 GMT


Neil Lott commented on IVY-725:

So what's happening is that I'm not calling makepom task for the module.  I'm just calling
ivy-publish.  After I call ivy-publish I look at the repository and now my artifact is there
and there is also a pom file, in this case "mas-coredn-ondemand-5.1.pom".  This pom file I
didn't create so I can only assumy that the ivy-publish created it.  Here's its contents:

[maven@azurite 5.1]$ cat mas-coredn-ondemand-5.1.pom
<ivy-module version="2.0">
    <info organisation="twc" module="mas-coredn-ondemand" revision="5.1" status="release"
        <conf name="interface" description="IDL or webservice interfaces"/>
		<conf name="compile" extends="interface" description="Compile-time"/>
		<conf name="runtime" extends="compile" description="Run-time"/>
		<conf name="test" extends="runtime" description="For Testing"/>
        <artifact name="ondemandif" type="jar" conf="interface" ext="jar"/>
        <artifact name="ondemand" type="jar" conf="compile" ext="jar"/>
        <dependency org="log4j" name="log4j" rev="1.2.8"/>
        <dependency org="jacorb" name="jacorb" rev="2.2.2"/>        
        <dependency org="jacorb" name="avalon-framework" rev="4.1.5"/>
        <dependency org="jacorb" name="logkit" rev="1.2"/>
        <dependency org="jacorb" name="antlr" rev="2.7.2"/>
        <dependency org="concurrent" name="concurrent" rev="1.3.2"/>
        <dependency org="joda-time" name="joda-time" rev="1.5"/>
        <dependency org="testng" name="testng" rev="5.7"/>
        <dependency org="twc" name="msa4j" rev="1.0"/>
        <dependency org="twc" name="isa" rev="1.4.4"/>

This is exactly the same as my ivy.xml file.  Why is the ivy.xml file being published as the

> Null Pointer Exception during retrieve/resolve
> ----------------------------------------------
>                 Key: IVY-725
>                 URL:
>             Project: Ivy
>          Issue Type: Bug
>    Affects Versions: 2.0.0-beta-1
>         Environment: Mac OSX
>            Reporter: Neil Lott
>         Attachments: common-ivy-configurations.xml, common-ivy-settings.xml, common-ivy.xml,
ivy.xml, ivy.xml
> I'm seeing the following null pointer exceptions during the retrieve/resolve of my module.
> Module mas-coredn-btm depends on mas-coredn-ondemand.  In this case, I have published
the artifact for mas-coredn-ondemand and mas-coredn-btm is failing to resolve it.
> [ivy:resolve] java.lang.RuntimeException: several problems occured while resolving dependency:
twc#mas-coredn-ondemand;5.1 {*=[*]}:
> [ivy:resolve] 	java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(
> [ivy:resolve] 	java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(
> [ivy:resolve] 	at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.IvyNode.loadData(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.VisitNode.loadData(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(
> [ivy:resolve] 	at org.apache.ivy.Ivy.resolve(
> [ivy:resolve] 	at org.apache.ivy.ant.IvyResolve.doExecute(
> [ivy:resolve] 	at org.apache.ivy.ant.IvyTask.execute(
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at
> [ivy:resolve] 	at

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

View raw message