-
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
-
[CONFSERVER-59449] PDF macro stops working after a few days
Link |
New:
This issue duplicates |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Needs Triage [ 10030 ] | New: Closed [ 6 ] |
Component/s | Original: Macros - Other Macros [ 42868 ] |
Support reference count | New: 3 |
Description |
Original:
h3. 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 h3. 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 h3. Expected Results PDF macro should be woking and preview attachment h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
New:
h3. 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 h3. 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 h3. Expected Results PDF macro should be woking and preview attachment h3. Actual Results PDF macro stops working and the below exception is thrown in the log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
Description |
Original:
h3. 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 h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
New:
h3. 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 h3. 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 h3. Expected Results PDF macro should be woking and preview attachment h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
Description |
Original:
h3. Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops working h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
New:
h3. 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 h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
Description |
Original:
h3. Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops working h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround Reboot Confluence |
New:
h3. Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops working h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround The issue seems to be resolved after rebooting Confluence |
Description |
Original:
h3. Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops working h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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+CSP-266878 | 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) {code} h3. Workaround Reboot Confluence |
New:
h3. Issue Summary
PDF macro works fine when an attachment is added to it. Though, after a few days (usually 1-2 days), it stops working h3. 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 h3. Expected Results PDF macro should be working h3. Actual Results PDF macro stops working and the below exception is thrown in the xxxxxxx.log file: {code} 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) {code} h3. Workaround Reboot Confluence |
duplicate of https://jira.atlassian.com/browse/CONFSERVER-58957