Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7651

Clearcase plugin null value for view name when site goal is called for submodules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Hudson 1.378
      ClearCase plugin 1.3.1
      Java 1.6.0_21

      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)

            Unassigned Unassigned
            goldmartin goldmartin
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: