https://bz.apache.org/bugzilla/show_bug.cgi?id=62143
Mario Emmenlauer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW --- Comment #3 from Mario Emmenlauer <[email protected]> --- Dear Jaikiran Pai, my previous bugreport is maybe not so helpful, because I was using maven to trigger the build (and I do not understand in detail if it uses maven or ant under the hood). But the problem is still valid. I have now started the build with ant and see again a problem. Here is the source code I' trying to build: https://github.com/openmicroscopy/bioformats I use the command 'ant clean jars tools' to build. Everything works fine if I unpack apache-ant-XXX-bin into its own directory and start it from there. The build fails if I unpack apache-ant-XXX-bin into a directory that already contains maven, gradle and other Java software packages. Attached is a directory listing of the jar files in the lib/ directory. Here is the error message: ---- Buildfile: /data2/emmenlau/BioDataAnalysis/tmp-debug-Ubuntu-Nehalem-16.04-x86_64-gcc5.4.0/thirdparty/bioformats-5.8.0/build.xml clean-formats-api: BUILD FAILED /data2/emmenlau/BioDataAnalysis/tmp-debug-Ubuntu-Nehalem-16.04-x86_64-gcc5.4.0/thirdparty/bioformats-5.8.0/ant/toplevel.xml:131: The following error occurred while executing this line: /data2/emmenlau/BioDataAnalysis/tmp-debug-Ubuntu-Nehalem-16.04-x86_64-gcc5.4.0/thirdparty/bioformats-5.8.0/components/formats-api/build.xml:12: The following error occurred while executing this line: /data2/emmenlau/BioDataAnalysis/tmp-debug-Ubuntu-Nehalem-16.04-x86_64-gcc5.4.0/thirdparty/bioformats-5.8.0/ant/java.xml:32: java.lang.NullPointerException at org.apache.maven.artifact.ant.AbstractArtifactTask.diagnoseError(AbstractArtifactTask.java:613) at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:755) 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:498) 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.helper.ProjectHelper2.parse(ProjectHelper2.java:169) at org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:222) at org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163) 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:498) 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.helper.ProjectHelper2.parse(ProjectHelper2.java:180) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:392) 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:498) 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:857) at org.apache.tools.ant.Main.startAnt(Main.java:236) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:283) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101) Total time: 0 seconds -- You are receiving this mail because: You are the assignee for the bug.
