PDF Printing Using Apache FOP Fails With "Adobe Reader Could Not Open <filename>...." Error (String index out of range: -1)

(Doc ID 1602213.1)

Last updated on SEPTEMBER 20, 2016

Applies to:

Oracle REST Data Services - Version 2.0 and later
Oracle Application Express (formerly HTML DB) - Version 4.2.0.00 and later
Information in this document applies to any platform.
Checked for relevance on 14-Nov-2015

Symptoms

An Interactive Report has been configured to generate a PDF Report using the Apache FOP component that comes with Oracle REST Data Services (ORDS)/ APEX Listener. When the PDF file is generated, trying to open the file gives the following error.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms