Posts tagged "PDFOperationFailure"

LiveCycle ReaderExtensions: Error 400 trying to apply usage rights to a PDF

Issue

 If you are trying to apply rights to a PDF document with ReaderExtensions 7.0, you may receive the following error in the web browser:

Error 400: Applying User Rights to the document ‘SAE_V0.9Static.pdf’ failed:
‘com.adobe.document.pdf.PDFOperationFailure: com/adobe/document/pdf/PDFOperationFailure:1.0′.

and the following exception in the log file:

[26.08.05 09:21:03:361 CEST] 500fe7b1 Logger
E com.adobe.document.PDFManipulation document does not have certifying signature
[26.08.05 09:21:19:622 CEST] 50e8a7b1 Logger
E com.adobe.document.PDFManipulation an unknown exception caused the call

This error can occur on all application servers.

Reasons

1. This is due to an incompatibility when using Designer 6 to design documents to be processed with ARES 7.  This issue has also been seen using some language versions of Designer.

2. This issue could also occur if you are trying to apply rights to a password-protected PDF document, and you dont supply the password when applying the rights.

Solutions

1. If you use Designer 7 or greater then the documents can be correctly extended with LCRE 7.

2. If you supply the password for the PDF when applying the rights, the error will not occur.

reference: (1-15848413)

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

LiveCycle Forms7: importXMP() throws a PDFOperationFailure if the data contains accented characters

Issue

 If you are using the importXMP() method from the FormServer 7 API to import XMP metadata to a PDF you may receive a PDFOperationFailure exception in the log similar to the following:

[11.07.06 13:55:50:837 CEST] 16fd9246 SystemErr R omniORB: WARNING --method 'importXMP' 
on: root/req-66<16777216> raised the exception: IDL:com/adobe/document/pdf/PDFOperationFailure:1.0
[11.07.06 13:55:50:838 CEST] 31281245 SystemErr R
org.omg.CORBA.TRANSACTION_ROLLEDBACK: vmcid: 0x0 minor code: 0 completed: Maybe
[11.07.06 13:55:50:838 CEST] 31281245 SystemErr R 
atcom.ibm.ws.Transaction.JTS.TxClientInterceptor.receive_reply(TxClientInterceptor.java:213)
[11.07.06 13:55:50:838 CEST] 31281245 SystemErr R

Reason

This exception is caused by accented characters in the XMP metadata.  Removing the accented characters will allow the importXMP() to complete successfully, so there is obviously a problem with the encoding.

Solution

 You may be using the following code to generate the data:

lvFileW.write(sb.toString().getBytes());

To resolve the issue you must set the encoding to UTF-8 if there are accented characters:

lvFileW.write(sb.toString().getBytes("UTF-8"));

__________________________________
reference: (1-27943601)

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