Argelbargel / gitlab-branch-source-plugin

Jenkins-Plugin to create a multi-branch-project from gitlab
GNU General Public License v2.0
71 stars 44 forks source link

failed to accept merge-request #86

Closed tnijboer closed 6 years ago

tnijboer commented 6 years ago

We're having issues that new builds not being accept by gitlab.

I found this in the logs, could it be the listeners crashed?

failed to accept merge-request java.lang.NullPointerException: RESTEASY004670: value was null at org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplate(ClientWebTarget.java:138) at org.jboss.resteasy.client.jaxrs.internal.ClientWebTarget.resolveTemplate(ClientWebTarget.java:25) at org.jboss.resteasy.client.jaxrs.internal.proxy.processors.webtarget.PathParamProcessor.build(PathParamProcessor.java:23) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.createRequest(ClientInvoker.java:115) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientInvoker.invoke(ClientInvoker.java:101) at org.jboss.resteasy.client.jaxrs.internal.proxy.ClientProxy.invoke(ClientProxy.java:64) at com.dabsquared.gitlabjenkins.gitlab.api.impl.$Proxy134.acceptMergeRequest(Unknown Source) at com.dabsquared.gitlabjenkins.gitlab.api.impl.ResteasyGitLabClient.acceptMergeRequest(ResteasyGitLabClient.java:75) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$10.execute(AutodetectingGitLabClient.java:148) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$10.execute(AutodetectingGitLabClient.java:145) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.execute(AutodetectingGitLabClient.java:296) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.access$100(AutodetectingGitLabClient.java:293) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.execute(AutodetectingGitLabClient.java:289) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.acceptMergeRequest(AutodetectingGitLabClient.java:144) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$10.execute(AutodetectingGitLabClient.java:148) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$10.execute(AutodetectingGitLabClient.java:145) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.execute(AutodetectingGitLabClient.java:296) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient$GitLabOperation.access$100(AutodetectingGitLabClient.java:293) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.execute(AutodetectingGitLabClient.java:289) at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.acceptMergeRequest(AutodetectingGitLabClient.java:144) at argelbargel.jenkins.plugins.gitlab_branch_source.actions.GitLabSCMAcceptMergeRequestAction.acceptMergeRequest(GitLabSCMAcceptMergeRequestAction.java:45) at argelbargel.jenkins.plugins.gitlab_branch_source.GitLabSCMRunListener.onCompleted(GitLabSCMRunListener.java:44) at hudson.model.listeners.RunListener.fireCompleted(RunListener.java:211) at org.jenkinsci.plugins.workflow.job.WorkflowRun.finish(WorkflowRun.java:807) at org.jenkinsci.plugins.workflow.job.WorkflowRun.access$1100(WorkflowRun.java:144) at org.jenkinsci.plugins.workflow.job.WorkflowRun$GraphL.onNewHead(WorkflowRun.java:1206) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.notifyListeners(CpsFlowExecution.java:1438) at org.jenkinsci.plugins.workflow.cps.CpsThreadGroup$3.run(CpsThreadGroup.java:417) at org.jenkinsci.plugins.workflow.cps.CpsVmExecutorService$1.run(CpsVmExecutorService.java:35) at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:131) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) at jenkins.security.ImpersonatingExecutorService$1.run(ImpersonatingExecutorService.java:59) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)`

StefanKoenen commented 6 years ago

@tnijboer Please give us some more information so we are able to solve this issue. What are you trying to do (what are the settings you are using) and what is the expected result?

alexkoepke commented 6 years ago

If you updated GitLab recently this plugin does not support version 4.0 of the GitLab api. On Mon, Oct 22, 2018 at 1:04 PM Stefan notifications@github.com wrote:

@tnijboer https://github.com/tnijboer Please give us some more information so we are able to solve this issue. What are you trying to do (what are the settings you are using) and what is the expected result?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Argelbargel/gitlab-branch-source-plugin/issues/86#issuecomment-431898338, or mute the thread https://github.com/notifications/unsubscribe-auth/AEs8tZg_L-yBEHEsEJ9NfA-Ea9XhY9A7ks5unfqwgaJpZM4VQuHM .

-- Alex Koepke (513) 236-7281

tnijboer commented 6 years ago

it can be closed, already using the version of #91 and don't have the issues anymore