com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error

Atlassian JIRA | Matt Shelton | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    After upgrading to JIRA 6.1.1, I am seeing the following WARN errors when deleting a sub-task: {code} 2013-10-18 12:36:46,073 com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4 WARN Matt_Shelton 749x738x1 1rcdgrt 10.56.24.100 /rest/subtasks-create/1.0/facility/issue/CAPD-1847 [mywork.client.reliability.DefaultReliabilityService] Failed task "{"username":"Matt_Shelton","type":"POST","json":"{\"globalId\":\"appId=4152ef42-1783-351e-b10a-415b5489000d&entity=issue&id=15500\",\"condition\":{},\"metadata\":{\"watching\":true}}","path":"/rest/mywork/1/notification/metadata"}" com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:136) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:120) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handleNormally(TrustedApplinksResponseHandler.java:46) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handle(TrustedApplinksResponseHandler.java:34) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:336) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(TrustedRequest.java:39) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(DefaultUnreliableWorker.java:119) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(DefaultUnreliableWorker.java:26) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:77) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4" java.lang.RuntimeException: com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:92) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:136) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:120) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handleNormally(TrustedApplinksResponseHandler.java:46) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handle(TrustedApplinksResponseHandler.java:34) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:336) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(TrustedRequest.java:39) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(DefaultUnreliableWorker.java:119) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(DefaultUnreliableWorker.java:26) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:77) ... 4 more {code}

    Atlassian JIRA | 3 years ago | Matt Shelton
    com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error
  2. 0

    After upgrading to JIRA 6.1.1, I am seeing the following WARN errors when deleting a sub-task: {code} 2013-10-18 12:36:46,073 com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4 WARN Matt_Shelton 749x738x1 1rcdgrt 10.56.24.100 /rest/subtasks-create/1.0/facility/issue/CAPD-1847 [mywork.client.reliability.DefaultReliabilityService] Failed task "{"username":"Matt_Shelton","type":"POST","json":"{\"globalId\":\"appId=4152ef42-1783-351e-b10a-415b5489000d&entity=issue&id=15500\",\"condition\":{},\"metadata\":{\"watching\":true}}","path":"/rest/mywork/1/notification/metadata"}" com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:136) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:120) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handleNormally(TrustedApplinksResponseHandler.java:46) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handle(TrustedApplinksResponseHandler.java:34) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:336) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(TrustedRequest.java:39) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(DefaultUnreliableWorker.java:119) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(DefaultUnreliableWorker.java:26) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:77) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "com.atlassian.mywork.client.reliability.DefaultUnreliableWorker:thread-4" java.lang.RuntimeException: com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:92) at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:136) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:120) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handleNormally(TrustedApplinksResponseHandler.java:46) at com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handle(TrustedApplinksResponseHandler.java:34) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87) at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166) at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:336) at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161) at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84) at com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(TrustedRequest.java:39) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(DefaultUnreliableWorker.java:119) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(DefaultUnreliableWorker.java:26) at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:77) ... 4 more {code}

    Atlassian JIRA | 3 years ago | Matt Shelton
    com.atlassian.sal.api.net.ResponseException: 500 - Internal Server Error

    Root Cause Analysis

    1. com.atlassian.sal.api.net.ResponseException

      500 - Internal Server Error

      at com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle()
    2. com.atlassian.mywork
      DefaultUnreliableWorker$2.handle
      1. com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:136)
      2. com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$2.handle(DefaultUnreliableWorker.java:120)
      2 frames
    3. com.atlassian.applinks
      ApplicationLinkRequestAdaptor$1.handle
      1. com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handleNormally(TrustedApplinksResponseHandler.java:46)
      2. com.atlassian.applinks.core.auth.trusted.TrustedApplinksResponseHandler.handle(TrustedApplinksResponseHandler.java:34)
      3. com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor$1.handle(ApplicationLinkRequestAdaptor.java:87)
      3 frames
    4. com.atlassian.plugins
      JerseyRequest$2.handle
      1. com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:166)
      1 frame
    5. com.atlassian.sal
      HttpClientRequest.executeAndReturn
      1. com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:336)
      1 frame
    6. com.atlassian.plugins
      JerseyRequest.executeAndReturn
      1. com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:161)
      1 frame
    7. com.atlassian.applinks
      TrustedRequest.execute
      1. com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:84)
      2. com.atlassian.applinks.core.auth.trusted.TrustedRequest.execute(TrustedRequest.java:39)
      2 frames
    8. com.atlassian.mywork
      DefaultUnreliableWorker$1$1.run
      1. com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.send(DefaultUnreliableWorker.java:119)
      2. com.atlassian.mywork.client.reliability.DefaultUnreliableWorker.access$200(DefaultUnreliableWorker.java:26)
      3. com.atlassian.mywork.client.reliability.DefaultUnreliableWorker$1$1.run(DefaultUnreliableWorker.java:77)
      3 frames
    9. com.atlassian.sal
      ThreadLocalDelegateRunnable.run
      1. com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:38)
      1 frame
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames