Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18380

"Processing failed due to a bug in the code" - NPE in Ant task

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ant-plugin
    • None
    • Jenkins 1.517, Ubuntu 10.04 slave

      During one of the ant targets invoked in Ant step I got the following error:

      09:59:52 ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com
      09:59:57 java.lang.NullPointerException
      10:00:02 at hudson.tasks.Ant.buildFilePath(Ant.java:240)
      10:00:07 at hudson.tasks.Ant.perform(Ant.java:165)
      10:00:12 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      10:00:17 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
      10:00:22 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.build(MavenModuleSetBuild.java:829)
      10:00:27 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:780)
      10:00:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586)
      10:00:27 at hudson.model.Run.execute(Run.java:1576)
      10:00:27 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:486)
      10:00:27 at hudson.model.ResourceController.execute(ResourceController.java:88)
      10:00:33 at hudson.model.Executor.run(Executor.java:241)
      10:00:33 project=hudson.maven.MavenModuleSet@6ca4040a[------]

            Unassigned Unassigned
            pawelg Pawel Gronkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: