tracker issue : CF-4060898

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

[ANeff] Bug for: cfpdfform() throws java.lang.NullPointerException on richtext fields

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 09/21/2015

Components: Document Management

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Win XP All

Vote Count: 1

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on May 17, 2018 using build 2016.0.01.298513
Bug for: cfpdfform() throws java.lang.NullPointerException on richtext fields

Repro:

1) Download attached MyPDFWithRichTextField.pdf
2) Run cfpdfform(action="read", source=expandPath("./MyPDFWithRichTextField.pdf"), result="myVar");

Actual result: result="myVar" causes java.lang.NullPointerException

Expected result: result="myVar" should not cause java.lang.NullPointerException

3) Run this:

<cfscript>	
  cfpdfform(action="read", source=expandPath("./MyPDFWithRichTextField.pdf"), xmlData="myXML");
  fileWrite(expandPath("./myXML.xml"), myXML);
  cfpdfform(action="populate", source=expandPath("./MyPDFWithRichTextField.pdf"), destination=expandPath("./MyPDFWithRichTextFieldPopulated.pdf"), overwrite=true, overwritedata=true, xmldata=expandPath("./myXML.xml"));
</cfscript>

Actual result: java.lang.NullPointerException

Expected result: no exception

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

Watson Bug ID:	4060898

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email:  
External Test Config: Verified in CF11 Update 5 (build 11,0,05,293506)

Attachments:

  1. September 22, 2015 00:00:00: 1_MyPDFWithRichTextField.pdf

Comments:

iText library's newest versions support xml population of pdf forms with rich text fields, this should also be updated in CF
Vote by External U.
5781 | September 22, 2015 04:53:33 PM GMT
Hi Adobe, I see this is Closed/Fixed. Will the fix be included in a CF11 update? Thanks!, -Aaron
Comment by External U.
5780 | December 05, 2015 04:16:45 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
27843 | May 17, 2018 08:27:51 AM GMT