Working on some legacy code that runs fine in older CF versions like 10~16, and hitting an error while trying to migrate to (Developer) CF 2021,0,15,330303 on Win 11 for a client.
The line producing the error is:
<cfreport template="#struReturn.reportGen.cfrTemplate#" query="#struReturn.reportGen.queryName#" format="PDF" filename="#struReturn.reportGen.outputFilename#">
(yes, the source cfr is there, and the line is not even called if the query is empty)
The error is:
Report compilation error. Premature end of file.
Which implies that the server cannot handle or decrypt the cfr, or parse the resulting xml internally (?).
I have tried placing the patch file hf202100-4212391.jar in the \cfusion\lib\updates\ folder - as prescribed in a
similar issue here. The jar is still there after restarting the service.
I don't know if this is relevent, but since UPDATE 15 the CF Admin keeps insisting that 6 modules are not installed: document, htmltopdf, pdf, presentation, print and report.
I can "successfully" install versions 2021.0.14.* of these individually, but attempting to install all (or update any one to version 2021.0.15.*) will throw "Not able to connect to Update Site: Connection Failure: Status code unavailable"
But after I restart the CF App service, CF Admin says that 6 modules are not installed again.
When I revert the server back to UPDATE 14, the modules no longer "remove themselves", but the Premature end of file CFREPORT error remains. So just a red herring?
FYI: We do NOT install the print or presentation modules, as the later was known to cause issues with other pdf modules.