ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Wooldridge (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1539) NullPointerException in dependencytree with no dependencies
Date Tue, 01 Dec 2015 04:29:11 GMT
Brett Wooldridge created IVY-1539:
-------------------------------------

             Summary: NullPointerException in dependencytree with no dependencies
                 Key: IVY-1539
                 URL: https://issues.apache.org/jira/browse/IVY-1539
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.4.0
            Reporter: Brett Wooldridge


When running <ivy:dependencytree /> in a project with no declared dependencies a NPE
is generated:

{code:java}
/Users/brettw/Documents/lvi/netld/netld/common.xml:16: java.lang.NullPointerException
	at org.apache.ivy.ant.IvyDependencyTree.printDependencies(IvyDependencyTree.java:56)
	at org.apache.ivy.ant.IvyDependencyTree.doExecute(IvyDependencyTree.java:52)
	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:271)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:309)
	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:224)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
	at org.apache.tools.ant.Main.runBuild(Main.java:853)
	at org.apache.tools.ant.Main.startAnt(Main.java:235)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
{code}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message