tracker issue : CF-4191999

select a category, or use search below
(searches all categories and all time range)
Title:

CFPDF - creating Portfolio packages

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Mike Collins / Mike Collins (Mike Collins)

Created: 09/22/2016

Components: Document Management

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF2016_Final / 302165

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Windows 7 64-bit

Vote Count: 0

Listed in the version 2016.0.04.302561 Issues Fixed doc
When trying to create a package using script straight from the doc I am getting an error.

Test Script
<cfhtmltopdf name="PDF1">test one</cfhtmltopdf>
<cfhtmltopdf name="PDF2">test two</cfhtmltopdf>
<cfpdf action="merge" package="yes"  
destination="C:\ColdFusion2016\cfusion\wwwroot\test_portfolio.pdf" overwrite="yes"> 
    <cfpdfparam  source="PDF1" > 
    <cfpdfparam source="PDF2">  
</cfpdf>

Error:
An error occurred during MERGE operation in the cfpdf tag.

Error: SubType is required when creating newInstance of PDFCollectionField.
 
The error occurred in C:/ColdFusion2016/cfusion/wwwroot/support/newissue.cfm: line 58
Called from C:/ColdFusion2016/cfusion/wwwroot/support/Application.cfc: line 177
Called from C:/ColdFusion2016/cfusion/wwwroot/support/newissue.cfm: line 58
Called from C:/ColdFusion2016/cfusion/wwwroot/support/Application.cfc: line 177
56 : destination="c:\ColdFusion2016\cfusion\wwwroot\test_portfolio.pdf" overwrite="yes"> 
57 :     <cfpdfparam  source="PDF1" > 
58 :     <cfpdfparam source="PDF2">  
59 : </cfpdf>
60 : 

Stack Trace:
Stack Trace
at cfnewissue2ecfm680103272.runPage(C:/ColdFusion2016/cfusion/wwwroot/support/newissue.cfm:58) at cfApplication2ecfc250814527$funcONREQUEST.runFunction(C:/ColdFusion2016/cfusion/wwwroot/support/Application.cfc:177) 
 at cfnewissue2ecfm680103272.runPage(C:/ColdFusion2016/cfusion/wwwroot/support/newissue.cfm:58) at cfApplication2ecfc250814527$funcONREQUEST.runFunction(C:/ColdFusion2016/cfusion/wwwroot/support/Application.cfc:177) 

com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidParameterException: SubType is required when creating newInstance of PDFCollectionField.
	at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.collection.PDFCollectionField.setFieldType(PDFCollectionField.java:136)
	at com.adobe.internal.pdftoolkit.pdf.interactive.navigation.collection.PDFCollectionField.newInstance(PDFCollectionField.java:89)
	at coldfusion.pdf.PDFDocHandler.setupSchema(PDFDocHandler.java:928)
	at coldfusion.pdf.PDFDocHandler.createPortfolio(PDFDocHandler.java:902)
	at coldfusion.pdf.PDFDocOperation.merge(PDFDocOperation.java:1550)
	at coldfusion.tagext.lang.PDFTag.doEndTag(PDFTag.java:1770)
	at cfnewissue2ecfm680103272.runPage(C:\ColdFusion2016\cfusion\wwwroot\newport.cfm:58)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4191999

External Customer Info:
External Company:  
External Customer Name: Mike Collins
External Customer Email:  
External Test Config:

Attachments:

Comments:

Tested with Updater 2 and I receive the same error.
Comment by External U.
1754 | September 23, 2016 11:39:30 AM GMT