Summary
JIRA becomes inacessible after upgrading JIRA Service Desk to 3.2.0.
Environment
Steps to Reproduce
- Install JIRA 7.0.10 or 7.1.9
- Install JIRA Service Desk 3.0.10 or 3.1.9
- Upgrade JIRA to 7.2.0
- Navigate to Cog Icon > Applications > Upgrade JIRA Service Desk to 3.2.0
- Navigate to any other page in JIRA.
Expected Results
JIRA should be accessible after the upgrade.
Actual Results
JIRA becomes inacessible, showing a 500 error with the following stack trace:
Technical details
Log's referral number: 1949e8c6-a651-4a17-8ab8-d8f1b3666a10
Cause
Referer URL: http:java.lang.RuntimeException: javax.servlet.ServletException: java.lang.IllegalArgumentException: Root page 'com.atlassian.jira.gadgets:dashboard-page' does not exist!
java.lang.RuntimeException: javax.servlet.ServletException: java.lang.IllegalArgumentException: Root page 'com.atlassian.jira.gadgets:dashboard-page' does not exist!
at com.atlassian.web.servlet.plugin.DynamicAuthorizationServletForwarder.forward(DynamicAuthorizationServletForwarder.java:55) [?:?]
at com.atlassian.web.servlet.plugin.DynamicAuthorizationServletForwarder.forwardSafely(DynamicAuthorizationServletForwarder.java:83) [?:?]
at com.atlassian.web.servlet.plugin.SanitizingServletForwarder.forwardSafely(SanitizingServletForwarder.java:48) [?:?]
at com.atlassian.web.servlet.plugin.RememberingServletForwarder.forwardSafely(RememberingServletForwarder.java:75) [?:?]
at com.atlassian.web.servlet.plugin.ResolvingServletForwarder.forwardSafely(ResolvingServletForwarder.java:52) [?:?]
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.lambda$null$0(RedirectInterceptingResponse.java:43) [?:?]
at java.util.Optional.map(Optional.java:215) [?:1.8.0_77]
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.lambda$sendRedirect$1(RedirectInterceptingResponse.java:43) [?:?]
at java.util.Optional.flatMap(Optional.java:241) [?:1.8.0_77]
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingResponse.sendRedirect(RedirectInterceptingResponse.java:43) [?:?]
at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138) [servlet-api.jar:?]
at com.atlassian.core.filters.HeaderSanitisingResponseWrapper.sendRedirect(HeaderSanitisingResponseWrapper.java:85) [atlassian-core-5.0.6.jar:?]
(...)
Notes
- It doesn't look like anything breaks permanently. JIRA works fine after a restart.
- Uninstalling JSD 3.0.10 on JIRA 7.2.0 before installing JSD 3.2.0 does not make a difference.
I have included the full catalina.out from the moment JSD begun its update and the full stack trace above in the following attachments:
Workarounds
- Restart JIRA. No errors occur after that.
- When upgrading JIRA to 7.2.0, use a clean jira-home folder, without any add-ons.