java.lang.NullPointerException

Jenkins JIRA | Waldek M | 5 years ago
  1. 0

    Occasionally, the cobertura plugin crashes with the trace as follows. I'm afraid I'm not able to tell whether this is really releated to the cobertura, or clearcase plugins, because both appear on the trace. Publishing Cobertura coverage report... ERROR: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to exception java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:226) at hudson.FilePath.<init>(FilePath.java:214) at hudson.FilePath.child(FilePath.java:926) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:345) at hudson.scm.SCM.getModuleRoots(SCM.java:543) at hudson.model.AbstractBuild.getModuleRoots(AbstractBuild.java:287) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:216) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:622) at hudson.model.Run.run(Run.java:1434) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Yet another occurence, this time on 1.462 Jenkins ERROR: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to exception java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:228) at hudson.FilePath.<init>(FilePath.java:216) at hudson.FilePath.child(FilePath.java:970) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:345) at hudson.scm.SCM.getModuleRoots(SCM.java:543) at hudson.model.AbstractBuild.getModuleRoots(AbstractBuild.java:292) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:247) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1459) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Recording test results

    Jenkins JIRA | 5 years ago | Waldek M
    java.lang.NullPointerException
  2. 0

    Occasionally, the cobertura plugin crashes with the trace as follows. I'm afraid I'm not able to tell whether this is really releated to the cobertura, or clearcase plugins, because both appear on the trace. Publishing Cobertura coverage report... ERROR: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to exception java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:226) at hudson.FilePath.<init>(FilePath.java:214) at hudson.FilePath.child(FilePath.java:926) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:345) at hudson.scm.SCM.getModuleRoots(SCM.java:543) at hudson.model.AbstractBuild.getModuleRoots(AbstractBuild.java:287) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:216) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:700) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:675) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:653) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:622) at hudson.model.Run.run(Run.java:1434) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Yet another occurence, this time on 1.462 Jenkins ERROR: Publisher hudson.plugins.cobertura.CoberturaPublisher aborted due to exception java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:228) at hudson.FilePath.<init>(FilePath.java:216) at hudson.FilePath.child(FilePath.java:970) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:345) at hudson.scm.SCM.getModuleRoots(SCM.java:543) at hudson.model.AbstractBuild.getModuleRoots(AbstractBuild.java:292) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:247) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627) at hudson.model.Run.run(Run.java:1459) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) Recording test results

    Jenkins JIRA | 5 years ago | Waldek M
    java.lang.NullPointerException
  3. 0

    ClearCase plugin is throwing NullPointerException when site goal is executed on submodule. Value for normalizedViewName in AbstractClearCaseScm class is null. When executing site goal for parent module, value is OK and site is generated. Stack trace: java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:221) at hudson.FilePath.<init>(FilePath.java:209) at hudson.FilePath.child(FilePath.java:891) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:283) at hudson.model.AbstractBuild.getModuleRoot(AbstractBuild.java:233) at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:109) at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:106) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:341) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:402) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy21.execute(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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 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:619)

    Jenkins JIRA | 6 years ago | goldmartin
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClearCase plugin is throwing NullPointerException when site goal is executed on submodule. Value for normalizedViewName in AbstractClearCaseScm class is null. When executing site goal for parent module, value is OK and site is generated. Stack trace: java.lang.NullPointerException at hudson.FilePath.isAbsolute(FilePath.java:221) at hudson.FilePath.<init>(FilePath.java:209) at hudson.FilePath.child(FilePath.java:891) at hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:283) at hudson.model.AbstractBuild.getModuleRoot(AbstractBuild.java:233) at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:109) at hudson.maven.reporters.MavenSiteArchiver$1.call(MavenSiteArchiver.java:106) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:341) at sun.reflect.GeneratedMethodAccessor209.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:402) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy21.execute(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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 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:619)

    Jenkins JIRA | 6 years ago | goldmartin
    java.lang.NullPointerException
  6. 0

    java.lang.NullPointerException

    Google Groups | 6 years ago | Tedi
    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 hudson.FilePath.isAbsolute()
    2. Hudson
      FilePath.child
      1. hudson.FilePath.isAbsolute(FilePath.java:228)
      2. hudson.FilePath.<init>(FilePath.java:216)
      3. hudson.FilePath.child(FilePath.java:970)
      3 frames
    3. hudson.plugins.clearcase
      AbstractClearCaseScm.getModuleRoot
      1. hudson.plugins.clearcase.AbstractClearCaseScm.getModuleRoot(AbstractClearCaseScm.java:345)
      1 frame
    4. Hudson
      AbstractBuild.getModuleRoots
      1. hudson.scm.SCM.getModuleRoots(SCM.java:543)
      2. hudson.model.AbstractBuild.getModuleRoots(AbstractBuild.java:292)
      2 frames
    5. hudson.plugins.cobertura
      CoberturaPublisher.perform
      1. hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:247)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:705)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:680)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:658)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:627)
      7. hudson.model.Run.run(Run.java:1459)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:239)
      10 frames