Title:
[ANeff] Bug for: cfpdfform() throws java.lang.NullPointerException on richtext fields
| View in TrackerStatus/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
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:
- September 22, 2015 00:00:00: 1_MyPDFWithRichTextField.pdf
Comments: