Details
Description
While iwas trying to resolve a new dependency on
<dependency name="jwebunit-htmlunit-plugin" org="net.sourceforge.jwebunit" rev="1.5" conf="test->default"/>
i got the following nullpointer exception:
[ivy:retrieve] public3: found md file for net.sourceforge.jwebunit#jwebunit-htmlunit-plugin;1.5
[ivy:retrieve] => http://repo1.maven.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/1.5/jwebunit-htmlunit-plugin-1.5.pom (1.5)
[ivy:retrieve] downloading http://repo1.maven.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/1.5/jwebunit-htmlunit-plugin-1.5.pom ...
[ivy:retrieve] public3: downloading http://repo1.maven.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/1.5/jwebunit-htmlunit-plugin-1.5.pom
[ivy:retrieve] public3: downloading http://repo1.maven.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/1.5/jwebunit-htmlunit-plugin-1.5.pom.sha1
[ivy:retrieve] sha1 OK for http://repo1.maven.org/maven2/net/sourceforge/jwebunit/jwebunit-htmlunit-plugin/1.5/jwebunit-htmlunit-plugin-1.5.pom
[ivy:retrieve] [SUCCESSFUL ] net.sourceforge.jwebunit#jwebunit-htmlunit-plugin;1.5!jwebunit-htmlunit-plugin.pom(pom.original) (588ms)
[ivy:retrieve] default: Checking cache for: dependency: net.sourceforge.jwebunit#jwebunit;1.5 {}
[ivy:retrieve] default: module revision found in cache: net.sourceforge.jwebunit#jwebunit;1.5
[ivy:retrieve] problem occured while resolving dependency: net.sourceforge.jwebunit#jwebunit-htmlunit-plugin;1.5
with public3: java.lang.NullPointerException
[ivy:retrieve] at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorBuilder.addDependency(PomModuleDescriptorBuilder.java:291)
[ivy:retrieve] at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser.parseDescriptor(PomModuleDescriptorParser.java:235)
[ivy:retrieve] at org.apache.ivy.plugins.parser.m2.PomModuleDescriptorParser.parseDescriptor(PomModuleDescriptorParser.java:105)
[ivy:retrieve] at org.apache.ivy.core.cache.DefaultRepositoryCacheManager$MyModuleDescriptorProvider.provideModule(DefaultRepositoryCacheManager.java:633)
[ivy:retrieve] at org.apache.ivy.core.cache.ModuleDescriptorMemoryCache.getStale(ModuleDescriptorMemoryCache.java:68)
[ivy:retrieve] at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.getStaledMd(DefaultRepositoryCacheManager.java:650)
[ivy:retrieve] at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:939)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.BasicResolver.parse(BasicResolver.java:538)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:261)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.IBiblioResolver.getDependency(IBiblioResolver.java:500)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:126)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:126)
[ivy:retrieve] at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:126)
[ivy:retrieve] at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:169)
[ivy:retrieve] at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:271)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:671)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:757)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:679)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:551)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:235)
[ivy:retrieve] at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:193)
[ivy:retrieve] at org.apache.ivy.Ivy.resolve(Ivy.java:502)
[ivy:retrieve] at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:234)
[ivy:retrieve] at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
[ivy:retrieve] at org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java:207)
[ivy:retrieve] at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.java:154)
[ivy:retrieve] at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:49)