Embedded PDFS no longer work

Jeffrey Manning October 21, 2019

Good day,

 

I had updated from 6.13.1 to 7.0.3 and I'm experiencing an issue with embedded pdfs not being rendered. 

https://www.screencast.com/t/JmiwRQlCkKpY

I've tried disabling plugins to see if that could be the cause, in addition to looking for other plugins that provide the same functionality with no luck so far.

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2019

Hi Jeffrey,

Welcome to Atlassian Community! It's nice to have you.

I think you could be running into one of these bugs: 

Some things to consider:

  1. Does this occur with all PDFs, or only certain ones?
  2. Does this occur only when using the viewfile macro or also with the file preview
  3. Check your Confluence Server Logs and see what message is returned when you try to load the PDF preview?

Thank you for your help!

Regards,

Shannon

Jeffrey Manning October 30, 2019

Hi Shannon,

Thanks for the reply. To answer your questions:

1. This issue is occurring with all pdfs.

2. This issue is only occurring with the viewfile macro, The attachment can be viewed if I add a thumbnail.

3 I'm getting the following error in my log file when I open posts with PDFs embedded,

 https://www.screencast.com/t/1wRgOvok

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 1, 2019

Hi Jeffrey,

Thank you for your reply. I think you could be affected by one of these known bugs. Are you able to obtain more details regarding that error message? The snippet you sent is helpful but it appears to be lacking the error message that triggers the null pointer exception. If you look further up you should be able to get the rest of the stack trace, including the error message (marked by the word ERROR at the start.)

Regards,

Shannon

Jeffrey Manning November 1, 2019

Hey Shannon,

 

I've managed to obtain the full error message, I hope this is more helpful. 

 

https://www.screencast.com/t/llWyR3mh

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2019

Jeffrey,

Thank you for that. This shows the same error from the bug I sent you earlier which is:

There's no workaround to get the viewfile macro working, so the solution at this time is to not use the ViewFile macro to display your PDF files.

Let me know if you have any questions about that.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events