com.atlassian.connector.eclipse.internal.jira.core.service.JiraException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Stephan Vierkant,
  • 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}
    via by Stephan Vierkant,
  • Java rest server : make a unit test
    via Stack Overflow by BokC
    ,
    • 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

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,