Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.3.1
-
None
-
None
Description
I'm getting a NullPointer from BasicResolver for a given set up which I've managed to simplify to an ivyconf.xml, two ivy.xml files and an ant build file. See attached zip file.
When I run the ivy resolve task from the ant file, I get the following NPE:
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1032)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:785)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778)
at java.text.DateFormat.format(DateFormat.java:314)
at fr.jayasoft.ivy.resolver.BasicResolver.getDependency(BasicResolver.java:323)
at fr.jayasoft.ivy.IvyNode.loadData(IvyNode.java:589)
at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1023)
at fr.jayasoft.ivy.Ivy.doFetchDependencies(Ivy.java:1085)
at fr.jayasoft.ivy.Ivy.fetchDependencies(Ivy.java:1029)
at fr.jayasoft.ivy.Ivy.getDependencies(Ivy.java:949)
at fr.jayasoft.ivy.Ivy.resolve(Ivy.java:764)
at fr.jayasoft.ivy.ant.IvyResolve.execute(IvyResolve.java:100)
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)