on 10-03-2011 10:15 AM
Hello experts,
I am getting the following trace in ADOBE PDF forms.
Untill 5000 records i dont hav any problem.
After that I get this error.
Exception Stack Trace:
System properties:
Username: qjaadm
Java Vendor: IBM Corporation 1.4.2
System locale: en_US
OS: AIX ppc64 version: 5.3
Number of processors on this server: 14
Free allocated memory: 776,486,952 bytes
Total memory currently allocated to the JVM: 2,147,483,648 bytes
Max heap size: 2,147,483,648 bytes
com.adobe.ProcessingException: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException: A problem was encountered with the results: RenderResult array is null.
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.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:62)
at java.lang.reflect.Method.invoke(Method.java:391)
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:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException: A problem was encountered with the results: RenderResult array is null.
at com.adobe.ads.operation.Render.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
... 29 more
Caused by: com.adobe.ProcessingException: com.adobe.ads.exception.TransientException: A problem was encountered with the results: RenderResult array is null.
at com.adobe.ads.operation.Render.renderWithoutCache(Unknown Source)
... 31 more
Caused by: com.adobe.ads.exception.TransientException: A problem was encountered with the results: RenderResult array is null.
at com.adobe.ads.operation.support.RemoteRenderer.processRetry(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAllRemote(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown Source)
... 32 more
Caused by: com.adobe.document.xmlform.RenderException: IDL:com/adobe/document/xmlform/RenderException:1.0
at com.adobe.document.xmlform.RenderExceptionHelper.read(Unknown Source)
at com.adobe.document.xmlform._FormFactoryStub.renderAll(Unknown Source)
... 35 more
End trace, total elapsed time = 198344 ms.
Please help
There are a couple of possibilities:
The first is that it's too much data for the form to handle.
The other is that whatever record you're processing - 5001, has an issue with its data. I'm thinking this is your problem. Try running the output for this record only to see if it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Robert,
Thanks again.
How is this possible.
Should we call pdf multiple times?
Or you have some other idea.
Thanks,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robert,
Thanks.
I tried as you said.
But i get only the first set of records.
Example i kept counter and when it reach more than 100 i am calling the form.
But i get only the first 100 printed.
My code:
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = g_r_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
TRY.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = g_f_form
IMPORTING
e_funcname = g_f_function.
CATCH cx_fp_api_repository INTO g_f_cx_fp_api_repository.
MESSAGE g_f_cx_fp_api_repository TYPE 'E'.
CATCH cx_fp_api_internal INTO g_f_cx_fp_api_internal.
MESSAGE g_f_cx_fp_api_internal TYPE 'E'.
CATCH cx_fp_api_usage INTO g_f_cx_fp_api_usage.
MESSAGE g_f_cx_fp_api_usage TYPE 'E'.
CATCH cx_root INTO g_f_w_cx_root.
MESSAGE g_f_w_cx_root TYPE 'E'.
ENDTRY.
CALL FUNCTION 'FP_GET_LAST_ADS_TRACE'
IMPORTING
E_ADSTRACE =
.
g_r_docparams-langu = 'E'.
g_r_docparams-country = 'RU'.
g_r_docparams-fillable = space.
IF NOT g_f_function IS INITIAL.
REFRESH:g_t_inv3_1.
CLEAR:g_r_inv3,l_f_count..
g_T_inv3_1[] = g_T_inv3[].
LOOP AT g_t_inv3 INTO g_r_inv3.
l_f_count = l_f_count + 1.
APPEND g_r_inv3 TO g_t_inv3_1.
CLEAR:g_r_inv3.
IF l_f_count > 100.
CALL FUNCTION g_f_function
EXPORTING
/1bcdwb/docparams = g_r_docparams
g_r_y16m_inv3_text = g_r_y16m_inv3_text
g_t_inv3 = g_t_inv3_1
g_r_y16m_inv3_hd = g_r_y16m_inv3_hd
is_repeat = 'X'
is_text = txt_invoice
is_vbdpr = it_invoice
IMPORTING
/1bcdwb/formoutput = g_r_formoutput
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
IF sy-subrc <> 0.
CLEAR:l_errstr.
CALL FUNCTION 'FP_GET_LAST_ADS_ERRSTR'
IMPORTING
e_adserrstr = l_errstr.
DATA:l_f_adstrace TYPE string ,
lt_trace TYPE string_table.
*
CALL FUNCTION 'FP_GET_LAST_ADS_TRACE'
IMPORTING
e_adstrace = l_f_adstrace.
*
SPLIT l_f_adstrace AT cl_abap_char_utilities=>newline INTO TABLE lt_trace.
EDITOR-CALL FOR lt_trace.
ENDIF.
refresh:g_T_inv3_1.
Clear:l_F_count.
ENDIF.
EXIT.
ENDLOOP.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Please suggest .
Hello Robert,
Thanks for the reply.
1. Data is not a problem, I checked in detail
2. More data is problem in this case.
How to solve that
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.