ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neil Lott <neilmatthewl...@yahoo.com>
Subject Null Pointer during retrieve
Date Tue, 05 Feb 2008 23:23:45 GMT
Hi everyone,

I have two modules in my project and I¹m having a problem resolving a
dependency between them.  Any ideas why the Null Pointers?

[ivy:resolve]     [SUCCESSFUL ]
twc#mas-coredn-ondemand#main;5.1!mas-coredn-ondemand.original.pom (1360ms)
[ivy:resolve] problem occured while resolving dependency:
twc#mas-coredn-ondemand#main;5.1 {*=[*]} with shared:
java.lang.NullPointerException
[ivy:resolve] local: no namespace defined: using system
[ivy:resolve]     no ivy file in cache for twc#mas-coredn-ondemand#main;5.1:
tried 
/Users/neil/Business/SnowyRangeConsulting/projects/twc/thirdparty/ivy/cache/
twc/mas-coredn-ondemand/ivy-5.1.xml
[ivy:resolve] local: no latest strategy defined: using default
[ivy:resolve]      trying
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m
[ivy:resolve]         tried
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m
[ivy:resolve]     local: found md file for twc#mas-coredn-ondemand#main;5.1
[ivy:resolve]         =>
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m (5.1)
[ivy:resolve]     parser = pom parser
[ivy:resolve]     no ivy file in cache for twc#mas-coredn-ondemand#main;5.1:
tried 
/Users/neil/Business/SnowyRangeConsulting/projects/twc/thirdparty/ivy/cache/
twc/mas-coredn-ondemand/ivy-5.1.xml
[ivy:resolve] downloading
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m ...
[ivy:resolve]     local: downloading
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m
[ivy:resolve]         to
/Users/neil/Business/SnowyRangeConsulting/projects/twc/thirdparty/ivy/cache/
twc/mas-coredn-ondemand/poms/mas-coredn-ondemand.original-5.1.pom.part
[ivy:resolve] sha1 file found for
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m: checking...
[ivy:resolve]     local: downloading
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m.sha1
[ivy:resolve]         to /tmp/ivytmp32234sha1
[ivy:resolve] sha1 OK for
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/repository/twc/mas-coredn-ondemand/main/5.1/mas-coredn-ondemand-5.1.po
m
[ivy:resolve]     [SUCCESSFUL ]
twc#mas-coredn-ondemand#main;5.1!mas-coredn-ondemand.original.pom (6ms)
[ivy:resolve] problem occured while resolving dependency:
twc#mas-coredn-ondemand#main;5.1 {*=[*]} with local:
java.lang.NullPointerException
[ivy:resolve] == resolving dependencies
twc#mas-coredn-btm#main;working@flicker.local->twc#mas-coredn-ondemand#main;
5.1 [interface->*]
[ivy:resolve] loadData of twc#mas-coredn-ondemand#main;5.1 of
rootConf=interface
[ivy:resolve] Node has problem.  Skip loading
[ivy:resolve] problem : several problems occured while resolving dependency:
twc#mas-coredn-ondemand#main;5.1 {*=[*]}:
[ivy:resolve] java.lang.NullPointerException
[ivy:resolve] java.lang.NullPointerException

So I keep seeing this:

[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         ::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve]         :: twc#mas-coredn-ondemand#main;latest.integration:
several problems occured while resolving dependency:
twc#mas-coredn-ondemand#main;latest.integration {*=[*]}:
[ivy:retrieve] java.lang.NullPointerException
[ivy:retrieve] java.lang.NullPointerException
[ivy:retrieve]         ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/Users/neil/Business/SnowyRangeConsulting/projects/twc/depot/server/releases
/main/common-ivy.xml:28: impossible to resolve dependencies:
    resolve failed - see output for details
    at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:297)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
    at 
org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java
:201)
    at 
org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.jav
a:147)
    at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:45)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
Caused by: resolve failed - see output for details
    at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
    ... 17 more
--- Nested Exception ---
resolve failed - see output for details
    at org.apache.ivy.ant.IvyResolve.doExecute(IvyResolve.java:219)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
    at 
org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java
:201)
    at 
org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.jav
a:147)
    at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:45)
    at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:275)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.j
ava:40)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    at org.apache.tools.ant.Main.runBuild(Main.java:668)
    at org.apache.tools.ant.Main.startAnt(Main.java:187)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message