java.lang.NullPointerException

Jenkins JIRA | Brianna Laugher | 10 months ago
  1. 0

    GitHub comment 267#147358440

    GitHub | 1 year ago | harshagv12
    java.lang.NullPointerException
  2. 0

    [JIRA] [behave-testresults-publisher-plugin] (JENKINS-33144) behave-testresults-publisher plugin lacks documentation on how to use it

    Google Groups | 10 months ago | brianna.laugher@gmail.com (JIRA)
    java.lang.NullPointerException
  3. 0

    There's no information about how this plugin is supposed to work. From https://github.com/jenkinsci/behave-testresults-publisher-plugin it says to use behave options {{--format=json.pretty --outfile=resultsfilenameofyourchoice.json}} I am doing this, and the output file is being kept as a build artifact and looks vaguely correct. I configured the job and added post-build step *Publish behave results as a report*. But I don't see anywhere how to tell the plugin what the name of my json file is. So unsurprisingly this build step fails. {code} [BehaveReportPublisher] Compiling Behave Html Reports ... ERROR: Build step failed with exception java.lang.NullPointerException at net.jenkins.BehaveReportPublisher.perform(BehaveReportPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Build step 'Publish behave results as a report' marked build as failure Finished: FAILURE {code}

    Jenkins JIRA | 10 months ago | Brianna Laugher
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There's no information about how this plugin is supposed to work. From https://github.com/jenkinsci/behave-testresults-publisher-plugin it says to use behave options {{--format=json.pretty --outfile=resultsfilenameofyourchoice.json}} I am doing this, and the output file is being kept as a build artifact and looks vaguely correct. I configured the job and added post-build step *Publish behave results as a report*. But I don't see anywhere how to tell the plugin what the name of my json file is. So unsurprisingly this build step fails. {code} [BehaveReportPublisher] Compiling Behave Html Reports ... ERROR: Build step failed with exception java.lang.NullPointerException at net.jenkins.BehaveReportPublisher.perform(BehaveReportPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726) at hudson.model.Build$BuildExecution.post2(Build.java:185) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) at hudson.model.Run.execute(Run.java:1766) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Build step 'Publish behave results as a report' marked build as failure Finished: FAILURE {code}

    Jenkins JIRA | 10 months ago | Brianna Laugher
    java.lang.NullPointerException
  6. 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

    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 net.jenkins.BehaveReportPublisher.perform()
    2. net.jenkins
      BehaveReportPublisher.perform
      1. net.jenkins.BehaveReportPublisher.perform(BehaveReportPublisher.java:63)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:726)
      4. hudson.model.Build$BuildExecution.post2(Build.java:185)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
      6. hudson.model.Run.execute(Run.java:1766)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      8. hudson.model.ResourceController.execute(ResourceController.java:98)
      9. hudson.model.Executor.run(Executor.java:408)
      9 frames