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.

  • Consistent multiple NullPointerException when publishing analysis results, example follows (Checkstyle, PMD, Clover etc.) {noformat} 12:45:27 [CHECKSTYLE] Collecting checkstyle analysis files... 12:45:27 [CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml 12:45:27 ERROR: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted due to exception 12:45:27 java.lang.NullPointerException 12:45:27 at hudson.model.Run.getRootDir(Run.java:961) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:27 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:27 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:27 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:27 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:61) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:56) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:36) 12:45:27 at hudson.plugins.checkstyle.CheckStylePublisher.perform(CheckStylePublisher.java:146) 12:45:27 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:27 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:27 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:27 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:27 at hudson.model.Run.execute(Run.java:1617) 12:45:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:27 at hudson.model.Executor.run(Executor.java:237) 12:45:27 [PMD] Collecting PMD analysis files... 12:45:27 [PMD] Finding all files that match the pattern build/logs/pmd.xml 12:45:27 [PMD] Parsing 1 files in /home/jenkins/workspace/docs-dev-unit-test 12:45:27 [PMD] Successfully parsed file /home/jenkins/workspace/docs-dev-unit-test/build/logs/pmd.xml of module with 10 warnings. 12:45:27 ERROR: Publisher hudson.plugins.pmd.PmdPublisher aborted due to exception 12:45:27 java.lang.NullPointerException 12:45:27 at hudson.model.Run.getRootDir(Run.java:961) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:27 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:27 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:27 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:27 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:61) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:56) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:36) 12:45:27 at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:142) 12:45:27 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:27 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:27 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:27 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:27 at hudson.model.Run.execute(Run.java:1617) 12:45:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:27 at hudson.model.Executor.run(Executor.java:237) 12:45:27 [DRY] Collecting duplicate code analysis files... 12:45:28 [DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml 12:45:28 [DRY] Parsing 1 files in /home/jenkins/workspace/docs-dev-unit-test 12:45:28 [DRY] Successfully parsed file /home/jenkins/workspace/docs-dev-unit-test/build/logs/pmd-cpd.xml of module with 5 warnings. 12:45:28 ERROR: Publisher hudson.plugins.dry.DryPublisher aborted due to exception 12:45:28 java.lang.NullPointerException 12:45:28 at hudson.model.Run.getRootDir(Run.java:961) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:28 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:28 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:28 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:28 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:61) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:56) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:36) 12:45:28 at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:178) 12:45:28 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:28 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:28 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:28 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:28 at hudson.model.Run.execute(Run.java:1617) 12:45:28 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:28 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:28 at hudson.model.Executor.run(Executor.java:237) {noformat} h3. Investigation results: Seems that the member {code} protected transient final JobT project; {code} is null when calling {code} /** * Root directory of this {@link Run} on the master. * * Files related to this {@link Run} should be stored below this directory. */ public File getRootDir() { return new File(project.getBuildDir(),getId()); } {code} Since the member is restored using XStream during startup, there must be a problem with the serialization of the config.xml or build.xml file.
    via by Brett Delle Grazie,
  • Consistent multiple NullPointerException when publishing analysis results, example follows (Checkstyle, PMD, Clover etc.) {noformat} 12:45:27 [CHECKSTYLE] Collecting checkstyle analysis files... 12:45:27 [CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml 12:45:27 ERROR: Publisher hudson.plugins.checkstyle.CheckStylePublisher aborted due to exception 12:45:27 java.lang.NullPointerException 12:45:27 at hudson.model.Run.getRootDir(Run.java:961) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:27 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:27 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:27 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:27 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:61) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:56) 12:45:27 at hudson.plugins.checkstyle.CheckStyleResult.<init>(CheckStyleResult.java:36) 12:45:27 at hudson.plugins.checkstyle.CheckStylePublisher.perform(CheckStylePublisher.java:146) 12:45:27 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:27 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:27 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:27 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:27 at hudson.model.Run.execute(Run.java:1617) 12:45:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:27 at hudson.model.Executor.run(Executor.java:237) 12:45:27 [PMD] Collecting PMD analysis files... 12:45:27 [PMD] Finding all files that match the pattern build/logs/pmd.xml 12:45:27 [PMD] Parsing 1 files in /home/jenkins/workspace/docs-dev-unit-test 12:45:27 [PMD] Successfully parsed file /home/jenkins/workspace/docs-dev-unit-test/build/logs/pmd.xml of module with 10 warnings. 12:45:27 ERROR: Publisher hudson.plugins.pmd.PmdPublisher aborted due to exception 12:45:27 java.lang.NullPointerException 12:45:27 at hudson.model.Run.getRootDir(Run.java:961) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:27 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:27 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:27 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:27 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:27 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:61) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:56) 12:45:27 at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:36) 12:45:27 at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:142) 12:45:27 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:27 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:27 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:27 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:27 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:27 at hudson.model.Run.execute(Run.java:1617) 12:45:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:27 at hudson.model.Executor.run(Executor.java:237) 12:45:27 [DRY] Collecting duplicate code analysis files... 12:45:28 [DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml 12:45:28 [DRY] Parsing 1 files in /home/jenkins/workspace/docs-dev-unit-test 12:45:28 [DRY] Successfully parsed file /home/jenkins/workspace/docs-dev-unit-test/build/logs/pmd-cpd.xml of module with 5 warnings. 12:45:28 ERROR: Publisher hudson.plugins.dry.DryPublisher aborted due to exception 12:45:28 java.lang.NullPointerException 12:45:28 at hudson.model.Run.getRootDir(Run.java:961) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) 12:45:28 at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) 12:45:28 at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) 12:45:28 at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) 12:45:28 at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) 12:45:28 at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:61) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:56) 12:45:28 at hudson.plugins.dry.DryResult.<init>(DryResult.java:36) 12:45:28 at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:178) 12:45:28 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) 12:45:28 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) 12:45:28 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) 12:45:28 at hudson.model.Build$BuildExecution.post2(Build.java:183) 12:45:28 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) 12:45:28 at hudson.model.Run.execute(Run.java:1617) 12:45:28 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 12:45:28 at hudson.model.ResourceController.execute(ResourceController.java:88) 12:45:28 at hudson.model.Executor.run(Executor.java:237) {noformat} h3. Investigation results: Seems that the member {code} protected transient final JobT project; {code} is null when calling {code} /** * Root directory of this {@link Run} on the master. * * Files related to this {@link Run} should be stored below this directory. */ public File getRootDir() { return new File(project.getBuildDir(),getId()); } {code} Since the member is restored using XStream during startup, there must be a problem with the serialization of the config.xml or build.xml file.
    via by Brett Delle Grazie,
  • After some time I always got this error message for all my jobs. But this is not directly after creating a job. There is enough space left on the device. [WARNINGS] Parsing warnings in files 'out\compiler_error.err' with parser GNU Make + GNU C Compiler (gcc) [WARNINGS] Finding all files that match the pattern out\compiler_error.err [WARNINGS] Parsing 1 file in X:\TEST_JOB\Image [WARNINGS] Successfully parsed file X:\TEST_JOB\Image\out\compiler_error.err with 46 unique warnings and 0 duplicates. ERROR: Build step failed with exception java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:1013) at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:515) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:946) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:926) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1125) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:104) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:274) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:218) at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:53) at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:47) at hudson.plugins.warnings.WarningsPublisher.annotate(WarningsPublisher.java:460) at hudson.plugins.warnings.WarningsPublisher.parseFiles(WarningsPublisher.java:430) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:323) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:152) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:349) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Build step 'Suche nach Compiler Warnungen' marked build as failure
    via by Stefan Roth,
  • After some time I always got this error message for all my jobs. But this is not directly after creating a job. There is enough space left on the device. [WARNINGS] Parsing warnings in files 'out\compiler_error.err' with parser GNU Make + GNU C Compiler (gcc) [WARNINGS] Finding all files that match the pattern out\compiler_error.err [WARNINGS] Parsing 1 file in X:\TEST_JOB\Image [WARNINGS] Successfully parsed file X:\TEST_JOB\Image\out\compiler_error.err with 46 unique warnings and 0 duplicates. ERROR: Build step failed with exception java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:1013) at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:515) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:946) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:926) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1125) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:104) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:274) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:218) at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:53) at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:47) at hudson.plugins.warnings.WarningsPublisher.annotate(WarningsPublisher.java:460) at hudson.plugins.warnings.WarningsPublisher.parseFiles(WarningsPublisher.java:430) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:323) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:152) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:349) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) at hudson.model.Run.execute(Run.java:1763) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Build step 'Suche nach Compiler Warnungen' marked build as failure
    via by Stefan Roth,
  • I'm getting error 500 with NullPointerException. The problem occurs when the build finishes and the plugin tries to parse the result, when I click on the performance report link, this is what happens: Status Code: 500 Exception: Stacktrace: java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:943) at hudson.plugins.performance.PerformanceReportMap.parseReports(PerformanceReportMap.java:212) at hudson.plugins.performance.PerformanceReportMap.<init>(PerformanceReportMap.java:56) at hudson.plugins.performance.PerformanceBuildAction.getPerformanceReportMap(PerformanceBuildAction.java:79) at hudson.plugins.performance.PerformanceBuildAction.getTarget(PerformanceBuildAction.java:58) at hudson.plugins.performance.PerformanceBuildAction.getTarget(PerformanceBuildAction.java:15) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:604) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583) at org.kohsuke.stapler.Stapler.service(Stapler.java:214) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Generated by Winstone Servlet Engine v0.9.10 at Fri Apr 05 09:14:34 EDT 2013
    via by Igor Escobar,
  • When we upgraded our Jenkins to 1.485, some of our jobs did not show up on start-up even though their configuration files were still present. When we rolled Jenkins back to 1.484, the jobs reappeared. This problem continued with 1.486 One common theme between the jobs that didn't show up is they use the parameterized-trigger plugin, which we are using 2.14. We have not upgraded this plugin because it removes the ability to specify triggering with multiple properties files In the Jenkins error logs, I see this NPE: {noformat} Oct 15, 2012 3:34:56 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:900) at org.jenkinsci.lib.envinject.EnvInjectAction.readResolve(EnvInjectAction.java:86) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.thoughtworks.xstream.converters.reflection.SerializationMethodInvoker.callReadResolve(SerializationMethodInvoker.java:46) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:222) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:85) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:332) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:274) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:221) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:103) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:160) at hudson.model.Run.reload(Run.java:291) at hudson.model.Run.<init>(Run.java:280) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:182) at hudson.model.Build.<init>(Build.java:103) at hudson.model.FreeStyleBuild.<init>(FreeStyleBuild.java:41) at sun.reflect.GeneratedConstructorAccessor49.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:1061) at hudson.model.AbstractProject$1.create(AbstractProject.java:275) at hudson.model.AbstractProject$1.create(AbstractProject.java:273) at hudson.model.RunMap.retrieve(RunMap.java:220) at hudson.model.RunMap.retrieve(RunMap.java:59) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:613) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:596) at jenkins.model.lazy.AbstractLazyLoadRunMap.all(AbstractLazyLoadRunMap.java:549) at jenkins.model.lazy.AbstractLazyLoadRunMap.entrySet(AbstractLazyLoadRunMap.java:234) at java.util.AbstractMap$2$1.<init>(Unknown Source) at java.util.AbstractMap$2.iterator(Unknown Source) at hudson.util.RunList.iterator(RunList.java:103) at org.jvnet.hudson.plugins.DownStreamProjectActionFactory.createFor(DownStreamProjectActionFactory.java:59) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:675) at hudson.model.Project.createTransientActions(Project.java:208) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:665) at hudson.model.AbstractProject.onLoad(AbstractProject.java:299) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$17.run(Jenkins.java:2507) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:883) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {noformat}
    via by Brian Freed,
  • Here's the complete stack trace: {{javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/hudson/model/View/index.jelly:42:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/lib/hudson/projectView.jelly:67:24: <d:invokeBody> java.lang.NullPointerException at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:117) at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:127) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:813) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/hudson/model/View/index.jelly:42:43: <st:include> org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/lib/hudson/projectView.jelly:67:24: <d:invokeBody> java.lang.NullPointerException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.kohsuke.stapler.jelly.CompressTag.doTag(CompressTag.java:44) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:112) ... 64 more Caused by: java.lang.RuntimeException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/lib/hudson/projectView.jelly:67:24: <d:invokeBody> java.lang.NullPointerException at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:280) at org.kohsuke.stapler.jelly.groovy.Namespace$ProxyImpl.invoke(Namespace.java:92) at com.sun.proxy.$Proxy435.projectView(Unknown Source) at lib.JenkinsTagLib$projectView.call(Unknown Source) at hudson.model.View.main.run(main.groovy:14) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:74) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:62) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 94 more Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/lib/hudson/projectView.jelly:67:24: <d:invokeBody> java.lang.NullPointerException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.kohsuke.stapler.jelly.groovy.JellyBuilder.doInvokeMethod(JellyBuilder.java:276) ... 102 more Caused by: java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:1014) at hudson.plugins.robot.RobotBuildAction.getDataFile(RobotBuildAction.java:124) at hudson.plugins.robot.RobotBuildAction.load(RobotBuildAction.java:153) at hudson.plugins.robot.RobotBuildAction.getResult(RobotBuildAction.java:134) at hudson.plugins.robot.RobotBuildAction.getTotalCount(RobotBuildAction.java:275) at hudson.tasks.test.AbstractTestResultAction.getBuildHealth(AbstractTestResultAction.java:158) at hudson.model.Job.getBuildHealthReports(Job.java:1097) at hudson.model.Job.getBuildHealth(Job.java:1072) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:102) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:108) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:108) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:88) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.as(ProjectForm.java:145) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder$GridImpl.<init>(DownstreamProjectGridBuilder.java:77) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder$GridImpl.<init>(DownstreamProjectGridBuilder.java:58) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder.build(DownstreamProjectGridBuilder.java:227) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.getBuildPipelineForm(BuildPipelineView.java:353) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.getItems(BuildPipelineView.java:805) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.hasPermission(BuildPipelineView.java:873) at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115) at jenkins.model.Jenkins.getViews(Jenkins.java:1476) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3500) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at hudson.model.View.main$_run_closure1.doCall(main.groovy:15) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:141) at hudson.model.View.main$_run_closure1.doCall(main.groovy) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:903) at groovy.lang.Closure.call(Closure.java:415) at groovy.lang.Closure.call(Closure.java:409) at org.kohsuke.stapler.jelly.groovy.JellyBuilder$1.run(JellyBuilder.java:264) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 111 more}}
    via by Andrew McLaughlin,
  • Received following exception when trying to access manage jenkins configure system screen. Plugins installed were conditional build step and run condition plugins. After restart, this happens: {{javax.servlet.ServletException: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> java.lang.NullPointerException at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:103) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649) at org.kohsuke.stapler.Stapler.service(Stapler.java:238) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:123) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.commons.jelly.JellyTagException: jar:file:/usr/java/apache-tomcat-7.0.62/webapps/jenkins/WEB-INF/lib/jenkins-core-1.626.jar!/jenkins/model/Jenkins/configure.jelly:59:84: <st:include> java.lang.NullPointerException at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:726) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:281) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161) at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.CallTagLibScript$1.run(CallTagLibScript.java:99) at org.apache.commons.jelly.tags.define.InvokeBodyTag.doTag(InvokeBodyTag.java:91) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99) at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120) at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105) at org.kohsuke.stapler.jelly.JellyViewScript.run(JellyViewScript.java:95) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63) at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53) at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95) ... 61 more Caused by: java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:1014) at hudson.plugins.robot.RobotBuildAction.getDataFile(RobotBuildAction.java:124) at hudson.plugins.robot.RobotBuildAction.load(RobotBuildAction.java:153) at hudson.plugins.robot.RobotBuildAction.getResult(RobotBuildAction.java:134) at hudson.plugins.robot.RobotBuildAction.getTotalCount(RobotBuildAction.java:275) at hudson.tasks.test.AbstractTestResultAction.getBuildHealth(AbstractTestResultAction.java:158) at hudson.model.Job.getBuildHealthReports(Job.java:1097) at hudson.model.Job.getBuildHealth(Job.java:1072) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:102) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:108) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:108) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:117) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.<init>(ProjectForm.java:88) at au.com.centrumsystems.hudson.plugin.buildpipeline.ProjectForm.as(ProjectForm.java:145) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder$GridImpl.<init>(DownstreamProjectGridBuilder.java:77) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder$GridImpl.<init>(DownstreamProjectGridBuilder.java:58) at au.com.centrumsystems.hudson.plugin.buildpipeline.DownstreamProjectGridBuilder.build(DownstreamProjectGridBuilder.java:227) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.getBuildPipelineForm(BuildPipelineView.java:353) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.getItems(BuildPipelineView.java:805) at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.hasPermission(BuildPipelineView.java:873) at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115) at jenkins.model.Jenkins.getViews(Jenkins.java:1476) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl$GetBeanMethodMetaProperty.getProperty(MetaClassImpl.java:3500) at org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.getProperty(GetEffectivePojoPropertySite.java:61) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:227) at hudson.views.GlobalDefaultViewConfiguration.config.run(config.groovy:5) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:74) at org.kohsuke.stapler.jelly.groovy.GroovierJellyScript.run(GroovierJellyScript.java:62) at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147) at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269) ... 117 more}}
    via by Andrew McLaughlin,
    • java.lang.NullPointerException at hudson.model.Run.getRootDir(Run.java:961) at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:498) at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:913) at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:893) at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1037) at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:86) at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:264) at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:217) at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:61) at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:56) at hudson.plugins.pmd.PmdResult.<init>(PmdResult.java:36) at hudson.plugins.pmd.PmdPublisher.perform(PmdPublisher.java:142) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:144) at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:780) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:752) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) at hudson.model.Run.execute(Run.java:1617) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237)

    Users with the same issue

    Unknown visitor1 times, last one,