Skip to Content
author's profile photo Former Member
Former Member

Regarding Submission of Interactive form to GP Server

Hi Experts

I am getting an error while submitting my interactive form to the GP server.

I am using this link for submitting the form %com.sap.caf.gp.if.PostProcessorUrl%

Valuable Suggestion will get Valuable Points.......

Error while processing document via ADS

com.sap.caf.eu.gp.base.exception.EngineException: Error while processing document via ADS

at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:849)

at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.getSessionContext(AdobePDFAdapter.java:1123)

at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:396)

at com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Wed Mar 26 10:35:05 IST 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@5e6e84 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@5e6e84

at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)

at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)

at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)

at com.adobe.ads.operation.GetData.execute(Unknown Source)

at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)

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

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

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

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

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)

at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)

at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)

... 35 more

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:413)

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.getData(PDFObject.java:311)

at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:823)

... 19 more

Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Wed Mar 26 10:35:05 IST 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@5e6e84 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@5e6e84

at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)

at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)

at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)

at com.adobe.ads.operation.GetData.execute(Unknown Source)

at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)

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

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

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

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

at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)

at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)

at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)

at SoapServlet.doPost(SoapServlet.java:51)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)

at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)

at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)

at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)

... 35 more

at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:400)

... 21 more

Regards

Chandran S

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 27, 2008 at 10:31 PM

    Hello Chandran,

    Where did you get this error from? Was it from the internet explorer window or in the runtime tab?

    Cheers,

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Oh ok..

      Have you fixed this error?

      Anyways,

      I see that the error could be in the http:// target link of the Form or the Adobe form design parameters. So check 'em.

      Also, please check the settings in the Form Queues and SLD and verify they are correct.

      Cheers,

      Mandrake

  • author's profile photo Former Member
    Former Member
    Posted on Apr 01, 2008 at 12:00 AM

    Hi Chandran,

    I had this error before. In our case it was because of the Submit format type of the Submit button. The submit format has to be XML Data (XML). We had XDP set for some time, which caused this error.

    Hope this helps,

    Florian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.