I'm having a spot of bother with a dependset - it is throwing a NPE. I'm thought it used work on ant 1.6.5, but having just re-tried it, it seems to fail in the same way. I'm not having much luck boiling down an exact test case, although it seems to be something to do with either number of files or path lengths - reducing the path length of dir5 did not to produce the error.
Platform: windows JRE: 1.5.0_06 Ant: 1.7.0 The ant script is similar to the one below, with the directories being fairly long. There are a fair number of subdirectories and files, but not vast - it works fine with other much greater directories. <project name="test" default="test"> <target name="test"> <dependset> <srcfileset dir="dir1"/> <srcfileset dir="dir2"/> <srcfileset dir="dir3"/> <targetfileset dir="dir5"/> </dependset> </target> </project> Stack trace: C:\temp\dependstest\build.xml:4: java.lang.NullPointerException at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:115) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: java.lang.NullPointerException at org.apache.tools.ant.types.resources.Sort$SortedBag$MutableInt.access$100(Sort.java:44) at org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterator.next(Sort.java:60) at org.apache.tools.ant.types.resources.FailFast.next(FailFast.java:115) at org.apache.tools.ant.taskdefs.DependSet.uptodate(DependSet.java:233) at org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.java:202) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) ... 11 more --- Nested Exception --- java.lang.NullPointerException at org.apache.tools.ant.types.resources.Sort$SortedBag$MutableInt.access$100(Sort.java:44) at org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterator.next(Sort.java:60) at org.apache.tools.ant.types.resources.FailFast.next(FailFast.java:115) at org.apache.tools.ant.taskdefs.DependSet.uptodate(DependSet.java:233) at org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.java:202) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Any help much appreciated. Oliver --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]