• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Low Low
    • None
    • 7.2.0
    • None

      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

      1. Confluence v7.2.0
      2. Upload the PDF file to a page
      3. Preview it via an attachment - this will work
      4. Add a PDF macro and select this attachment - this will work as well
      5. Leave Confluence running for 1-2 days
      6. 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

            [CONFSERVER-59449] PDF macro stops working after a few days

            Hassan Aftab made changes -
            Link New: This issue duplicates CONFSERVER-58957 [ CONFSERVER-58957 ]
            Hassan Aftab made changes -
            Resolution New: Duplicate [ 3 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]

            Hassan Aftab added a comment - - edited

            Hassan Aftab added a comment - - edited duplicate of https://jira.atlassian.com/browse/CONFSERVER-58957
            Jen Marfell (Inactive) made changes -
            Component/s Original: Macros - Other Macros [ 42868 ]
            Bugfix Automation Bot made changes -
            Support reference count New: 3
            Hassan Aftab made changes -
            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
            Hassan Aftab made changes -
            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
            Hassan Aftab made changes -
            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
            Hassan Aftab made changes -
            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
            Hassan Aftab made changes -
            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

              Unassigned Unassigned
              haftab Hassan Aftab
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: