Hello
I have a PDF which I generated with LC Forms (LC ES 8.2).
Now I am trying generate new flat PDF on Assembler service using the following DDX:
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="out.pdf">
<PDF source="cabtf1-forpdfgenerated-STATIC.pdf" />
<NoXFA/>
</PDF>
</DDX>
I tried also to use <NoForms/> tag instead of <NoXFA>, and in both cases, this particular PDF I gives the following error:
out.pdfcom.adobe.internal.pdfm.util.PageException: PDFM_S19003: Failed to find a matching SVG named color for "2"
The full stack trace is:
com.adobe.internal.ddxm.Executive.execute DDXM_N00000: Started processing result named out.pdf</msg><msg t="1.797" l="SEVERE" n="com.adobe.internal.ddxm.Executive" cpu="0.3125">com.adobe.internal.ddxm.Executive.execute DDXM_S00001: Failed to assemble result named out.pdfcom.adobe.internal.pdfm.util.PageException: PDFM_S19003: Failed to find a matching SVG named color for "2"
at com.adobe.internal.pdfm.util.PageSet.setDocument(PageSet.java:151)
at com.adobe.internal.pdfm.assembly.PageAssembler.deletePages(PageAssemb ler.java:117)
at com.adobe.internal.pdfm.assembly.DocAssembler.prepareBaseDocForAssemb ly(DocAssembler.java:339)
at com.adobe.internal.pdfm.assembly.DocAssembler.assemble(DocAssembler.j ava:161)
at com.adobe.internal.ddxm.task.pdf.AssemblePDF.execute(AssemblePDF.java :130)
at com.adobe.internal.ddxm.blueprint.BluePrint.execute(BluePrint.java:27 5)
at com.adobe.internal.ddxm.ddx.Node.execute(Node.java:373)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:270)
at com.adobe.internal.ddxm.Executive.execute(Executive.java:221)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.execute(AssemblerS erviceImpl.java:465)
at com.adobe.livecycle.assembler.AssemblerServiceImpl.invoke(AssemblerSe rviceImpl.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...
Any ideas? ... Not find the error code PDFM_S19003 how I can solve it?
Thanks.
Actually, it had nothing to do with a SVG named color. It had to do with the fact that my DDX statement
<DDX source='doc_source' pages='2-last' />
expects 2 pages and it was only supplied a 1 page document.
I had to add a couple steps at the beginning of my processing to fetch how many pages the PDF had and then determine whether to add the additional pages.
North America
Europe, Middle East and Africa
Asia Pacific