Title:
when Application Sandbox Security is turned on, CFPDF action="processDDX" fails
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Yuliang Ruan / ()
Created: 07/17/2018
Components: Document Management, PDF manipulation
Versions: 2016
Failure Type: Crash
Found In Build/Fixed In Build: 2016.0.06.308055 C:/ColdFusion2016/cfusion/lib/updates/chf20160006.jar JRE 1.8.0_171 / V13.0
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2016
Vote Count: 0
Problem Description:
Steps to Reproduce:
in CFIDE, turn on sandbox security. enable ALL tag, function and other permissions. add read,write,delete permission for C:\ColdFusion2016\cfusion\tmpCache\tmpPdf
execute code with <cfpdf action="processDDX"> throws exception
Could not initialize class coldfusion.pdf.PDFDocOperation The specific sequence of files included or processed is: "
java.lang.NoClassDefFoundError: Could not initialize class coldfusion.pdf.PDFDocOperation
at coldfusion.tagext.lang.PDFTag.doStartTag(PDFTag.java:1539)
Actual Result:
Output stream is interrupted. coldfusion-error.log has entry
Jul 17, 2018 9:00:21 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet [jsp] threw exception
java.lang.IllegalStateException: getOutputStream() has already been called for this response
Expected Result:
Any Workarounds:
turn off sandbox security completely and restart service. completely negating the point of security
Attachments:
Comments: