Hi , yes we have both the build steps in the build. 1) review parameter 2) notify reviewboard
one more point when i am trying build with jenkins cli with patch parameter as a plugin (patch file as a parameter) i am getting below eror: Applying a patch <http://jenkins.engba.symantec.com:8080/job/AMF/platform=vcsbuild-sol210_sparc/261/parameters/parameter/patch.diff/jenkins5754985464578394303parameter> FATAL: remote file operation failed: /jenkins/.../.../patch.diff at hudson.remoting.Channel@2d437a6d:vcsbuild-sol210_sparchudson.util.IOException2 <http://stacktrace.jenkins-ci.org/search?query=hudson.util.IOException2>: remote file operation failed: /jenkins/.../.../patch.diff at hudson.remoting.Channel@2d437a6d:vcsbuild-sol210_sparc at hudson.FilePath.act(FilePath.java:902) <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> at hudson.FilePath.act(FilePath.java:879) <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath.act&entity=method> at org.jenkinsci.plugins.patch.PatchParameterValue$1.setUp(PatchParameterValue.java:51) <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.patch.PatchParameterValue$1.setUp&entity=method> at hudson.model.Build$BuildExecution.doRun(Build.java:154) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Build$BuildExecution.doRun&entity=method> at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:586) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.run&entity=method> at hudson.model.Run.execute(Run.java:1593) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> at hudson.matrix.MatrixRun.run(MatrixRun.java:146) <http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixRun.run&entity=method> at hudson.model.ResourceController.execute(ResourceController.java:88) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> at hudson.model.Executor.run(Executor.java:247) <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> Caused by: java.io.IOException <http://stacktrace.jenkins-ci.org/search?query=java.io.IOException>: Failed to patch /jenkins/.../.../patch.diff at org.jenkinsci.plugins.patch.ApplyTask.invoke(ApplyTask.java:26) <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.patch.ApplyTask.invoke&entity=method> at org.jenkinsci.plugins.patch.ApplyTask.invoke(ApplyTask.java:19) <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.patch.ApplyTask.invoke&entity=method> at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2415) <http://stacktrace.jenkins-ci.org/search/?query=hudson.FilePath$FileCallableWrapper.call&entity=method> at hudson.remoting.UserRequest.perform(UserRequest.java:118) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method> at hudson.remoting.UserRequest.perform(UserRequest.java:48) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.UserRequest.perform&entity=method> at hudson.remoting.Request$2.run(Request.java:326) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Request$2.run&entity=method> at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) <http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.InterceptingExecutorService$1.call&entity=method> at java.util.concurrent.FutureTask.run(FutureTask.java:262) <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.FutureTask.run&entity=method> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor.runWorker&entity=method> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) <http://stacktrace.jenkins-ci.org/search/?query=java.util.concurrent.ThreadPoolExecutor$Worker.run&entity=method> at java.lang.Thread.run(Thread.java:744) <http://stacktrace.jenkins-ci.org/search/?query=java.lang.Thread.run&entity=method> Caused by: java.lang.IndexOutOfBoundsException <http://stacktrace.jenkins-ci.org/search?query=java.lang.IndexOutOfBoundsException>: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(ArrayList.java:635) <http://stacktrace.jenkins-ci.org/search/?query=java.util.ArrayList.rangeCheck&entity=method> at java.util.ArrayList.get(ArrayList.java:411) <http://stacktrace.jenkins-ci.org/search/?query=java.util.ArrayList.get&entity=method> at com.cloudbees.diff.ContextualPatch.applyHunk(ContextualPatch.java:260) <http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.diff.ContextualPatch.applyHunk&entity=method> at com.cloudbees.diff.ContextualPatch.findHunkIndex(ContextualPatch.java:234) <http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.diff.ContextualPatch.findHunkIndex&entity=method> at com.cloudbees.diff.ContextualPatch.applyHunk(ContextualPatch.java:227) <http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.diff.ContextualPatch.applyHunk&entity=method> at com.cloudbees.diff.ContextualPatch.applyPatch(ContextualPatch.java:155) <http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.diff.ContextualPatch.applyPatch&entity=method> at com.cloudbees.diff.ContextualPatch.patch(ContextualPatch.java:108) <http://stacktrace.jenkins-ci.org/search/?query=com.cloudbees.diff.ContextualPatch.patch&entity=method> at org.jenkinsci.plugins.patch.ApplyTask.invoke(ApplyTask.java:23) <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.patch.ApplyTask.invoke&entity=method> ... 10 more On Sunday, January 19, 2014 3:51:08 AM UTC+5:30, Yardena wrote: > > Hi Jon, > > Is it possible that you have a "notify reviewboard" step in the build, but > do not have "a review parameter"? > > HTH, > Yardena > > On Monday, January 13, 2014 12:13:51 PM UTC+2, Jon wrote: >> >> Hi while executing an jenkins cli i am getting below error: >> >> FATAL: nulljava.lang.NullPointerException >> <http://stacktrace.jenkins-ci.org/search?query=java.lang.NullPointerException> >> at >> org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier.notifyReviewboard(ReviewboardNotifier.java:71) >> >> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier.notifyReviewboard&entity=method> >> at >> org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier.access$000(ReviewboardNotifier.java:41) >> >> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier.access$000&entity=method> >> at >> org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier$1.endBuild(ReviewboardNotifier.java:62) >> >> <http://stacktrace.jenkins-ci.org/search/?query=org.jenkinsci.plugins.jenkinsreviewbot.ReviewboardNotifier$1.endBuild&entity=method> >> at >> hudson.matrix.MatrixBuild$MatrixBuildExecution.post2(MatrixBuild.java:403) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixBuild$MatrixBuildExecution.post2&entity=method> >> at >> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) >> >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.AbstractBuild$AbstractBuildExecution.post&entity=method> >> at hudson.model.Run.execute(Run.java:1618) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Run.execute&entity=method> >> at hudson.matrix.MatrixBuild.run(MatrixBuild.java:304) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.matrix.MatrixBuild.run&entity=method> >> at hudson.model.ResourceController.execute(ResourceController.java:88) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.ResourceController.execute&entity=method> >> at hudson.model.Executor.run(Executor.java:247) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.Executor.run&entity=method> >> at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) >> <http://stacktrace.jenkins-ci.org/search/?query=hudson.model.OneOffExecutor.run&entity=method> >> >> >> Can anybody faced the same issue? >> >> >> Thanks in advance. >> >> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
