ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanasaki <hanas...@hanaden.com>
Subject ANT copy to non existing directory throws null pointer exception
Date Tue, 27 Jul 2004 00:02:51 GMT
Verified / Repeatable on Linux with:
	jdk 1.4.2 and 1.5b2 with ant 1.6.2 and 1.6.1

================== LINUX 1.4.2
===========================================
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

================== LINUX 1.5B2
===========================================
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b51, mixed mode, sharing)

================== ERROR from ant -debug
===========================================
...build.xml:780: java.lang.NullPointerException
         at org.apache.tools.ant.Task.perform(Task.java:373)
         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.executeTarget(Project.java:1214)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
         at org.apache.tools.ant.Main.runBuild(Main.java:673)
         at org.apache.tools.ant.Main.startAnt(Main.java:188)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.lang.NullPointerException
         at
org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:586)
         at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:421)
         at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         ... 8 more
--- Nested Exception ---
java.lang.NullPointerException
         at
org.apache.tools.ant.taskdefs.Copy.doFileOperations(Copy.java:586)
         at org.apache.tools.ant.taskdefs.Copy.execute(Copy.java:421)
         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.executeTarget(Project.java:1214)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
         at org.apache.tools.ant.Main.runBuild(Main.java:673)
         at org.apache.tools.ant.Main.startAnt(Main.java:188)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message