Malformed pdf exception while printing

Product: pdftron

Product Version: 10.5.0

Malformed pdf exception while printing

We’re seeing a bunch of crashes in crashlytics for malformed pdf exception. So far we havent been able to reproduce the crash. But seems like users can open the pdf fine they just can’t print it.

Fatal Exception: java.lang.RuntimeException: Cannot print a malformed PDF file
       at android.print.PrintManager$PrintDocumentAdapterDelegate$MyHandler.handleMessage(PrintManager.java:1122)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loopOnce(Looper.java:226)
       at android.os.Looper.loop(Looper.java:313)
       at android.app.ActivityThread.main(ActivityThread.java:8762)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Thank you for posting the incident to our forum. We will provide you with an update as soon as possible.

Thank you for this information. Would you be able to send us the malformed PDF so we can further investigate? You can submit a Support Ticket with this link: Apryse

Thanks for the reply. Due to privacy issues that will be a bit tricky but we can work on getting access to them.

We look forward to your support ticket, and seeing how we can further assist.