Error while printing (PDF) large BI reports

Hello,
We use ADS to print our BI reports from the portal. For small reports (10-20 pages) this works fine, but for very large ones (>100 pages) we get the error "Error while generating PDF" on the screen (after a considerable amount of time). In the defaulttrace, I can see this error:
Exception thrown: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 261430 msec
com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 261430 msec
     at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
     at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
     at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
     at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
     at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
     at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
I've checked the timeout settings for IRJ services (500 seconds) and the timeout settings for web service clients (900 seconds). This should not be the problem.
Does anybody have a suggestion as to how to solve this?
Kind regards, Wilbert

Some additional information:
In the defaulttrace, I can see this:
Service XMLFormService: Native process (PID=15892) E:\usr\sap\PEP\JC00\j2ee\os_libs\adssap\XMLFormService\bin\XMLForm.exe terminated abnormally with error code 128
Processing exception during a "Render" operation.
Request start time: Fri Mar 06 10:11:55 CET 2009
com.adobe.ProcessingException: XMLFM Exception during render: org.omg.CORBA.COMM_FAILURE
Exception while connecting to <SERVER-IP>:3533
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method

Similar Messages

  • Getting error while printing PDF from ABAP Report

    hi everyone,
    I am trying to print PDF form from a report. But the output i get is an error msg on the Paper
    ERROR: limitcheck
    OFFENDING COMMAND: PDF Parser: Damaged PDF file, failed reading trailer STACK:
    thanks.

    Some additional information:
    In the defaulttrace, I can see this:
    Service XMLFormService: Native process (PID=15892) E:\usr\sap\PEP\JC00\j2ee\os_libs\adssap\XMLFormService\bin\XMLForm.exe terminated abnormally with error code 128
    Processing exception during a "Render" operation.
    Request start time: Fri Mar 06 10:11:55 CET 2009
    com.adobe.ProcessingException: XMLFM Exception during render: org.omg.CORBA.COMM_FAILURE
    Exception while connecting to <SERVER-IP>:3533
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method

  • Error while generating PDF BI 7 Report Designer

    Hi,
    I am getting this error Error while generating PDF when i tried print version on report designer,
    I tried to find information on this error but there was no information regarding this , so posted here.
    Please let me know if you have any suggestions.
    Thanks,
    Kumar

    We have restated the java server and now the issue solved.
    Kumar

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Safari Mail/Save as PDF reporting "Error while printing"

    It's only just started doing this today, after I installed the updates that came with Mavericks.
    I have been using this feature for 5 years to email receipts to clients... Please tell me that this isn't an ongoing problem!
    I hit command-P to print, then select PDF > Mail PDF. Worked absolutely fine before. Don't know what has happened to cause it to behave differently.
    Thank you!
    Rory

    I could print/save as .pdf until I did my latest software upgrade. Now I get "error while printing", and have been unable to find a solution. this is quite a problem for me, because I do a lot of research on the Web and have saved my results for years in pdf. Have you found a solution?
    Best regards,

  • Save to PDF in TextEdit - Error While Printing

    When I try to save a text file to PDF I receive the error message - "Error while printing".  This only seems to be happening to text files I open or create in TextEdit.  It works fine if I log in as a different user.  I've run repair permissions and also deleted a couple of com.apple.print plist files in my user library, but the error remains.
    Is there anything else I should try short of reinstalling TextEdit?
    Thanks in advance for any advice!
    Rick

    On OS X 10.8.2, with TextEdit, I can open or create text documents and export to PDF without any issue.
    Here are the two preference tabs and settings that work for me. You can single click on the images for a larger version.
    New Document
    Open and Save
    PDF documents on OS X are created with binary content, which is the junk you observe.

  • "Error while generating pdf" error come when clicking on "Print Version "

    Hello ,
    When we execute Query in the Portal there is a 'Print version' button.
    When you select it, it opens up print dialog and click OK
    It is supposed to send 'pdf' stream to  Web browser client on end user but it is not able to generate the pdf .
    getting ' Error while generating pdf '
    I am working on BI 7.0 .
    The same is running fine in the Q Environment .But in Production we are getting this error .
    Thanks ,
    Rahul

    Hi,
    I think this is an ADS error. This is a reason why pdf's are not working. We had the same issue.
    You can check your installation:
    Usage of SAP NetWeaver BI Diagnostics & Support Desk Tool
    SAP Note Number: [937697|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d393337363937%7d]
    Exceptions: Prerequisites for messages in the area BI Java
    SAP Note Number: [1224043 |https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31323234303433%7d]
    Solution in our case was to update the SAPADS package to 7.00 17.1
    Regards
    Andreas

  • "Save As PDF" in Safari only Results in "Error While Printing"

    Hi, first time poster. I searched through the forum and didn't find anything like my problem specifically on topic. I still Hope this isn't being redundant with anything else that has been posted.
    Problem:
    When I go to Print->Save as PDF the normal dialogue comes up without a problem. Its when I click on the save button that I an error saying "Error While Printing" pops up. Pulling up the console nets me with the following:
    5/25/08 11:36:12 AM Safari[95216] Printing failed because PMSessionEndDocumentNoDialog() returned -30871.
    And from CUPS:
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 (IPv6)
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 (IPv6)
    I [25/May/2008:11:35:06 -0700] Listening to 127.0.0.1:631 (IPv4)
    I [25/May/2008:11:35:06 -0700] Listening to /private/var/run/cupsd (Domain)
    I [25/May/2008:11:35:06 -0700] Loaded configuration file "/private/etc/cups/cupsd.conf"
    I [25/May/2008:11:35:06 -0700] Using default TempDir of /private/var/spool/cups/tmp...
    I [25/May/2008:11:35:06 -0700] Configured for up to 100 clients.
    I [25/May/2008:11:35:06 -0700] Allowing up to 100 client connections per host.
    I [25/May/2008:11:35:06 -0700] Using policy "default" as the default!
    I [25/May/2008:11:35:06 -0700] Full reload is required.
    I [25/May/2008:11:35:06 -0700] Loaded MIME database from '/private/etc/cups': 52 types, 49 filters...
    I [25/May/2008:11:35:06 -0700] Loading job cache file "/private/var/spool/cups/cache/job.cache"...
    I [25/May/2008:11:35:06 -0700] Full reload complete.
    I [25/May/2008:11:35:06 -0700] Cleaning out old temporary files in "/private/var/spool/cups/tmp"...
    I [25/May/2008:11:35:06 -0700] Listening to ::1:631 on fd 4...
    E [25/May/2008:11:35:06 -0700] Unable to bind socket for address ::1:631 - Address already in use.
    I [25/May/2008:11:35:06 -0700] Listening to 127.0.0.1:631 on fd 6...
    I [25/May/2008:11:35:06 -0700] Listening to /private/var/run/cupsd on fd 8...
    I [25/May/2008:11:35:06 -0700] Resuming new connection processing...
    *What I've Tried*
    I haven't had any luck with the solutions others have posted online (like Little Snitch being a culprit) when I've searched for either the "Save As PDF", "Error While Printing", or the console log error. I've run the printer reset function in system preferences and I've never had any printer installed on the system.
    I should note that prior to any of these problems with Safari, I installed the Firefox 3 RC1. I've since uninstalled it, because I was suspicious of it having an effect (being a little buggy as an RC). Removing it with AppCleaner hasn't changed the problem.
    Thanks all,
    -d

    I could print/save as .pdf until I did my latest software upgrade. Now I get "error while printing", and have been unable to find a solution. this is quite a problem for me, because I do a lot of research on the Web and have saved my results for years in pdf. Have you found a solution?
    Best regards,

  • PDF export from Pages fails "Print - error while printing"

    Every month I have been generating PDF versions of my invoices by using the 'export' function of Pages. This has always worked fine without any problems.
    Today (end of Feb 08), the pdf export function always fails with 'Print - error while printing". A pdf file is saved to disc but it is corrupted and unreadable. I can still export as rtfd.
    I don't see anything about this in the logs, but I do notice that there was a Pages software update to 3.0.2 earlier this month.
    Anybody know how to fix this?

    Hello
    Before re-installing, it may be useful to
    a - repair permissions with Disk Utility
    b - trash the preferences file: <bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Pages.plis t
    if it's not sufficient, try to print from an other user account.
    If it works this way, you will know that the application's files are not the wrongdoers as every account calls the same application file.
    Yvan KOENIG (from FRANCE samedi 1 mars 2008 15:33:41)

  • Error while generating PDF ( BEx Web Analyzer )

    Hi,
    Is there any limit to the number of pages we can print using ADS? We always get
    " Error while generating PDF" Error when we try to print reports with more than 500 lines.
    Thanks
    Niveda

    Great. It worked.
    Points assigned.
    Niveda

  • Error while generating PDF

    Hello Guru's,
    I have done the ADS configuration setup and checked all configuration settings.It seems everything is working fine but when i select the option  "Print Verison" ( I have executed a query using the query  designer) i am getting above error.
    FYI: Its a BI 700 system and we are at Suport pack10 level (both ABAP+Java). By the way i should let you know that it is a copy of Production.
    Here is the log:
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport1
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExport#
    Any thoughts as to what the messages above might be pointing me to?I should appreciate your help.
    Thanks,
    Ravi.

    Hello Dezso,
    I have executed the test report FP_TEST_00 and i got a form containing several lines on two pages.I have checked all the configuration checks and got the correct results as mentioned in the ADS document. But when i try to print a query using the query analyzer,i am getting that PDF error. I have no issues with my other BI 700 system.
    Ravi.

  • Error while generating PDF - in Bex Web

    Hi Experts,
    I am currently having the issue that I receive the error "Error while generating PDF" when using the "Print Version" functionality. This problem only occurrs for the Bex Web Query. I know that the ADS service is configured correctly- The webservice test is successful and other applications (Guided Procedures, MSS) also use it successfully.
    Please see below the excerpt from the default trace:
    A message was generated:
    ERROR
    Error while generating PDF
    com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode PageExportRenderingRootNode_0001
    Message: 28
    Stack trace: java.lang.ArrayIndexOutOfBoundsException: 28
    at com.sap.ip.bi.export.xfa.impl.SizeCalculator.getColumnSizes(SizeCalculator.java:178)
    at com.sap.ip.bi.export.impl.ExportController.setSizes(ExportController.java:220)
    at com.sap.ip.bi.export.impl.ExportController.calculateAndSetSizes(ExportController.java:611)
    at com.sap.ip.bi.export.impl.ExportController.doExportPrep(ExportController.java:408)
    at com.sap.ip.bi.export.impl.ExportController.convert(ExportController.java:336)
    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:58)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.createPDF(PageExportRenderingRootNode.java:453)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.doExport(PageExportRenderingRootNode.java:105)
    at com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode.processRendering(PageExportRenderingRootNode.java:252)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.buildRenderingTree(Page.java:3809)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:3867)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:3510)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:3470)
    at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2489)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:892)
    at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:813)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:456)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    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)
    If you have any idea or clue it would be greatly appreciated.
    Thanks in advance for every support,
    Jan

    Hi Jan,
    Most possible causes for encountering this issue are:
    Possible cause:
    - The ADS is installed on a plattform, that is currently not supported by SAP for ADS. Please check the avaliablity at: Product Availability Matrix
    - Mixing of different Netweaver releases (NW04 and NW04s) -> This is unfortunatelly not possibble the J2EE engine release has to match with the ABAP stack release in order connect them properly.
    - The ADS SP level does not match the J2EE engine SP level. -> Please update the software components to have the same support package level.
    Hope this helps!!
    Regards,
    Arafat

  • "Error while printing." over network

    I am trying to print from a mac mini running 10.4.11 to a printer on a macbook pro running 10.5.3. The printer is using the Laserjet 4 Gutenprint driver. When I connect the printer directly to the mac mini, everything works fine. I can use the PDF export options on the print dialog just fine. When I try to print over the network "Processing..." flashes up and I immediately get "Error while printing." I have tried resetting the print queue on both machines, (turning sharing off and on) rebooting, deleting and installing the printer on either machine multiple times. I've repaired permissions on both machines and the cups error_log gives me literally no information when that message pops up. Help!?

    I've also noticed that while the network printer is selected, I can't use the preview feature in the print dialogue, nor do the PDF features work. I get the same "Processing..." then "Error while printing." In addition, with the network printer selected, when I try to print from page 1 to 1 of a multipage document it tells me "Error: Invalid Page Range. The number is out of range. Resetting back to last known valid entry." it resets it to 1 to 1 and gives me the same error if I click print.

  • "Error while printing" error in Address Book

    When I attempt to print a list of address book contacts in Address Book.app (both as a PDF or to a printer), I receive an error message simply stating "Error while printing." I've repaired my permissions and tried deleting the preferences for Address Book. How can I fix this and print out the list?

    After discovering that my problem was more general (affecting the whole system, and not just Address Book), I looked in the Printer forum here in the discussions and referred to this one:
    http://discussions.apple.com/thread.jspa?messageID=1264657&#1264657
    I attempted to do as one user suggested and replace the 'libConverter.dylib' file. It did not work, and I returned the original 'libConverter.dylib' file to its folder. Magically, printing works now. Seems like it just needed to reset itself.

  • Application error while generating PDF form

    Hello there,
    I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
    I get this upon doing the following steps:
    1. Enter SAP R3, enter HREIC on the transaction code input.
    2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
    3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
    Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
    Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
    Thanks a lot.

    Be sure that the RFC name is "ADS" and not anything else.
    Thanks.

Maybe you are looking for