ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46631] New: java.lang.NullPointerException with pathconvert starting at svn rev. 278337
Date Thu, 29 Jan 2009 21:30:52 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46631

           Summary: java.lang.NullPointerException with pathconvert
                    starting at svn rev. 278337
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: malgon@fdr.follett.com


I have a file that was written for ant 1.6.5 (and it runs just fine at the
version).  

from version 1.7.0 it seems to always fail at the same place:

<pathconvert property="classpath.lycea" refid="ClasspathLycea" pathsep=" ">
                <mapper type="flatten"/>
</pathconvert>


I tried to modify it several time but nothing seem to help. I always get the
same errors. I even tried downloading the current source and compile it. 
so the stack dump here is from the latest possible. (Jan 29th, ant 1.8a)

** more comments below this stack dump


c:\scholastic3x\slms\build-all\build.xml:51: The following error occurred while
executing this line:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.Main.runBuild(Main.java:775)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildAll.xml:19: The
following error
ing this line:
c:\scholastic3x\slms\build-all\build.xml:51: The following error occurred while
executing this line:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 17 more
Caused by: c:\scholastic3x\slms\build-all\build.xml:51: The following error
occurred while executing this
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 30 more
Caused by:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.Null
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 44 more
Caused by: java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:520)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:82)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:80)
        at
org.apache.tools.ant.types.resources.Resources$MyCollection.<init>(Resources.java:74)
        at
org.apache.tools.ant.types.resources.Resources.validate(Resources.java:250)
        at
org.apache.tools.ant.types.resources.Resources.iterator(Resources.java:152)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:127)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:109)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.cacheCollection(BaseResour
java:265)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.iterator(BaseResourceColle
2)
        at
org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        ... 51 more
--- Nested Exception ---
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildAll.xml:19: The
following error occurred w
ne:
c:\scholastic3x\slms\build-all\build.xml:51: The following error occurred while
executing this line:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.Main.runBuild(Main.java:775)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: c:\scholastic3x\slms\build-all\build.xml:51: The following error
occurred while executing this
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 30 more
Caused by:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.Null
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 44 more
Caused by: java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:520)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:82)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:80)
        at
org.apache.tools.ant.types.resources.Resources$MyCollection.<init>(Resources.java:74)
        at
org.apache.tools.ant.types.resources.Resources.validate(Resources.java:250)
        at
org.apache.tools.ant.types.resources.Resources.iterator(Resources.java:152)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:127)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:109)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.cacheCollection(BaseResour
java:265)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.iterator(BaseResourceColle
2)
        at
org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        ... 51 more
--- Nested Exception ---
c:\scholastic3x\slms\build-all\build.xml:51: The following error occurred while
executing this line:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:583)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:443)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.Main.runBuild(Main.java:775)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by:
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.Null
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        ... 44 more
Caused by: java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:520)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:82)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:80)
        at
org.apache.tools.ant.types.resources.Resources$MyCollection.<init>(Resources.java:74)
        at
org.apache.tools.ant.types.resources.Resources.validate(Resources.java:250)
        at
org.apache.tools.ant.types.resources.Resources.iterator(Resources.java:152)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:127)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:109)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.cacheCollection(BaseResour
java:265)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.iterator(BaseResourceColle
2)
        at
org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        ... 51 more
--- Nested Exception ---
C:\Scholastic3x\environment\lyceabuild\buildscripts\ant\antBuildTargets.xml:121:
java.lang.NullPointerExce
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:116)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.Main.runBuild(Main.java:775)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:520)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:82)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:80)
        at
org.apache.tools.ant.types.resources.Resources$MyCollection.<init>(Resources.java:74)
        at
org.apache.tools.ant.types.resources.Resources.validate(Resources.java:250)
        at
org.apache.tools.ant.types.resources.Resources.iterator(Resources.java:152)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:127)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:109)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.cacheCollection(BaseResour
java:265)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.iterator(BaseResourceColle
2)
        at
org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        ... 51 more
--- Nested Exception ---
java.lang.NullPointerException
        at
org.apache.tools.ant.types.AbstractFileSet.setupDirectoryScanner(AbstractFileSet.java:520)
        at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:82)
        at org.apache.tools.ant.types.FileSet.size(FileSet.java:80)
        at
org.apache.tools.ant.types.resources.Resources$MyCollection.<init>(Resources.java:74)
        at
org.apache.tools.ant.types.resources.Resources.validate(Resources.java:250)
        at
org.apache.tools.ant.types.resources.Resources.iterator(Resources.java:152)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:127)
        at
org.apache.tools.ant.types.resources.Union.getCollection(Union.java:109)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.cacheCollection(BaseResour
java:265)
        at
org.apache.tools.ant.types.resources.BaseResourceCollectionContainer.iterator(BaseResourceColle
2)
        at
org.apache.tools.ant.taskdefs.PathConvert.execute(PathConvert.java:363)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
        at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:208)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)
        at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:386)
        at org.apache.tools.ant.Target.performTasks(Target.java:407)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1361)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1330)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1213)
        at org.apache.tools.ant.Main.runBuild(Main.java:775)
        at org.apache.tools.ant.Main.startAnt(Main.java:217)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)


=========================================================================

after debugging this i reached the conclusion that this started with rev
278337.
and possibly something to do with ant.types.resources --> union.java

I couldn't debug this any further so I couldn't fix this. can you please help
me?
i'm attaching the file that's failing on me. 
maybe you can suggest a work around so we can possibly move to ant 1.7+  .

Thanks,
Merav


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message