ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Lott (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-725) Null Pointer Exception during retrieve/resolve
Date Thu, 07 Feb 2008 15:00:07 GMT

    [ https://issues.apache.org/jira/browse/IVY-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566623#action_12566623
] 

Neil Lott commented on IVY-725:
-------------------------------

Here is verbose from the ant output:

[ivy:resolve] 		tried /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom
[ivy:resolve] 	local: found md file for twc#mas-coredn-ondemand;5.1
[ivy:resolve] 		=> /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom
(5.1)
[ivy:resolve] downloading /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom
...
[ivy:resolve] 	local: downloading /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom
[ivy:resolve] 	local: downloading /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom.sha1
[ivy:resolve] sha1 OK for /Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases/main/repository/twc/mas-coredn-ondemand/5.1/mas-coredn-ondemand-5.1.pom
[ivy:resolve] 	[SUCCESSFUL ] twc#mas-coredn-ondemand;5.1!mas-coredn-ondemand.original.pom
(5ms)
[ivy:resolve] problem occured while resolving dependency: twc#mas-coredn-ondemand;5.1 {*=[*]}
with local: java.lang.NullPointerException
[ivy:resolve] 	at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:893)
[ivy:resolve] 	at org.apache.ivy.plugins.resolver.BasicResolver.parse(BasicResolver.java:419)
[ivy:resolve] 	at org.apache.ivy.plugins.resolver.BasicResolver.getDependency(BasicResolver.java:221)
[ivy:resolve] 	at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:124)
[ivy:resolve] 	at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225)
[ivy:resolve] 	at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:257)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:588)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:671)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:596)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:487)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:192)
[ivy:resolve] 	at org.apache.ivy.Ivy.resolve(Ivy.java:506)
[ivy:resolve] 	at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
[ivy:resolve] 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
[ivy:resolve] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[ivy:resolve] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[ivy:resolve] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[ivy:resolve] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[ivy:resolve] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[ivy:resolve] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
[ivy:resolve] 	at org.apache.tools.ant.Main.startAnt(Main.java:187)
[ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[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(DefaultRepositoryCacheManager.java:893)
[ivy:resolve] 	java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:893)
[ivy:resolve] 	at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:185)
[ivy:resolve] 	at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225)
[ivy:resolve] 	at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:257)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:588)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:671)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:596)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:487)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
[ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:192)
[ivy:resolve] 	at org.apache.ivy.Ivy.resolve(Ivy.java:506)
[ivy:resolve] 	at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
[ivy:resolve] 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
[ivy:resolve] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[ivy:resolve] 	at org.apache.tools.ant.Task.perform(Task.java:364)
[ivy:resolve] 	at org.apache.tools.ant.Target.execute(Target.java:341)
[ivy:resolve] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[ivy:resolve] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[ivy:resolve] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[ivy:resolve] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
[ivy:resolve] 	at org.apache.tools.ant.Main.startAnt(Main.java:187)
[ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)


> Null Pointer Exception during retrieve/resolve
> ----------------------------------------------
>
>                 Key: IVY-725
>                 URL: https://issues.apache.org/jira/browse/IVY-725
>             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(DefaultRepositoryCacheManager.java:893)
> [ivy:resolve] 	java.lang.NullPointerException at org.apache.ivy.core.cache.DefaultRepositoryCacheManager.cacheModuleDescriptor(DefaultRepositoryCacheManager.java:893)
> [ivy:resolve] 	at org.apache.ivy.plugins.resolver.ChainResolver.getDependency(ChainResolver.java:185)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:225)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:257)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:588)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:671)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:596)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:487)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:234)
> [ivy:resolve] 	at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:192)
> [ivy:resolve] 	at org.apache.ivy.Ivy.resolve(Ivy.java:506)
> [ivy:resolve] 	at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:230)
> [ivy:resolve] 	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
> [ivy:resolve] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
> [ivy:resolve] 	at org.apache.tools.ant.Task.perform(Task.java:364)
> [ivy:resolve] 	at org.apache.tools.ant.Target.execute(Target.java:341)
> [ivy:resolve] 	at org.apache.tools.ant.Target.performTasks(Target.java:369)
> [ivy:resolve] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
> [ivy:resolve] 	at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
> [ivy:resolve] 	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
> [ivy:resolve] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
> [ivy:resolve] 	at org.apache.tools.ant.Main.runBuild(Main.java:668)
> [ivy:resolve] 	at org.apache.tools.ant.Main.startAnt(Main.java:187)
> [ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
> [ivy:resolve] 	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

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


Mime
View raw message