Retaining labels on JPanel as text while generating PDF

Hi,
Our application is having a JLayeredPane on which user can create multiple components, draw arrows,text,etc. In short it is like bitmap. On this JLayeredPane, we can create tables and have some data into it. When the user generates PDF this data must get copied, to excel sheet or notepad for further analysis. Now the problem is that whenever we try to generate PDF with the image of panel as I am able to get BufferedImage of the entire JLayeredPanel, we are not able to fetch data from tables as this is the image getting inserted into PDF. So can any one suggest me about how to proceed?
Thanks.

Hi Jo,
The first version for which the Template Builder was released is 5.0
Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
Hope that helps,
Klaus

Similar Messages

  • "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

  • 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 in portal but not in WAD

    Hi,
    When I execute the command to export to pdf, I have a screen to fill settings of my pdf, then I valid my choice and I have this message : "Error while generating PDF" in my portal.
    However, when I want to execute on Web Application Designer and click on my command "export to pdf", I have a same screen and I can open or save my document.
    Is someone have an idea : why it is possible to generate my pdf on WAD but not in my portal ??
    Any information is much appreciated !
    Thanks in advance
    V.K.

    Hi Pradnya,
    Thanks for your answer. However it is for an old version of SAP NetWeaver..
    I work with SAP BI 7.0 version.
    Regards,
    V.K.

  • 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

  • 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

  • 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.

  • Error while generating PDF in BI Portal

    <body lang=EN-GB style='tab-interval:36.0pt'>
    <p class=MsoNormal>Since 2 days ago we have on our productive BI Portal an
    error and we <span class=SpellE>can`t</span> find a solution to it. When we try
    to preview any report we get the <span class=SpellE>folowing</span> error: <span
    class=GramE>&quot; Error</span> while generating PDF&quot;. On development <span
    class=GramE>an</span> test is working perfectly but on productive it gets that
    error. We <span class=SpellE>don`t</span> know what happened so please help
    us.&gt;<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal>In the log file we receive this message: A message was generated:<o:p></o:p></p>
    <p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
    <p class=MsoNormal>ERROR<o:p></o:p></p>
    <p class=MsoNormal>Error while generating PDF<o:p></o:p></p>
    <p class=MsoNormal>com.sap.ip.bi.webapplications.pageexport.PageExportRenderingRootNode
    PageExportRenderingRootNode_0001<o:p></o:p></p>
    <p class=MsoNormal>Log ID: 001A64E8E1620067000000A8001E50BA00048279748984FA<o:p></o:p></p>
    <p class=MsoNormal>Initial cause<o:p></o:p></p>
    <p class=MsoNormal>Message: Service call exception; nested exception is: <o:p></o:p></p>
    <p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal>Stack trace: <span class=SpellE>java.rmi.RemoteException</span>:
    Service call exception; nested exception is: <o:p></o:p></p>
    <p class=MsoNormal>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:84)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)<o:p></o:p></p>
    <p class=MsoNormal>Caused by:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException:
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:&quot;http://xxx:50000/AdobeDocumentServices/Config?style=document"<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span>
    com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:986)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span>
    com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1438)<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
    <p class=MsoNormal>... 57 more<o:p></o:p></p>
    <p class=MsoNormal>{<span class=GramE>code</span>} <o:p></o:p></p>
    <p class=MsoNormal>----
    <o:p></o:p></p>
    <p class=MsoNormal>Message: Unknown Error<o:p></o:p></p>
    <p class=MsoNormal>Stack trace: <span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>:
    Unknown Error<o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.ip.bi.export.xfa.impl.Document.writeWidthsAsXmlToStream</span>(Document.java:339<o:p></o:p></p>
    <p class=MsoNormal>----
    <o:p></o:p></p>
    <p class=MsoNormal><span class=GramE>at</span> <span class=SpellE>com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData</span>(ConfigBindingStub.java:77)<o:p></o:p></p>
    <p class=MsoNormal>... 57 more<o:p></o:p></p>
    <p class=MsoNormal><o:p> </o:p></p>
    <p class=MsoNormal><span class=SpellE>com.sap.ip.bi.base.exception.BIBaseRuntimeException</span>
    UNKNOWN_ERROR<o:p></o:p></p>
    I only cutted the right messages Does anybody have some idea? Where i am unathorized? What shell i do?
    Thanks in advance
    Patrick
    </div>
    </body>

    check if you have adobe document services installed properly. ASk your portal admin team to check these messages,

  • "error while generating PDF" in WAD

    Hi All,
    I created Web Template BI7. In the requirement I have to export the report in PDF. I used Button group. When I have run the template and click to the PDF switch I am getting the export dialog after I click to 'ok' I am getting the error “error while generating PDF". Please help me how to resolve this error. I am in between the development.
    Thanks in Advance
    Ravi

    Hi Ravi,
           First make sure you on the latest patch level for the service pack. Forward the error to the Basis team and ask them to look into the logs. We had a same problem and doing the above 2 steps fixed it.
    Thanks,
    Ram.

  • Custom Purchase Order template causes Error while generating PDF

    The standard XSLFO works, my custom one errors:
    History of the world:
    1) I downloaded the XML Publisher thing for Word, installed it no problems
    2) Downloaded the XML data definition for the Standard Purchase Order from XML Publisher Administrator
    3) Created a blank word document and created the purchase order layout from scratch using the XML Publisher plug-in
    4) Previewed it as a PDF in word - it looked fine (well, it was a start)
    5) Exported the XSLFO
    6) In XML Publisher created a new template and uploaded the XSLFO
    7) Assigned the new template to the document in Purchasing
    All good... the new template is defintately the one being used by the PO Output for Communication program. The problem of course is that it throws a useless error message :) - namely:
    PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
    PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
    PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
    genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
    java.lang.Exception: Error while generating PDF :null
         at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2011)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:421)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    When I run POXPOPDF in Debug I get:
    getArchiveOn(): APPROVE
    After calling genDocThu May 18 12:50:05 EST 2006
    Adding the blob to vector
    java.lang.NullPointerException
    java.lang.NullPointerException
         at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
         at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:304)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    I know no one can magically fix this for me (I wish!) but does anyone have any suggestions on what to do next? I have no conditional formatting or any other more complex functionality, just a really boring PO layout with a logo.
    Any suggestions welcome, in the meantime I will keep trawling through Metalink in search of a clue ;)
    Thanks
    Jo

    Hi Jo,
    The first version for which the Template Builder was released is 5.0
    Well, I guess I am one of the few who has a backported 4.5 version of the template builder. I did that for testing exactly your case. I just replaced our xdocore.jar file with the 4.5 version and it worked. The core.jar is not easily available. The files are part of the 4.5 patch, but I think it is too much work to get them out.
    However, I would strongly recommend to upgrade to a later version of XML Publisher. We made huge improvements, since 4.5 - performance, translation, RTF template capabilities....
    I just checked the process of converting an RTF template to FO and uploading it to EBS with 5.6.2 and it still worked. So it seems you can go straight to the latest version.
    Hope that helps,
    Klaus

  • Error occurred while generating PDF. Reason: ERROR_PDF_CONVERSION

    I get an error generating my PDF whenever someone's name has a special character's in their name such as accents and diacritics.
    Is this a bug or how do I properly set the charset for the <cfhtmltopdf> tag. I didn't have this issue with Coldfusion 9 and cfdocument. Any help in this regard would be much appreciated.
    version: Coldfusion 11 Update 3 on Windows Server 2008 R2 on IIS 7.5
    SEE STACK TRACE BELOW
    coldfusion.document.webkit.PDFgErrorHandler$ServiceManagerConversionException: Error occurred while generating PDF. at coldfusion.document.webkit.PDFgErrorHandler.handleConversionError(PDFgErrorHandler.java:1 88) at coldfusion.document.webkit.HttpPDFRequestHandler.requestPDFGeneration(HttpPDFRequestHandl er.java:113) at coldfusion.tagext.lang.HtmlToPdfTag.processPDFgRequest(HtmlToPdfTag.java:1331) at coldfusion.tagext.lang.HtmlToPdfTag.handlePDFgConversionRequest(HtmlToPdfTag.java:1466) at coldfusion.tagext.lang.HtmlToPdfTag.convertToPDF(HtmlToPdfTag.java:1413) at coldfusion.tagext.lang.HtmlToPdfTag.doEndTag(HtmlToPdfTag.java:1551) at cfcfhtmltopdf_createPDF2ecfm2090701148.runPage(c:\inetpub\wwwroot\myapp.com\includes\docs \cfhtmltopdf_createPDF.cfm:25) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:246) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:736) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:572) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2986) at cfmethods2ecfm1148258034$funcSAVEPROXY.runFunction(c:\inetpub\wwwroot\myapp.com\cfc\docs\ methods.cfm:472) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:420) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2424) at cfmethods2ecfm1658643382$funcPROCESSSTEP.runFunction(c:\inetpub\wwwroot\myapp.com\cfc\mem berResults\methods.cfm:377) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:487) at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:383) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:334) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:533) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:648) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:457) at coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:251) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:480) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:42) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:142) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:58) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:156) at coldfusion.xml.rpc.CFCServlet.doPost(CFCServlet.java:348) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422) at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:199) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Unknown Source)

    Does anyone have any suggestions?
    I've tried:
    adding charset meta tags to the top of my outputted HTML contents that comprise the PDF
    I've tried adding the <cfprocessingdirective pageencoding="utf-8" /> but doesn't seem to help.
    #encodeForHTML(pdfHTMLVariable)# and even just tried encoding the individual variables that contained the special characters but that didn't seem to help anything as encoding them still won't work I'm assuming if the Charset is mis-matched.
    Does the <cfprocessingdirective pageencoding="utf-8"> just have to be within the CFC method or does it need to be within the <cfhtmltopdf> tag?
    Any input or things to try would be much appreciated as this is a regression for our app.
    **As a side note: I would still just use CFDOCUMENT, but there was a different issue where the images were outputting a RED X where the image is supposed to be. Which from what I have been able to uncover has something to do with the server certificate not being trusted or something. However, our SSL provider is listed in the ROOT Certificate Authorities so not sure what's going on with that. Those images were being output with cfimage action of writeToBrowser .
    I'd really like to fix the encoding issue does this have anything to do with language packs or missing languages of that sort? My app displays the page just fine when the UTF-8 charset meta tag is set.

  • An error that "error while generating pdf".

    Hi gurus,
    when i am trying to generate a pdf from phap_admin (appraisal document ) i am getting an error that "error while generating pdf".
    the dump in st22 is
    ERROR ANALYSIS:
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_SEND_DYNPRO_NO_RECEIVER', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    During background processing, the system attempted to send a
    screen to a user.
    Current screen: " " " ".
    SOURCE CODE:
    screen to enter order-number ***************************************
        IF w_suppress_dialog EQ space.
    set popup to the foreground.
      CALL FUNCTION 'SAPGUI_SET_PROPERTY'
         DESTINATION 'SAPGUI'
        EXPORTING
         property = 'ACTIVATE'
         value    = 'X'
        EXCEPTIONS
         OTHERS   = 1.
          CALL SCREEN 300 STARTING AT  lv_start_column  lv_start_row.
    >>>>    ELSE.
        process the same forms which are processed on screen 0300.
        ATTENTION: Whenever functionality of screen 0300 is extended,
        make sure that necessary calls are also made here!
          PERFORM d0300_read_data.
          PERFORM d0300_comline.
        ENDIF.
        CASE  w_next_action.
          WHEN 'ATTR'.
            PERFORM show_object_attributes     USING wt_e071[].
    CAN ANY ONE HELP TO SOLVE THIS???

    Hi,
    the dump says:
    CALL SCREEN 300 STARTING AT lv_start_column lv_start_row.
    >>>> ELSE.
    This means, the raise of the exception comes from the command before ELSE and this is CALL SCREEN.
    CALL SCREEN is only reachable. if w_suppress_dialog is SPACE. It can't be 'X'.
    You have to find a way to set it to 'X'.
    Regards,
    Klaus

  • Finder crashes while generating PDFs in preview

    Hi guys,
    i've got a little problem.
    Everytime i browse with the finder to PDFs it chrashes, while generating PDFs in preview.
    Also it takes ages to generate the preview for a PDFs with about 1MB.
    any hints and tipps about that problem ?
    thanks in advance.
    cheers

    Hello sponger:
    If no one posts a fix for you, I would consider an archive and install (NOT an erase and install):
    http://docs.info.apple.com/article.html?artnum=107120
    Be sure you have a good backup/retreat strategy before you proceed. In my case, I make bootable clones of my iMacs on an external firewire drive using a little program called SuperDuper (www.shirt-pocket.com).
    Barry

  • Error while generating pdf     in BI

    Hi,
        When i'm printing a report through my Bex Analysis ,i come with an error saying that  error while generating the pdf    .plz help me
    java.lang.exception:incorect content type found "text/html"

    Try checking the config document <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm"> here</a> and see if that doesn't help you.
    Cheers,
    Andrew

Maybe you are looking for

  • Transaction commit in database adapter

    Hi, When the commit happens when a database adapter inserts a record. I have two invoke process one is db adapter to insert records and second the db adapter to call the procedure to update the records inserted by first adapter, but will the records

  • Cannot Open Attachments within a pdf document

    Dear Staff, In my windows 7 netbook I can open files attached to  PDF documents is there a reason why I cannot open these files within windows 8.1 RT with the adobe Reader Touch? is there any setting to adjust to have this function active or Adobe Re

  • Problem with gateway 10i

    I installed gateway 10i, I need to comunicate betwen oracle 9i and sqlserver2003. I

  • Some web pages not loading correctly!

    Prior to the last Apple security update and move to Firefox 6.0, everything worked correctly. No problems of this type since I purchased my Imac Feb.2010. Listed are some of the problems I am experiencing. Please note that a number of web sites load

  • Problem while activating an Enh. Imp.

    I met a problem. It is like that: I copied from an standard Enhancement Implementation OIC_MM06EFKO_PREISFINDUNG in the package of OIC to my own enh. imp of Z_OIC_MM06EFKO_PREISFINDUNG in my package. I have changed the code of Z_OIC.....UNG. And I ca