I upgraded Java to 1.8.0_144, due to the requirements of Update 5 for CF 2016 (I did not apply Update 5 yet). As a result of this upgrade cfdocument does not work. According to TS there is a known problem, when you get the same error trying to save system settings on Admin page in PDF file, but they did not hear anything about cfdocument.
Below is an error I’m getting:
An exception occurred when performing document processing.
The cause of this exception was that: coldfusion.document.spi.DocumentExportException:java.lang.ArrayIndexOutOfBoundsException: 0
It can be reproduced by simple:
My server is RHEL 7 64 bit.
I will continue to work with TS guys, just wondering if cfdocument works or does not work in similar environment for other people.
I'm using Windows w/CF2016 Developer 2016.0.05.303689 w/Java 1.8.0_144 and generating PDFs using the sample CFPDF tag works. Is this bug limited to only the Linux version?
Have there been any recent changes on the server?