java.lang.NullPointerException

Jenkins JIRA | francisdb | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I'm building a multimodule project with cobertura defined in the parent pom. The build succeeds when I run it on the console but I'm getting this when hudson runs the job: [INFO] Cobertura Report generation was successful. [HUDSON] Recording coverage results [HUDSON] Archiving ... [HUDSON] Archiving ... [HUDSON] Archiving ... [multimodule project] [HUDSON] Archiving ... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at hudson.plugins.cobertura.CoberturaProjectAction.<init>(CoberturaProjectAction.java:27) at hudson.plugins.cobertura.MavenCoberturaPublisher.getProjectAction(MavenCoberturaPublisher.java:198) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:373) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:45) the same thing happens when trying to change the project configuration: Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.plugins.cobertura.CoberturaProjectAction.(CoberturaProjectAction.java:27) at hudson.plugins.cobertura.MavenCoberturaPublisher.getProjectAction(MavenCoberturaPublisher.java:198) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:373) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:45)

    Jenkins JIRA | 8 years ago | francisdb
    java.lang.NullPointerException
  2. 0

    I'm building a multimodule project with cobertura defined in the parent pom. The build succeeds when I run it on the console but I'm getting this when hudson runs the job: [INFO] Cobertura Report generation was successful. [HUDSON] Recording coverage results [HUDSON] Archiving ... [HUDSON] Archiving ... [HUDSON] Archiving ... [multimodule project] [HUDSON] Archiving ... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NullPointerException at hudson.plugins.cobertura.CoberturaProjectAction.<init>(CoberturaProjectAction.java:27) at hudson.plugins.cobertura.MavenCoberturaPublisher.getProjectAction(MavenCoberturaPublisher.java:198) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:373) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:45) the same thing happens when trying to change the project configuration: Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.plugins.cobertura.CoberturaProjectAction.(CoberturaProjectAction.java:27) at hudson.plugins.cobertura.MavenCoberturaPublisher.getProjectAction(MavenCoberturaPublisher.java:198) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:373) at hudson.maven.MavenModule.addTransientActionsFromBuild(MavenModule.java:45)

    Jenkins JIRA | 8 years ago | francisdb
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.plugins.cobertura.CoberturaProjectAction.<init>()
    2. hudson.plugins.cobertura
      CoberturaProjectAction.<init>
      1. hudson.plugins.cobertura.CoberturaProjectAction.<init>(CoberturaProjectAction.java:27)
      1 frame