-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
7.2.0
-
None
-
3
-
Severity 2 - Major
-
Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops showing previews
Steps to Reproduce
- Confluence v7.2.0
- Upload the PDF file to a page
- Preview it via an attachment - this will work
- Add a PDF macro and select this attachment - this will work as well
- Leave Confluence running for 1-2 days
- Refresh the page with PDF
Expected Results
PDF macro should be woking and preview attachment
Actual Results
PDF macro stops working and the below exception is thrown in the log file:
2020-02-08 16:01:42,050 ERROR [http-nio-6720-exec-6] [ContainerBase.[Standalone].[localhost].[/c720]] log Unhandled exception occurred whilst decorating page
-- referer: http://localhost:6720/c720/display/PDF/for | url: /c720/plugins/servlet/pptslide | traceId: 7eb5fdd967684410 | userName: admin
java.lang.NullPointerException
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
at com.benryan.components.DefaultSlideCacheManager.writeSlideToStream(DefaultSlideCacheManager.java:334)
at com.benryan.conversion.PPTSlideServlet.doGet(PPTSlideServlet.java:112)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
Workaround
The issue seems to be resolved after rebooting Confluence
- duplicates
-
CONFSERVER-58957 Preview macros for PDF and PowerPoint stops working after sometime
-
- Closed
-
duplicate of https://jira.atlassian.com/browse/CONFSERVER-58957