Hi, we are experiencing issues when creating PDF output. We use the workflow to merge a source PDF with virtual stationary.
When we set the output preset PDF type to PDF/VT sometimes the plugin runs into an error:
ERROR: 10:00:16.429 [0152] W3001 : Error while executing plugin: HTTP/1.1 500 An unspecified error occurred which was caused by LoggedApplicationException: There was an error running the output creation process caused by ApplicationException: null (SRV000042) (SRV000001)
The source PDF looks fine. When we run the same PDF with the PDF type set to PDF or PDF/A it processes without issues.
Any ideas what could be the cause of the issue?
Dear @edries,
First of all, welcome to our OL Learn community!
Based on the provided information it is difficult to say what is causing this error. Please check what warning and/or error has been logged at the same time in one of the Weaver Engine log files. These log files can be found at the following location:
C:\Users\ <Username> \Connect\logs\Weaverengine\Weaverengine- <Date> -( <ID> ).log
Hi Marten,
Thanks for your reply.
There are indeed errors in the weaver log at the same time (from this morning):
[2024-07-02 09:24:43,109] ERROR [LazyBufferFlusher-2-WritePDF_1-converter] nl.edmond.workflow.components.writers.concurrent.LazyBufferFlusher.a(LazyBufferFlusher.java) java.lang.ArrayIndexOutOfBoundsException: Index -1378129740 out of bounds for length 25534
java.lang.ArrayIndexOutOfBoundsException: Index -1378129740 out of bounds for length 25534
Hi Marten,
I also see a warning preceding the error:
[2024-07-02 09:24:43,099] WARN [LazyBufferFlusher-1-WritePDF_1-converter] nl.edmond.workflow.displaylists.fonts.truetype.TrueTypeGlyphBuilder.buildTrueTypeGlyphs(TrueTypeGlyphBuilder.java) Bad TrueType font: its ‘maxp’ table claims it has 73 glyphs but its ‘loca’ table indexes 78 glyphs
[2024-07-02 09:24:43,100] WARN [LazyBufferFlusher-2-WritePDF_1-converter] nl.edmond.workflow.displaylists.fonts.truetype.TrueTypeGlyphBuilder.buildTrueTypeGlyphs(TrueTypeGlyphBuilder.java) Bad TrueType font: its ‘maxp’ table claims it has 73 glyphs but its ‘loca’ table indexes 78 glyphs
Does anyone else knows from the top of their head what could cause this error?
Otherwise, I would like advice you, @edries, to open a ticket via our support portal so we can take a closer look at this issue.