-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Issue - View Issue
-
None
-
1
-
3
Issue Summary
Making a Call to get the Issue details having attachments(missing/broken), should display actual error message on not generic "Internal Server Error".
Steps to Reproduce
- Have an issue with attachment missing
- Do a get call https://jira-hostrest/api/latest/issue/LIME-5359
Results in response:
{"errorMessages":["Internal server error"],"errors":{}}
Expected Results
The response should contain the actual cause
{"errorMessages":["Internal server error"],"errors":{files/attachments missing}}
Actual Results
The below exception is thrown in the atlassian.log file:
Caused by: java.lang.RuntimeException: Provider for class javax.xml.stream.XMLInputFactory cannot be created at java.xml/javax.xml.stream.FactoryFinder.findServiceProvider(FactoryFinder.java:363) ... 416 more Caused by: java.util.ServiceConfigurationError: javax.xml.stream.XMLInputFactory: Provider com.ctc.wstx.stax.WstxInputFactory not found at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:589)
Workaround
Ensure that attachments are synced and available