java.lang.NullPointerException

Jenkins JIRA | Timothy Bingaman | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Ivy plugin throws a NullPointerException if you leave the targets field blank. It should just default to using whatever the default target is in the build.xml file. Reported by Cristian Vulpe on the users list. {quote} Hello.. I am beginning to set up Hudson with Ivy for our build structure. I am using a placeholder build.xml and ivy.xml. When I do a build, I get the exception below. Could you please take a look and let me know what's up? Thank you.. Cris Vulpe Narus, Inc. {noformat} Started by user anonymous ... Sync complete, took 1470 ms Parsing Ivy Descriptor Files Discovered a new module apache:hello-ivy hello-ivy ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at hudson.tasks.Ant.perform(Ant.java:181) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.doRun(IvyModuleSetBuild.java:478) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1210) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:283) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) project=hudson.ivy.IvyModuleSet@78d4ccbb[test_build_2] project.getModules()=[hudson.ivy.IvyModule@4191e97d[test_build_2/apache:hello-ivy]] FATAL: null java.lang.NullPointerException at hudson.tasks.Ant.perform(Ant.java:181) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.doRun(IvyModuleSetBuild.java:478) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1210) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:283) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122){noformat} {quote}

    Jenkins JIRA | 7 years ago | Timothy Bingaman
    java.lang.NullPointerException
  2. 0

    Ivy plugin throws a NullPointerException if you leave the targets field blank. It should just default to using whatever the default target is in the build.xml file. Reported by Cristian Vulpe on the users list. {quote} Hello.. I am beginning to set up Hudson with Ivy for our build structure. I am using a placeholder build.xml and ivy.xml. When I do a build, I get the exception below. Could you please take a look and let me know what's up? Thank you.. Cris Vulpe Narus, Inc. {noformat} Started by user anonymous ... Sync complete, took 1470 ms Parsing Ivy Descriptor Files Discovered a new module apache:hello-ivy hello-ivy ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at hudson.tasks.Ant.perform(Ant.java:181) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.doRun(IvyModuleSetBuild.java:478) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1210) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:283) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) project=hudson.ivy.IvyModuleSet@78d4ccbb[test_build_2] project.getModules()=[hudson.ivy.IvyModule@4191e97d[test_build_2/apache:hello-ivy]] FATAL: null java.lang.NullPointerException at hudson.tasks.Ant.perform(Ant.java:181) at hudson.ivy.IvyModuleSetBuild$RunnerImpl.doRun(IvyModuleSetBuild.java:478) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1210) at hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:283) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122){noformat} {quote}

    Jenkins JIRA | 7 years ago | Timothy Bingaman
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.tasks.Ant.perform()
    2. Hudson
      Ant.perform
      1. hudson.tasks.Ant.perform(Ant.java:181)
      1 frame
    3. hudson.ivy
      IvyModuleSetBuild$RunnerImpl.doRun
      1. hudson.ivy.IvyModuleSetBuild$RunnerImpl.doRun(IvyModuleSetBuild.java:478)
      1 frame
    4. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416)
      2. hudson.model.Run.run(Run.java:1210)
      2 frames
    5. hudson.ivy
      IvyModuleSetBuild.run
      1. hudson.ivy.IvyModuleSetBuild.run(IvyModuleSetBuild.java:283)
      1 frame
    6. Hudson
      ResourceController.execute
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      1 frame