java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Timothy Bingaman,
  • 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}
    via by Timothy Bingaman,
    • 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)
    No Bugmate found.