com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: Internal server error

Atlassian JIRA | Stephan Vierkant | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    It should rather throw checked exception so the API http call returns a meaningful error instead of HTTP 500. Stacktrace: {code} @4000000054f463b42f022824 2015-03-02 14:20:42,755 TP-Processor31 ERROR stephan 860x630x1 s8ex5x 188.201.208.138,131.103.26.130 /rest/api/latest/issue/15702 [jira.rest.exception.ExceptionInterceptor] Returning internal server error in response @4000000054f463b42f022ff4 java.lang.reflect.InvocationTargetException @4000000054f463b42f06622c Caused by: java.lang.NullPointerException @4000000054f463b42f06622c at com.atlassian.jira.issue.fields.rest.PriorityRestFieldOperationsHandler.getInitialValue(PriorityRestFieldOperationsHandler.java:45) @4000000054f463b42f066614 at com.atlassian.jira.issue.fields.rest.PriorityRestFieldOperationsHandler.getInitialValue(PriorityRestFieldOperationsHandler.java:20) @4000000054f463b42f0669fc at com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler.updateIssueInputParameters(AbstractFieldOperationsHandler.java:48) @4000000054f463b42f066de4 at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:470) @4000000054f463b42f06799c at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.buildForEdit(IssueInputParametersAssembler.java:221) @4000000054f463b42f067d84 at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeUpdateAssembler(IssueInputParametersAssembler.java:108) @4000000054f463b42f06816c at com.atlassian.jira.rest.v2.issue.UpdateIssueResource.editIssue(UpdateIssueResource.java:36) @4000000054f463b42f068554 at com.atlassian.jira.rest.v2.issue.IssueResource.editIssue(IssueResource.java:883) {code} Original description (raised as a bug in Atlassian Connector for Eclipse): {quote} !ENTRY com.atlassian.connector.eclipse.internal.jira.core 4 1 2015-03-02 14:28:47.687 !MESSAGE Internal server error !STACK 0 com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: Internal server error at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:770) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.updateIssue(JiraRestClientAdapter.java:722) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.updateIssue(JiraClient.java:775) at com.atlassian.connector.eclipse.internal.jira.core.JiraTaskDataHandler.postTaskData(JiraTaskDataHandler.java:1092) at org.eclipse.mylyn.internal.tasks.core.sync.SubmitTaskJob.run(SubmitTaskJob.java:101) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.atlassian.jira.rest.client.RestClientException: Internal server error at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:74) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient.update(JerseyIssueRestClient.java:223) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:725) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:1) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:735) ... 5 more Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 500 at com.sun.jersey.api.client.WebResource.voidHandle(WebResource.java:628) at com.sun.jersey.api.client.WebResource.put(WebResource.java:199) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:232) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:223) at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:60) ... 9 more {quote}

    Atlassian JIRA | 2 years ago | Stephan Vierkant
    com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: Internal server error
  2. 0

    It should rather throw checked exception so the API http call returns a meaningful error instead of HTTP 500. Stacktrace: {code} @4000000054f463b42f022824 2015-03-02 14:20:42,755 TP-Processor31 ERROR stephan 860x630x1 s8ex5x 188.201.208.138,131.103.26.130 /rest/api/latest/issue/15702 [jira.rest.exception.ExceptionInterceptor] Returning internal server error in response @4000000054f463b42f022ff4 java.lang.reflect.InvocationTargetException @4000000054f463b42f06622c Caused by: java.lang.NullPointerException @4000000054f463b42f06622c at com.atlassian.jira.issue.fields.rest.PriorityRestFieldOperationsHandler.getInitialValue(PriorityRestFieldOperationsHandler.java:45) @4000000054f463b42f066614 at com.atlassian.jira.issue.fields.rest.PriorityRestFieldOperationsHandler.getInitialValue(PriorityRestFieldOperationsHandler.java:20) @4000000054f463b42f0669fc at com.atlassian.jira.issue.fields.rest.AbstractFieldOperationsHandler.updateIssueInputParameters(AbstractFieldOperationsHandler.java:48) @4000000054f463b42f066de4 at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.finalizeIssueInputParams(IssueInputParametersAssembler.java:470) @4000000054f463b42f06799c at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler$IssueInputParametersBuilder.buildForEdit(IssueInputParametersAssembler.java:221) @4000000054f463b42f067d84 at com.atlassian.jira.rest.v2.issue.IssueInputParametersAssembler.makeUpdateAssembler(IssueInputParametersAssembler.java:108) @4000000054f463b42f06816c at com.atlassian.jira.rest.v2.issue.UpdateIssueResource.editIssue(UpdateIssueResource.java:36) @4000000054f463b42f068554 at com.atlassian.jira.rest.v2.issue.IssueResource.editIssue(IssueResource.java:883) {code} Original description (raised as a bug in Atlassian Connector for Eclipse): {quote} !ENTRY com.atlassian.connector.eclipse.internal.jira.core 4 1 2015-03-02 14:28:47.687 !MESSAGE Internal server error !STACK 0 com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: Internal server error at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:770) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.updateIssue(JiraRestClientAdapter.java:722) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.updateIssue(JiraClient.java:775) at com.atlassian.connector.eclipse.internal.jira.core.JiraTaskDataHandler.postTaskData(JiraTaskDataHandler.java:1092) at org.eclipse.mylyn.internal.tasks.core.sync.SubmitTaskJob.run(SubmitTaskJob.java:101) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: com.atlassian.jira.rest.client.RestClientException: Internal server error at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:74) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient.update(JerseyIssueRestClient.java:223) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:725) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:1) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:735) ... 5 more Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 500 at com.sun.jersey.api.client.WebResource.voidHandle(WebResource.java:628) at com.sun.jersey.api.client.WebResource.put(WebResource.java:199) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:232) at com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:223) at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:60) ... 9 more {quote}

    Atlassian JIRA | 2 years ago | Stephan Vierkant
    com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: Internal server error

    1 unregistered visitors

    Root Cause Analysis

    1. com.sun.jersey.api.client.UniformInterfaceException

      Client response status: 500

      at com.sun.jersey.api.client.WebResource.voidHandle()
    2. jersey-client
      WebResource.put
      1. com.sun.jersey.api.client.WebResource.voidHandle(WebResource.java:628)
      2. com.sun.jersey.api.client.WebResource.put(WebResource.java:199)
      2 frames
    3. com.atlassian.jira
      JerseyIssueRestClient.update
      1. com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:232)
      2. com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient$4.call(JerseyIssueRestClient.java:223)
      3. com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:60)
      4. com.atlassian.jira.rest.client.internal.jersey.JerseyIssueRestClient.update(JerseyIssueRestClient.java:223)
      4 frames
    4. com.atlassian.connector
      JiraTaskDataHandler.postTaskData
      1. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:725)
      2. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$9.call(JiraRestClientAdapter.java:1)
      3. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:735)
      4. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.updateIssue(JiraRestClientAdapter.java:722)
      5. com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.updateIssue(JiraClient.java:775)
      6. com.atlassian.connector.eclipse.internal.jira.core.JiraTaskDataHandler.postTaskData(JiraTaskDataHandler.java:1092)
      6 frames
    5. org.eclipse.mylyn
      SubmitTaskJob.run
      1. org.eclipse.mylyn.internal.tasks.core.sync.SubmitTaskJob.run(SubmitTaskJob.java:101)
      1 frame
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame