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

unable to trigger build from JIRA

    Details

    • Similar Issues:

      Description

      Attached the Error

      SEVERE: Error while serving [https://jenkins-XXXXX.net/jenkins/jira-trigger-webhook-receiver/|https://jenkins-dev.cardinalhealth.net/jenkins/jira-trigger-webhook-receiver/]
       java.lang.reflect.InvocationTargetException
               at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:347)
               at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:52)
               at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
               at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
               at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
               at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:26)
               at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
               at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
               at org.kohsuke.stapler.MetaClass$10.dispatch(MetaClass.java:374)
               at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
               at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
               at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
               at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
               at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
               at io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:51)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at javax.servlet.FilterChain$doFilter.call(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at jenkins.metrics.impl.MetricsFilter.doFilter(MetricsFilter.java:125)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at hudson.plugins.collabnet.auth.CNFilter.doFilter(CNFilter.java:90)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:59)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:237)
               at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
               at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:88)
               at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:113)
               at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
               at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:138)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:49)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
               at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
               at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
               at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
               at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
               at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
               at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
               at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
               at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
               at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
               at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
               at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
               at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
               at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
               at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
               at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
               at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
               at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
               at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
               at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
               at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
               at java.lang.Thread.run(Thread.java:745)
       Caused by: java.util.concurrent.ExecutionException: RestClientException\{statusCode=Optional.of(400), errorCollections=[ErrorCollection\{status=400, errors=\{}, errorMessages=[The value ' Buildtest ' does not exist for the field 'project'.]}]}
               at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:289)
               at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:262)
               at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:91)
               at com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:69)
               at com.atlassian.jira.rest.client.internal.async.DelegatingPromise.get(DelegatingPromise.java:107)
               at java_util_concurrent_Future$get.call(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.jira.JrjcJiraClient.validateIssueKey(JrjcJiraClient.groovy:62)
               at com.ceilfors.jenkins.plugins.jiratrigger.jira.JiraClient$validateIssueKey.call(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger.run(JiraTrigger.groovy:42)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger$run.call(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor.scheduleBuildsInternal(JiraTriggerExecutor.groovy:79)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor.this$2$scheduleBuildsInternal(JiraTriggerExecutor.groovy)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
               at java.lang.reflect.Method.invoke(Method.java:498)
               at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210)
               at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)
               at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor.scheduleBuilds(JiraTriggerExecutor.groovy:68)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor$scheduleBuilds.callCurrent(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor.changelogCreated(JiraTriggerExecutor.groovy:51)
               at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhookListener$changelogCreated.call(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.processEvent(JiraWebhook.groovy:65)
               at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook$processEvent.callCurrent(Unknown Source)
               at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.doIndex(JiraWebhook.groovy:50)
               at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
               at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
               ... 85 more
       Caused by: RestClientException\{statusCode=Optional.of(400), errorCollections=[ErrorCollection\{status=400, errors=\{}, errorMessages=[The value ' Buildtest ' does not exist for the field 'project'.]}]}
               at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:173)
               at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:167)
               at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:48)
               at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:12)
               at com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:268)
               at com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:158)
               at com.google.common.util.concurrent.Futures$6.run(Futures.java:975)
               at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
               at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149)
               at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)
               at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:170)
               at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
               at com.atlassian.util.concurrent.Promises$Of$3.apply(Promises.java:268)
               at com.atlassian.util.concurrent.Promises$2.onSuccess(Promises.java:158)
               at com.google.common.util.concurrent.Futures$6.run(Futures.java:975)
               at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
               at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:149)
               at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)
               at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:170)
               at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
               at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:46)
               at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197)
               at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90)
               at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192)
               ... 3 more
      
       

        Attachments

          Activity

          Hide
          ceilfors Wisen Tanasa added a comment -

          Please share your Jenkins configuration. It seems like there might be a misconfiguration in your JQL Filter.

          Show
          ceilfors Wisen Tanasa added a comment - Please share your Jenkins configuration. It seems like there might be a misconfiguration in your JQL Filter.
          Hide
          ceilfors Wisen Tanasa added a comment -

          High likely caused by JQL misconfiguration. Close due to inactivity, please reopen otherwise.

          Show
          ceilfors Wisen Tanasa added a comment - High likely caused by JQL misconfiguration. Close due to inactivity, please reopen otherwise.

            People

            • Assignee:
              ceilfors Wisen Tanasa
              Reporter:
              kalaiprakash Prakash Kalaiarasu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: