Skip to Content
0

Adobe Interactive Forms error in Webdynpro Java (blank screen after Java server upgrade)

Jan 22 at 03:16 PM

72

avatar image
Former Member

Hello Experts,

I am facing with an error in Webdynpro Java application. After a button click a new window should appear with an iFrame on it. In iFrame an AIF is defined. Last weeks Java server has been upgraded and since the upgrade AIF can not be displayed. According Basis colleagues everything is fine with system components. I have an old log about the error, please if somebody has an idea what could be the problem please help!

Thanks in advance!

Here is the log:

com.adobe.ProcessingException: com.adobe.ProcessingException: PDFInvalidDocumentException during the data merge in static interactive PDF

Exception Stack Trace:

com.adobe.ProcessingException: com.adobe.ProcessingException: PDFInvalidDocumentException during the data merge in static interactive PDF

at com.adobe.ads.request.ADSRequest.processOperations(Unknown Source)

at com.adobe.ads.request.ADSRequest.process(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

(…)

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidDocumentException: Formatting error. Error processing Rich Text XML : Beauftragungsübersicht aus dem Extranet Dienstleister

at com.adobe.internal.pdftoolkit.services.ap.TextFormatterImpl.formatAndRenderText(TextFormatterImpl.java:1109)

at com.adobe.internal.pdftoolkit.services.ap.impl.TextAppearance.formatText(TextAppearance.java:458)

at com.adobe.internal.pdftoolkit.services.ap.impl.TextAppearance.buildTextAppearance(TextAppearance.java:250)

at com.adobe.internal.pdftoolkit.services.ap.impl.FieldAppearance.generateSingleAnnotAppearance(FieldAppearance.java:356)

at com.adobe.internal.pdftoolkit.services.ap.impl.FieldAppearance.generateAnnotAppearanceForField(FieldAppearance.java:153)

at com.adobe.internal.pdftoolkit.services.ap.impl.FieldAppearance.generateFieldAppearance(FieldAppearance.java:263)

at com.adobe.internal.pdftoolkit.services.ap.AppearanceService.generateAppearances(AppearanceService.java:304)

... 93 more

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFInvalidParameterException: Error processing Rich Text XML : Beauftragungsübersicht aus dem Extranet Dienstleister

at com.adobe.internal.pdftoolkit.services.rcg.impl.RichTextHandler.processRichTextString(RichTextHandler.java:1450)

at com.adobe.internal.pdftoolkit.services.ap.TextFormatterImpl.formatAndRenderText(TextFormatterImpl.java:1053)

... 99 more

Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog.

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:785)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:369)

at com.adobe.internal.pdftoolkit.xml.XMLUtils.transformToXML(XMLUtils.java:167)

at com.adobe.internal.pdftoolkit.services.rcg.impl.RichTextHandler.processRichTextString(RichTextHandler.java:1421)

... 100 more

Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.

at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)

at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)

at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)

at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:704)

at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:773)

... 103 more

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Piotr Kaczmarek
Jan 23 at 08:05 AM
1

Hello,

It seems that after system update PDF is interactive, but not dynamic and merge operation required dynamic PDF.

Change generation parameter of the Generated Function Module to dynamic and check:
SFPDOCPARAMS-DYNAMIC
DYNAMIC = X generates a dynamic form.

More information you can find below:
http://help.sap.com/erp2005_ehp_04/helpdata/en/44/a36a5cdee42aabe10000000a1553f7/content.htm

Best Regards
Piotr

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Jan 23 at 12:25 PM
0

Hello,

Thank you for your answer. This problem happens in Webdynpro Java application, so I could only change this "Dynamic" setting in AIF template file. I tested it, but uUnfortunately the problem has not been solved. :( Do you have any other idea?


Best regards,
Tamás

Share
10 |10000 characters needed characters left characters exceeded