java.lang.NullPointerException

Jenkins JIRA | Timothy Bingaman | 7 years ago
  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
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:122)
      2 frames