cfpdfdocument error

Description

lucee.runtime.exp.NativeException: java.lang.IllegalArgumentException at java.nio.Buffer.position(Buffer.java:244) at com.lowagie.text.pdf.MappedRandomAccessFile.seek(Unknown Source) at com.lowagie.text.pdf.RandomAccessFileOrArray.seek(Unknown Source) at com.lowagie.text.pdf.TrueTypeFont.getBaseFont(Unknown Source) at com.lowagie.text.pdf.TrueTypeFont.process(Unknown Source) at com.lowagie.text.pdf.TrueTypeFont.<init>(Unknown Source) at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source) at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source) at com.lowagie.text.pdf.BaseFont.createFont(Unknown Source) at org.xhtmlrenderer.pdf.ITextFontResolver.addFont(ITextFontResolver.java:204) at org.xhtmlrenderer.pdf.ITextFontResolver.addFont(ITextFontResolver.java:196) at org.xhtmlrenderer.pdf.ITextFontResolver.addFont(ITextFontResolver.java:191) at org.xhtmlrenderer.pdf.ITextFontResolver.addFont(ITextFontResolver.java:186) at org.xhtmlrenderer.pdf.ITextFontResolver.addFontDirectory(ITextFontResolver.java:179) at org.lucee.extension.pdf.xhtmlrenderer.FSPDFDocument.render(FSPDFDocument.java:70) at org.lucee.extension.pdf.tag.Document.renderInital(Document.java:717) at org.lucee.extension.pdf.tag.Document._doAfterBody(Document.java:621) at org.lucee.extension.pdf.tag.Document.doAfterBody(Document.java:573) at test.alexei_prudivus_test_pdf_cfm$cf$1g.call(/sage/test/alexei_prudivus_test_pdf.cfm:4) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:914) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818) at run_cfm$cf.call(/run.cfm:15) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:914) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:837) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:818) at common.app.app_cfm$cf.udfCall1(/common/app/app.cfm:336) at common.app.app_cfm$cf.udfCall(/common/app/app.cfm) at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106) at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344) at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:646) at lucee.runtime.ComponentImpl._call(ComponentImpl.java:568) at lucee.runtime.ComponentImpl.call(ComponentImpl.java:1898) at

Environment

 

<cfdocument format="pdf">test</cfdocument>

Attachments

1
  • 12 May 2021, 02:38 pm

Activity

Show:

Pothys - MitrahSoft 31 August 2021 at 14:44

Still, I can’t able to reproduce the issue So I close this ticket now. In future issue reproduced means I reopen this ticket.

Pothys - MitrahSoft 8 June 2021 at 13:27

Still you have an issue? Yes, means can you provide a testcase to reproduce the issue. Otherwise, shall I close this ticket?

Михаил Анцибор 13 May 2021 at 10:16

The fontdirectory attribute of <CFdocument has fixed the problem.

we are using Windows 16 with Network-attached storage for our cfm and pdf files.

Pothys - MitrahSoft 13 May 2021 at 06:50

I've checked this ticket with lucee affected version and the latest version of lucee 5.3.8.175-SNAPSHOT also. But I can't able to reproduce the issue in my local. I checked with the windows operating system. What is your operating system? Did you check with the latest pdf version 1.0.0.94?

Cannot Reproduce

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 12 May 2021 at 14:38
Updated 31 August 2021 at 14:44
Resolved 31 August 2021 at 14:44

Flag notifications