java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]}

Jenkins JIRA | Oleg Nenashev | 5 months ago
  1. 0

    Follow-up to INFRA-515... It does not break the stuff horribly, an approver just needs to close the issue on his own. CC [~slide_o_mix] IRC Bot log: {noformat} 1469127249641 >>>PRIVMSG #jenkins-infra :Adding a new JIRA subcomponent lib-findbugs-detectors to the JENKINS project, owned by oleg_nenashev 1469127250642 >>>PRIVMSG #jenkins-infra :New component created. URL is https://issues.jenkins-ci.org/rest/api/2/component/21673 java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]} at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:328) at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:301) at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:93) 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 org.jenkinsci.backend.ircbot.JiraHelper.wait(JiraHelper.java:78) at org.jenkinsci.backend.ircbot.IrcBotImpl.setupHosting(IrcBotImpl.java:389) at org.jenkinsci.backend.ircbot.IrcBotImpl.handleDirectCommand(IrcBotImpl.java:244) at org.jenkinsci.backend.ircbot.IrcBotImpl.onMessage(IrcBotImpl.java:92) at org.jibble.pircbot.PircBot.handleLine(PircBot.java:927) at org.jibble.pircbot.InputThread.run(InputThread.java:95) Caused by: RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]} at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:176) at com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient$2.apply(AbstractAsynchronousRestClient.java:170) at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:67) at com.atlassian.httpclient.api.ResponsePromiseMapFunction.apply(ResponsePromiseMapFunction.java:11) 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$7.run(Futures.java:1072) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146) at com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172) 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$7.run(Futures.java:1072) at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253) at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161) at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:146) at com.google.common.util.concurrent.AbstractFuture.done(AbstractFuture.java:235) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:172) 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) 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) {noformat} JIRA log: {noformat} .rest.exception.ExceptionInterceptor] Returning internal server error in response java.lang.reflect.InvocationTargetException 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 com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:192) ... 4 filtered at com.atlassian.jira.rest.exception.ExceptionInterceptor.intercept(ExceptionInterceptor.java:55) ... 1 filtered at com.atlassian.jira.rest.v2.issue.scope.RequestScopeInterceptor.intercept(RequestScopeInterceptor.java:39) ... 15 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68) ... 86 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:70) ... 16 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37) ... 77 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at com.atlassian.jira.workflow.WorkflowActionsBean.getFieldScreenForView(WorkflowActionsBean.java:55) at com.atlassian.jira.issue.fields.screen.StandardFieldScreenRendererFactory.getScreenFromAction(StandardFieldScreenRendererFactory.java:57) at com.atlassian.jira.issue.fields.screen.StandardFieldScreenRendererFactory.createFieldScreenRenderer(StandardFieldScreenRendererFactory.java:52) at com.atlassian.jira.issue.fields.screen.FieldScreenRendererFactoryImpl.getFieldScreenRenderer(FieldScreenRendererFactoryImpl.java:60) at sun.reflect.GeneratedMethodAccessor2109.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Method.java:498) at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26) at com.sun.proxy.$Proxy479.getFieldScreenRenderer(Unknown Source) ... 2 filtered at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56) at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70) at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133) at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207) at com.sun.proxy.$Proxy2308.getFieldScreenRenderer(Unknown Source) at com.atlassian.jira.rest.v2.issue.TransitionMetaFieldBeanBuilder.<init>(TransitionMetaFieldBeanBuilder.java:37) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.getValidFieldsForTransition(IssueInputParametersAssembler.java:492) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.buildForTransition(IssueInputParametersAssembler.java:235) at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeTransitionAssember(IssueInputParametersAssembler.java:125) at com.atlassian.jira.rest.v2.issue.UpdateIssueResource.transitionIssue(UpdateIssueResource.java:55) at com.atlassian.jira.rest.v2.issue.IssueResource.doTransition(IssueResource.java:279) ... 215 more {noformat}

    Jenkins JIRA | 5 months ago | Oleg Nenashev
    java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]}
  2. 0

    Getting exception with java truststore while connecting to SSL secured Jira

    Stack Overflow | 1 year ago | Marcel Höll
    java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(403), errorCollections=[]}
  3. 0

    Connect Java rest API to JIra

    Stack Overflow | 4 months ago | Peter Penzov
    java.util.concurrent.ExecutionException: RestClientException{statusCode=Optional.of(404), errorCollections=[ErrorCollection{status=404, errors={}, errorMessages=[]}]}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    net.databinder.dispatch failing with too many keep-alive connections

    Stack Overflow | 4 years ago | David Portabella
    java.util.concurrent.ExecutionException: dispatch.StatusCode: Unexpected response status: 500
  6. 0

    Throwing errors in case of data is >= 1 Mb

    GitHub | 2 months ago | ashishitmca
    com.amazonaws.AmazonClientException: Querying Amazon DynamoDB failed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.concurrent.ExecutionException

      RestClientException{statusCode=Optional.of(500), errorCollections=[ErrorCollection{status=500, errors={}, errorMessages=[Internal server error]}]}

      at com.google.common.util.concurrent.AbstractFuture$Sync.getValue()
    2. Guava
      ForwardingFuture.get
      1. com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:328)
      2. com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:301)
      3. com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:93)
      4. com.google.common.util.concurrent.ForwardingFuture.get(ForwardingFuture.java:69)
      4 frames
    3. com.atlassian.jira
      DelegatingPromise.get
      1. com.atlassian.jira.rest.client.internal.async.DelegatingPromise.get(DelegatingPromise.java:107)
      1 frame
    4. org.jenkinsci.backend
      IrcBotImpl.onMessage
      1. org.jenkinsci.backend.ircbot.JiraHelper.wait(JiraHelper.java:78)
      2. org.jenkinsci.backend.ircbot.IrcBotImpl.setupHosting(IrcBotImpl.java:389)
      3. org.jenkinsci.backend.ircbot.IrcBotImpl.handleDirectCommand(IrcBotImpl.java:244)
      4. org.jenkinsci.backend.ircbot.IrcBotImpl.onMessage(IrcBotImpl.java:92)
      4 frames
    5. org.jibble.pircbot
      InputThread.run
      1. org.jibble.pircbot.PircBot.handleLine(PircBot.java:927)
      2. org.jibble.pircbot.InputThread.run(InputThread.java:95)
      2 frames