Search code examples
pdfcoldfusioncfpdfform

CFPDFForm Populate Error - java.lang.NullPointerException: Platform, Locale, and Platform Name must not be null


I've been banging my head against the wall trying to figure out the cause of the error below.

enter image description here

All I'm doing is running this very simple CFPDFFORM to populate a PDF form.

<cfset source = expandPath("Customer.pdf")>
<cfpdfform action="populate" source="#source#">
    <cfpdfformparam name="Name" value="John Doe">
    <cfpdfformparam name="Address" value="123 Test Cir">
    <cfpdfformparam name="City" value="Some City">
    <cfpdfformparam name="State" value="Some State">
    <cfpdfformparam name="Zip" value="11111">
    <cfpdfformparam name="Phone" value="123-456-7890">
</cfpdfform>

I've done a lot of searches and found very few people talking about this error. The one page that I found was ColdFusion CFPDFFORM does not populate PDF form fields. I tried the idea of going through my fonts and looking for corrupted ones. I even used a program called Fix Fonts Folder (http://fix-fonts-folder.en.softonic.com/) which was able to locate some corrupt fonts. But even then, I still get the error. So, I'm desperately looking for an answer.

Just in case, I'm running ColdFusion 10 Update 9 on Windows 7.

Thanks in advance.


Solution

  • The workaround on the reported bug solved the issue. Thanks Miguel-F

    The workaround is: "delete all fonts installed with the same date as your creative cloud 6 app installations or uninstall creative could 6"