Details
-
Suggestion
-
Resolution: Won't Do
-
None
-
None
-
None
Description
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
When the remote issue copy is failing due to the "CertificateTooOldException when Configuring Trusted Communication", it throws an ugly error message on the browser:
Remote copy fails: Unrecognized field "errorMessages" Cause: com.atlassian.plugins.rest.module.jersey.EntityConversionException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "errorMessages" (Class com.atlassian.cpji.rest.model.ErrorBean), not marked as ignorable at [Source: org.apache.commons.httpclient.AutoCloseInputStream@61d8ecd8; line: 1, column: 19] (through reference chain: com.atlassian.cpji.rest.model.ErrorBean["errorMessages"]) Stack Trace: [hide] com.atlassian.plugins.rest.module.jersey.EntityConversionException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "errorMessages" (Class com.atlassian.cpji.rest.model.ErrorBean), not marked as ignorable at [Source: org.apache.commons.httpclient.AutoCloseInputStream@61d8ecd8; line: 1, column: 19] (through reference chain: com.atlassian.cpji.rest.model.ErrorBean["errorMessages"]) at com.atlassian.plugins.rest.module.jersey.JerseyResponse.getEntity(JerseyResponse.java:50) at com.atlassian.cpji.components.remote.AbstractJsonResponseHandler.handle(AbstractJsonResponseHandler.java:43)stack trace when remote at com.atlassian.cpji.components.remote.RemoteJiraProxy$5.handle(RemoteJiraProxy.java:176) at com.atlassian.cpji.components.remote.RemoteJiraProxy$5.handle(RemoteJiraProxy.java:163)
I would be great to improve the error message to something like "Remote copy fails: Unrecognized field "errorMessages" - don't panic"
Attachments
Issue Links
- relates to
-
JRACLOUD-32857 Improve the error thrown when issue copy fails
- Closed
- causes
-
JSP-158455 Loading...