Details
-
Bug
-
Resolution: Duplicate
-
Low
Description
Summary
When selecting “Export to Word” on a page with a link to a JIRA issue from a Server instance with an application link, the process will fail and throw a 500 error.
Environment
- Confluence Cloud instance with an application link to a JIRA Server instance.
Steps to Reproduce
In a Confluence Cloud instance with an application link to a JIRA instance:
- Create a new page
- Insert a link to a JIRA issue from your JIRA instance
- Click save
- In the … menu dropdown, select Export to Word
Expected Results
The Word file downloads to the browser.
Actual Results
Depending on your browser, you will see different results:
In Chrome you will see message that says the URL could not be reached.
In Firefox, you will see "This site can’t be reached"
The below exception is thrown in the Confluence log file:
ERROR [http-bio-2010-exec-44] [[Catalina].[localhost].[/wiki].[exportword]] log Servlet.service() for servlet [exportword] in context with path [/wiki] threw exception 2016-04-06 09:37:28.570520500 java.lang.NullPointerException 2016-04-06 09:37:28.570520500 at com.atlassian.plugin.webresource.impl.http.Controller.handleNotFoundRedirectAndNotModified(Controller.java:269) 2016-04-06 09:37:28.570521500 at com.atlassian.plugin.webresource.impl.http.Controller.serveResource(Controller.java:218) 2016-04-06 09:37:28.570536500 at com.atlassian.plugin.webresource.impl.http.Controller.serveResource(Controller.java:61) 2016-04-06 09:37:28.570536500 at com.atlassian.plugin.webresource.impl.http.Router$2.apply(Router.java:49) 2016-04-06 09:37:28.570537500 at com.atlassian.plugin.webresource.impl.http.Router$2.apply(Router.java:46) 2016-04-06 09:37:28.570537500 at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.callHandler(BaseRouter.java:193) 2016-04-06 09:37:28.570546500 at com.atlassian.plugin.webresource.impl.support.http.BaseRouter.dispatch(BaseRouter.java:163) 2016-04-06 09:37:28.570546500 at com.atlassian.plugin.webresource.PluginResourceLocatorImpl.getDownloadableResource(PluginResourceLocatorImpl.java:214)
Workaround
Remove the link to the JIRA issue and try the export again.
Attachments
Issue Links
- duplicates
-
CONFSERVER-41214 Export to Word fails when the page contains JIRA Issues Macro (table) with the Priority field
- Gathering Impact
- relates to
-
CONFSERVER-41214 Export to Word fails when the page contains JIRA Issues Macro (table) with the Priority field
- Gathering Impact