Posts tagged "malformed"

LiveCycle ES2: ALC-FDI-001-305: Operation aborted: Malformed input PDF or data

Issue

 When you use the FormDataIntegration Service in LiveCycle ES2 to merge XML data into a PDF file, you may encounter the following exception:

2010-03-29 14:58:31,885 ERROR [com.adobe.livecycle.formdataintegration.client.ImportFormDataException] 
ALC-FDI-001-305: Operation aborted: Malformed input PDF or data. 
2010-03-29 14:58:31,964 ERROR [com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker] 
An exception was thrown with name com.adobe.livecycle.formdataintegration.client.ImportFormDataException message: 
ALC-FDI-001-305: Operation aborted: Malformed input PDF or data. while invoking service FormDataIntegration 
and operation importData and no fault routes were found to be configured.

This exception occurs only for certain PDF files and other XML datasets cause the same error in the PDF file. However, you can use the same data XML in other PDF files without error. There are no visible problems in the PDF file, and no problems reported by Preflight.

Reason

This error occurs because of a bug in our Gibson library. Gibson doesn’t correctly handle a rich text field with an empty body element as value.

Solution

This issue has been addressed in LiveCycle ES2 SP1 and later versions.

reference: (181504595/2591446)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 7.0/10 (1 vote cast)

LiveCycle ES2: “ImportFormDataException: ALC-FDI-001-305″ importing data to a PDF

Issue

The following exception occurs when you use FormDataIntegration to merge xml data into a prerendered PDF file:

com.adobe.livecycle.formdataintegration.client.ImportFormDataException: 
ALC-FDI-001-305: Operation aborted: Malformed input PDF or data.

Reason

When a PDF form contains a rich-text enabled field with data (default or already merged), the FormDataIntegrationClient can’t import the data. This issue has been identified as a limitation in the AFML library as it presently does not support the tab-interval style attribute.

In the current LiveCycle ES2 documentation, it states that the FormDataIntegrationClient is the preferred way to import data to a PDF form:

http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/importingExportingIntro.51.2.html

Adobe Engineering confirms that the Forms service using renderPDFForm is the recommended way to import data, rather than using the FormDataIntegrationClient. Adobe plans to update the documentation to reflect this information.

Solutions

Do one of the following:

  • Place the text in rich-text fields that do not have the tab-interval style attribute.
  • Use the renderPDFForm API from Forms ES2 by setting “Generate Server Appearances” to false.

reference: (181504595/2591446)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

LiveCycle ES: ALC-FDI-001-307: Processing importData operation on source document

Issue

 If you are trying to render a form in Workspace, you may encounter the following exception in the server log:

2007-08-28 16:39:16,604 INFO [com.adobe.livecycle.formdataintegration.server.FormData]
ALC-FDI-001-307: Processing importData operation on source document 182270.
2007-08-28 16:39:16,963 ERROR [com.adobe.livecycle.formdataintegration.client.ImportFormDataException]
ALC-FDI-001-305: Operation aborted: malformed PDF or data.

exception: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service.
Please review the render orchestration for this process.

This exception can occur especially when you have created a process, dragged an XDP form from the repository in Workbench to the variables view to create a variable.  It will automatically create an xfaForm type variable, and use the Default Render service.

Reason

The Default Render service does not render XDP forms, only PDFs.

Solution

 You must change the render properties manually for the xfaForm variable and choose another render service.

reference: (1568204)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)