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)