Skip to main content
June 1, 2009
Question

CFDUCUMENT Error CF8/Windows

  • June 1, 2009
  • 1 reply
  • 1148 views

I am recently encountering java.lang.NoSuchMethodError errors whenever I use the cfdocument tag.

For format="flashpaper", I get: The cause of this exception was that: java.lang.NoSuchMethodError: com.lowagie.text.Rectangle.width()F.

For format="pdf", I get: The cause of this exception was that: java.lang.NoSuchMethodError: com.lowagie.text.pdf.PdfContentByte.createGraphics(FFFFLcom/lowagie/text/pdf/FontMapper;)Ljava/awt/Graphics2D;

The error occurs on both the standard edition on Windows 2003 and the developer edition in Windows/XP.  Both environments have recently had MS patches applied.

Is anyone aware of a MS KB that may have caused this?  Is there a hotfix from Adobe? chf8000003.jar is the latest I have.

    This topic has been closed for replies.

    1 reply

    June 1, 2009

    Yes, the tag is correctly spelled in my code.  And, yes, my code was working back in March/09.  I also have a second development server running CF8 standard edition on Windows 2003 where the problem does not occur.  That's why I suspect a MS security patch or something.

    Participating Frequently
    August 4, 2009

    Just wondering if you ever found the solution?  We have the same issue on three CF 8 Enterprise servers.  The cause appears to be related to fonts missing from the font managment tab in CF administrator.  We also suspect Windows patches, but uninstalling the patches did not work, and other servers with the same patches installed do not have the issue.

    Thank you!

    August 4, 2009

    If memory serves me -- an that's getting more questionable -- I had

    tried to update iText.jar to a later version to address an issue I was

    having in a different application. With the new version, I was also

    having the "fonts missing" problem. So, I restored iText to the version

    that shipped with CF8, and CF was once again able to find my fonts. I

    did not remove any MS patches.