java.lang.NullPointerException

Jenkins JIRA | Geoff Adams | 4 years ago
  1. 0

    I'm attempting to run Clover reports from my PHPUnit test logs, and I keep getting this error. I noticed a similar error had already been fixed (the one relating to empty HTML directory settings), but I think this one is different, judging from the stack trace. I have a coverage XML file and a valid directory for HTML output. The same error occurs whether or not HTML reports are enabled or not. Publishing Clover coverage report... Publishing Clover XML report... Publishing Clover coverage results... ERROR: Publisher org.jenkinsci.plugins.cloverphp.CloverPublisher aborted due to exception java.lang.NullPointerException at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.trimPaths(CloverCoverageParser.java:29) at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.parse(CloverCoverageParser.java:50) at org.jenkinsci.plugins.cloverphp.CloverPublisher.processCloverXml(CloverPublisher.java:216) at org.jenkinsci.plugins.cloverphp.CloverPublisher.perform(CloverPublisher.java:189) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Geoff Adams
    java.lang.NullPointerException
  2. 0

    I'm attempting to run Clover reports from my PHPUnit test logs, and I keep getting this error. I noticed a similar error had already been fixed (the one relating to empty HTML directory settings), but I think this one is different, judging from the stack trace. I have a coverage XML file and a valid directory for HTML output. The same error occurs whether or not HTML reports are enabled or not. Publishing Clover coverage report... Publishing Clover XML report... Publishing Clover coverage results... ERROR: Publisher org.jenkinsci.plugins.cloverphp.CloverPublisher aborted due to exception java.lang.NullPointerException at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.trimPaths(CloverCoverageParser.java:29) at org.jenkinsci.plugins.cloverphp.CloverCoverageParser.parse(CloverCoverageParser.java:50) at org.jenkinsci.plugins.cloverphp.CloverPublisher.processCloverXml(CloverPublisher.java:216) at org.jenkinsci.plugins.cloverphp.CloverPublisher.perform(CloverPublisher.java:189) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639) at hudson.model.Run.execute(Run.java:1513) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Finished: FAILURE

    Jenkins JIRA | 4 years ago | Geoff Adams
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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 org.jenkinsci.plugins.cloverphp.CloverCoverageParser.trimPaths()
    2. org.jenkinsci.plugins
      CloverPublisher.perform
      1. org.jenkinsci.plugins.cloverphp.CloverCoverageParser.trimPaths(CloverCoverageParser.java:29)
      2. org.jenkinsci.plugins.cloverphp.CloverCoverageParser.parse(CloverCoverageParser.java:50)
      3. org.jenkinsci.plugins.cloverphp.CloverPublisher.processCloverXml(CloverPublisher.java:216)
      4. org.jenkinsci.plugins.cloverphp.CloverPublisher.perform(CloverPublisher.java:189)
      4 frames
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
      6. hudson.model.Run.execute(Run.java:1513)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:236)
      9 frames