Hi Team,
I’m reviewing GroupDocs.Viewer for one of our customers applications.
I am downloaded and using ‘com.groupdocs:viewer’ 2.9.1 jar’ viewer is working fine for .doc and .docx files, without any issues, But for PDF I am getting error please find screenshot in attachment.
Error is being thrown from 'ViewDocumentHandlerServlet.java’
writeOutput(MediaType.APPLICATION_JSON, response,
viewerHandler.viewDocumentHandler(request, response));
Please let is know how to resolve this issue.
Regards,
Shiva
Best regards
Evgen Efimov
http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+
Hi
I am working on Linux OS.
As you told we need to install windows fonts here I have installed to my Linux machine.
As this error is from “aspose” they have option to set font location as here.
How can I specify font location.
Regards,
Shiva
Best regards
Evgen Efimov
http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+
Hi,
I have done this tow steps
1) Installed true test fonts using "sudo apt-get install msttcorefonts"
2) add the fonts to Linux folders (/usr/share/fonts or /usr/local/share/fonts)
Even after doing this still we are getting same issue.
Are you sure this ‘NullPointerException’ is related to true text font?
Regards,
Shiva
Best regards
Evgen Efimov
http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+