Generating PDF Reports in Dynpro

I have a need to create and allow downloading reports in PDF format.  To create the PDF files I plan on using iText.
My question comes in transferring the PDF files to the client.  Is their a way in Dynpro to change the response content type and write the PDF to the response?  Or is it possible/better to write the PDF somewhere accessible through a url and forward the request to that address?
I would also like to store the PDFs anyway if possible so that if the same reports is requested multiple times it doesn't have to regenerate the report each time.  I am just not sure of what capabilities I have in Dynpro yet for accessing the ServletResponse object or the file system for storing the PDFs.

Hi Brook,
Also, refer to the following thread "Problem with PDF show"
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Re: Problem with PDF show
This will be very much useful.
Regards,
Santhosh.C

Similar Messages

  • While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra positi

    While generating reports in Oracle BI Publisher in pdf format, the generated pdf reports have hindi  इ matra displaced by one character. For example, रिपोर्ट is printed as रपेिोरट.  Word file generated of the same report have correct hindi इ  matra position and also pdf generated from this word file also contains the same.

  • How to generate PDF report in Sharepoint Office 365

    Hi,
    We are building a custom webpart using sandbox solution and would like to generate report in PDF. Anyone have a clue?
    Thanks in advance ;
    Cheers, IXI solution

    You can use SSRS reports which can be saved in any format. Refer to the following post for more information
    http://sharepoint.stackexchange.com/questions/86100/best-way-to-generate-pdf-report
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/7a1b7d4d-c55d-4621-88d2-619a1ab23448/export-sharepoint-chartsreports-to-pdf?forum=sharepointadminprevious
    Alternatively, you could also try this solution from CodePlex
    http://pdfreport.codeplex.com/
    --Cheers

  • How to generate pdf report in swing

    Hello,
    can you help me?
    i want to generate pdf report in my swing based project but i don't know about any idea of this report generating
    procedure . Please help me.

    shesh_07 wrote:
    Hello,
    can you help me?Can you help yourself? Two suggestions I have for posting to a technical forum are:
    1) Add an upper case letter to the start of each sentence. This helps the reader to scan the text quickly, looking for the important parts. It also helps to dispel the impression that the writer is just lazy.
    2) Try to do some research on your own, summarise it and state any conclusions you have reached. Ask a specific question and generally, try not to sound so pathetic.
    i want to generate pdf report ..Search for [Java PDF|http://lmgtfy.com/?q=java+pdf] *(<- link).*
    Figure how to generate a PDF report in a class used from the command line, then..
    ..in my swing based project .....wrap a GUI around that class. For details on the latter, see the [Swing tutorial|http://java.sun.com/docs/books/tutorial/uiswing/] *(<- link).*
    ..but i don't know about any idea of this report generating
    procedure . Please help me.Please help yourself.

  • Unable to generate Pdf report for crystal 9/10  in Windows 2012 (Standard) server with Times New Roman font. With same font, report getting generated in excel, text, csv format in Windows 2012.

    For Times New Roman font in Windows server 2012 R2 (Standard), crystal 9/10 report in pdf format is not getting generated. When we change the font for specific report like Arial, Calibri , Cambria then pdf report getting created.
    In Windows 2008 R2, same application worked fine to generate pdf report for TimesNewRoman font and there is no change done in the application which is being used in Windows 2012 R2 server.

    Ok, thanks for the reply. You need to contact support or a forum for the Crystal software. Third party products don't usually include Adobe technology, they have their own software. When you contact them, you may want to expand "unable to generate" to give any specific symptoms including any error messages.

  • Generate Pdf Report using OAF

    Hi,
    I need to generate Pdf Report using OAF.. I dont know how to generate Pdf reports..
    Can anyone help me to do it using OAF..
    Please tell me what steps i need to use and any jar files required for doing it...
    Thanks,
    Babu

    Hi Guys ,
    I found the classes the DocumentHelper class is found in
    oracle.apps.xdo.oa.common.DocumentHelper
    The properties class was in java.util.properties
    I compiled the code and when i run it i get the following exception
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SYSTEM-ERROR. Tokens: MESSAGE = Io exception: Got minus one from a read call; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:988)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:352)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at runregion.jspService(runregion.jsp:96)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
    I get the exception at this point in the code :
    String dataDefCode = "DTFEMP" ;
    String dataDefApp = "CIE";
    DataTemplate datatemplate = new DataTemplate(((OADBTransactionImpl)getOADBTransaction()).getAppsContext(), dataDefApp,dataDefCode );
    Thanks
    Tom...

  • How to generate PDF report directly instead of RPT report by using JRC ?

    Hi,
    Good Day !
    How to generate PDF report directly instead of RPT report by using Crystal Reports XI Release 2 Java Reporting Component (JRC) in desktop (Swing thick-client) ?
    My GUI program will generate a RPT report, then i can export to PDF file, this is ok, no problem.
    BUT
    i want it direct to generate a PDF report, not a RPT report.
    The code like below (2 java files)
    ClassA.java
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(XXX, 0);  
    ParameterFieldController paramFieldController = reportClientDoc.getDataDefController().getParameterFieldController();
    paramFieldController.setCurrentValue("", "XXX", DomainClass.getXXX());        
    new ReportViewerFrame(reportClientDoc);
    // End of ClassA.java
    // Begin ReportViewerFrame.java
    public class ReportViewerFrame extends JFrame
           //Initial window frame properties.
         private final int XPOS = 80;
         private final int YPOS = 60;
         private final int WIDTH = 760;
         private final int HEIGHT = 550;
         private ReportViewerBean reportViewer = new ReportViewerBean();     
         private ReportClientDocument reportClientDoc = new ReportClientDocument();     
         public ReportViewerFrame(ReportClientDocument reportClientDoc) throws    Exception
              //Initialize frame properties.
              this.setResizable(true);
              this.setLocation(XPOS, YPOS);
              this.setSize(WIDTH, HEIGHT);
              this.setTitle("Crystal Report Java Viewer");
              //Add GUI components to the frame including the ReportViewerBean.
              addComponents();
              //Add GUI listeners to the frame.
              addListeners();
              //Set the report that the ReportViewerBean will display.
              this.reportClientDoc = reportClientDoc;
              reportViewer.setReportSource(reportClientDoc.getReportSource());     
              reportViewer.init();
              reportViewer.start();
              //Display the frame.
              this.setVisible(true);     
    How to set the export option to PDF base on existing code ?
    Where can i download this package/jar ?
    regards

    Please find a console app that you can extend it to a JFrame app by importing the relevant swing package:
    //Crystal Java Reporting Component (JRC) imports.
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.lib.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    //Java imports.
    import java.io.*;
    public class ExportReport {
         static final String REPORT_NAME = "ExportReport.rpt";
         static final String EXPORT_FILE = "C:\\myExportedReport.pdf";
         public static void main(String[] args) {
              try {
                   //Open report.               
                   ReportClientDocument reportClientDoc = new ReportClientDocument();               
                   reportClientDoc.open(REPORT_NAME, 0);
                   //NOTE: If parameters or database login credentials are required, they need to be set before.
                   //calling the export() method of the PrintOutputController.
                   //Export report and obtain an input stream that can be written to disk.
                   //See the Java Reporting Component Developer's Guide for more information on the supported export format enumerations
                   //possible with the JRC.
                   ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)reportClientDoc.getPrintOutputController().export(ReportExportFormat.PDF);
                   //Release report.
                   reportClientDoc.close();
                   //Use the Java I/O libraries to write the exported content to the file system.
                   byte byteArray[] = new byte[byteArrayInputStream.available()];
                   //Create a new file that will contain the exported result.
                   File file = new File(EXPORT_FILE);
                   FileOutputStream fileOutputStream = new FileOutputStream(file);
                   ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
                   int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
                   byteArrayOutputStream.write(byteArray, 0, x);
                   byteArrayOutputStream.writeTo(fileOutputStream);
                   //Close streams.
                   byteArrayInputStream.close();
                   byteArrayOutputStream.close();
                   fileOutputStream.close();
                   System.out.println("Successfully exported report to " + EXPORT_FILE);
              catch(ReportSDKException ex) {
                   ex.printStackTrace();
              catch(Exception ex) {
                   ex.printStackTrace();
    As to the relevant jar(s) deployment refer to this link (Java Reporting Component Configuration):
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/JRC_SDK/jrc_java_dg_doc/doc/jrcsdk_java_dg/WorkingWithJRC2.html#1004391
    Cheers

  • Generating PDF Reports

    I have a requirement to generate PDF reports through a java application.
    Is iText the preferred solution to do this or can anyone recommend a better alternative?
    Thanks.

    You should also consider apache FOP as it uses open standards. I haven't personally used FOP or iText though so I can't comment on which is "better".
    http://xml.apache.org/fop/

  • Generating PDF Report and Mailing from APEX through DBMS_SCHEDULER job

    Hi,
    We have a requirement to generate pdf reports and mail them from our apex app through a DBMS_SCHEDULER job. The DBMS_SCHEDULER job calls a PL/SQL procedure which has the logic for calling the APEX_UTIL.GET_PRINT_DOCUMENT API (Function Signature 3) passing the application_id, the report_query_name and the report_layout_name  to generate the pdf report output. The APEX_UTIL.GET_PRINT_DOCUMENT call is returning NULL when called from the DBMS_SCHEDULER job (It doesn't throw any exception as well!). But the same procedure when called from an APEX App Page Process that is invoked on an event like a Button click, the API returns the PDF report output.
    I am also setting the APEX workspace security_group_id at the beginning of the PL/SQL procedure as follows:
    l_workspace_id := apex_util.find_security_group_id (p_workspace => 'MY_WORKSPACE');
    apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    Any idea on what might be going wrong? Any alternative ways to generate the report output in the PL/SQL procedure?
    Thanks & Regards,
    Sujesh K K

    I was able to do a workaround for this issue by rebooting the DB.
    As per ID 579281.1, this is a bug in 11.1.0.6 and we need to upgrade the version to 11.1.0.7 or apply a one -off patch.
    Thanks,
    Arun

  • How to generate pdf report and automatically save in the folder?

    Hi all,
    I want to ask, how to generate pdf report and automatically save in the folder?
    Actually, if i run pdf report and show to screen. Now do not need to show to the screen but save the pdf file in the folder.
    If anyone know, please share to me.
    Thanks and regards,
    Iwan

    Hi all,
    Thanks for the reply.
    when i run pdf report, and i got this URL to show the pdf report.
    http://190.180.55.73:7778/reports/rwservlet/getjobid3828?server=sitcnrepsvr
    Do any body know where can i get this pdf report that i have run in application server report folder ?
    Thanks and regards,
    Iwan

  • Storing oracle-reports generated pdf-report onto a blob

    Hey ppl,
    I have this requirement:
    I basically generate a report from Jdev using a remote servlet call to oracle reports, which very neatly generates the pdf document for me and stores it locally. The problem is immediately storing this onto the DB as a blob once the report is generated. I know how to store the pdf as a blob onto the DB. I know how to make the call to oracle-reports and generate my pdf. What I don't know is to sequentially first generate the local pdf report and only once that has been generated proceed to store it onto my DB.
    I want it to be done within the scope of a single request. As in, the entire process should be complete through one cycle. I don't want to keep a day end sort of procedure that inserts into the db at the end of the day.
    As soon as the report has been requested by the user, I want the pdf file(which is generated by the reports) to also be stored onto the DB.
    My problem (which i apologize has been repeated already 2wice above) is that I basically lose control once redirected through the servlet to the report call. There is no way i can instruct Jdev, from the reports side, that the pdf has been generated and now has to be stored onto the DB, as i have lost the session context by redirecting to a different servlet.
    Any help would be GREATLY appreciated.
    Cheers
    K

    Hi,
    its quite some time ago that I a looked Oracle Reports, however, I think that the event mechanism is quite complex to achieve
    I want it to be done within the scope of a single request.
    Which means that if Oracle Reports hangs, the user session follows.
    As in, the entire process should be complete through one cycle.
    Unfortunately you don't control how long reports run, which means that there is no sense in stopping the page lifecycle for this
    I don't want to keep a day end sort of procedure that inserts into the db at the end of the day.
    Fair enough, but as far as I remember there is an eventing in Reports that would allow you to have the Oracle Reports Server triggering the upload
    So I think, the architecture I would go for is:
    - user requests report
    - report generates PDF output
    - reports uploads to DB
    - reports_processing table holds user ID and reports ID plus flag to update when report is done
    - If using JSF, you could use af:poll to check frequently for the report to be finished.
    This here may help: http://www.oracle.com/technology/documentation/reports.html
    Frank

  • Exception while generating pdf report using Jasper Report

    Hi experts,
    I am using Jdeveloper : 11.1.2.0.0
    Jaspersoft iReport Designer 4.5.0
    Database is Oracle 11g
    When i try to generate a pdf report ,a pdf file with empty content is generating.
    and exception occuring is
    net.sf.jasperreports.engine.JRException: Error executing SQL statement for : TestReport
         at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:229)
         at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:731)
         at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:629)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1159)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:802)
         at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:746)
         at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
         at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
         at com.empAppln.view.EmployeeRegister.runReport(EmployeeRegister.java:153)
         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:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
         at org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener.processAction(FileDownloadActionListener.java:124)
         at oracle.adfinternal.view.faces.event.rich.FileDownloadActionListener.processAction(FileDownloadActionListener.java:77)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:814)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:179)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         at net.sf.jasperreports.engine.query.JRJdbcQueryExecuter.createDatasource(JRJdbcQueryExecuter.java:222)
         ... 62 more
    Where TestReport is the name of the report...
    How can i solve this..
    Thanks
    gtg.

    from the error what i understud means.com.empAppln.view.*EmployeeRegister*
    this table is not exits in db. so throw error like this.
    table or view does not exist.and also,
    Stop filedownload if file is empty
    Edited by: ADF 7 on Jan 26, 2012 11:17 PM

  • View Planner 3.5 - Unable to generate PDF report.

    I'm running into a problem where the run completes successfully and data is downloaded but generation of the PDF report fails.  I was able to successfully generate a PDF for a single VM local mode run but it is failing for a multi-VM local mode run.  Below is the error that I'm seeing in the log.  Any ideas?
    2015-02-19 15:26:12,307 DEBUG    Getting test averages across all VMs and all iterations for test: Multi-vm-local
    2015-02-19 15:26:12,307 INFO     Running query: SELECT max(test_id),min(test_id) from testinfo where test_name = "Multi-vm-local" and testinfo.start_time = "2015-02-19 15:12:00"
    2015-02-19 15:26:12,308 INFO     Running query: select distinct event_name,avg(event_latency) from localresults               where event_name not like "%RETRIES" and (linfo_FK= 6) group by event_name Warning: empty y range [0:0], adjusting to [-1:1] Warning: empty y range [0:0], adjusting to [-1:1]
    2015-02-19 15:26:16,385 ERROR    Error in generating the report.
    2015-02-19 15:26:16,386 ERROR    Error in generating the report: Traceback (most recent call last): 
    File "/build/mts/release/bora-2236700/performance/viewplanner/Harness/root/listener.py", line 86, in completeRunVMs 
    File "/build/mts/release/bora-2236700/performance/viewplanner/Harness/root/shared_data.py", line 1369, in generatePDFReport 
    File "/build/mts/release/bora-2236700/performance/viewplanner/Harness/root/PDFgen.py", line 1641, in Run 
    File "/build/mts/release/bora-2236700/performance/viewplanner/Harness/root/PDFgen.py", line 671, in Sec4
    UnboundLocalError: local variable 'MaxIdx' referenced before assignment
    2015-02-19 15:26:16,387 INFO     Report generation command executed.
    2015-02-19 15:26:18,751 DEBUG    Returning the current status: 1 with message Run completed with [Workload Started on 4 machines ] and [ Desktops Uploaded --> 4 (0 errors) ]

    banit,
    Thanks for the file.  After updating I seem to be getting past the last error but am running into another problem.  Below is the new error that I'm running into.
    Traceback (most recent call last):
      File "PDFgen.py", line 1706, in <module>
      File "PDFgen.py", line 1703, in main
      File "PDFgen.py", line 1644, in Run
      File "PDFgen.py", line 796, in Sec4
    IndexError: list index out of range

  • JasperReport, generate pdf report supporting Farsi

    Hi,
    The pdf report generated using JasperReport is not displaying data in Farsi[inspite of me setting the ENCODING parameter to 'UTF-8], however if I use the same JRML file to generate word, XLS or HTML report, am able to view Farsi values.
    Could you please let me know what I need to do so that Farsi characters can be viewed in 'pdf', 'txt' and 'csv'.
    Inputs will be appreciated
    Thanks

    HI, Yesterday I forgot put the ERROR message tha I wiev.
    This is the ERROR Message
    Controlador de excepciones
    Descripci�n: Se ha producido una excepci�n desconocida durante la ejecuci�n de la aplicaci�n web. Consulte la siguiente informaci�n de rastreo si necesita m�s datos sobre el error.
    Datos de la excepci�n: java.lang.NullPointerException
    null
    Thanks alot for your help

  • Calibration Executive fails to generate pdf reports

    I have Calibration Executive 3.4.1 and it has stopped generating pdf, word, or excel reports. It still generates text and html reports. I reinstalled cal exec and made sure it as all the current updates. The only thing we changed lately was installing DAQmx-9.4. I rolled that back to DAQmx-9.3 which did not help. If the default report is set to pdf, no report gets generated. It also will not open any report done earlier. It give an error message stating the path is incorrect of the file is corrupted. The path is correct and the old pdf open just fine using Adobe (ver 8 standard). Has anyone experienced anything similar or has any advice as to what to look at next. Thanks for any help!!
    Solved!
    Go to Solution.

    Solution: the latest revision of JAVA was corrupted causing the error. Removal and re-installing a clean version of JAVA corrected the problem.

Maybe you are looking for

  • IPhoto suddently can't see my pictures...

    I've hunted around the forum a bit and haven't found a question that fits my situation. Yesterday I launched iPhoto and found that the application wasn't showing most of my photos. My library which normally has 3,000+ pictures was only showing 800 or

  • Maps problem in 701

     I downloaded the maps I need on my phone but after I updated the maps application doesn't read any installed maps and crashes a lot when trying to open it and even when I connected the phone to pc suite the program doesn't say I have any installed m

  • ITunes won't reconize iPod.

    I have 30 GB iPod video and my computer will reconize it bit not iTunes. I also have a 4 GB iPod mini and iTunes reconizes that just fine. Any help is appriciated.

  • PLZ suggest me which one of the courses I should attend to get in Payroll?

    http://www50.sap.com/useducation/curriculum/course.asp?cid=60206802&rid= OR http://www50.sap.com/useducation/curriculum/course.asp?cid=60131187 FYI- I have 7 years SAP HR ABAP as well as cross module experience. With Security and performance tuning (

  • My username and password get erased when I try to remote log in to my corporate email account

    Hi Folks, When I try to log in remotely to my corporate (Outlook) email account, the correct username and password are erased once I hit 'enter' and I don't get in. I bought the Toshiba laptop a couple of weeks ago and I could get in for a while, but