CANNOT OPEN PMDA PAPER REPORT (INV FORM-1,2) IF LONG EVENT DESCRIPTION EXISTS (Doc ID 1667033.1)

Last updated on MAY 15, 2017

Applies to:

Oracle Argus Safety Japan - Version 6.0.7 and later
Information in this document applies to any platform.

Symptoms

When view the PMDA paper report (Inv form-1 and -2) from the case that meets the conditions below,

the following issue will occur:


Conditions:

- View the PMDA paper report for the investigational license
AND
- The case has several reportable events
AND

- On the reportable event tab except the primary event, over 73 characters/bytes have been set in the "Description as Reported" field

Issue:
1)  The following error appears after 10 to 15 minutes.

------------------
Error#: - 2147467259
Details: XML ServiceRequest failed.
Server Error
------------------
or
------------------
Error#: 305200002
Details: Error in generating PMDA Paper Report
------------------

2) The large file will be generated and stored in the PDFReports folder on the report server.

3) Sometime the system may hang without above errors

4) In the Argusvr2 xxx log, the following error displays.

<Date/Time>, [#], Exception DetailsMessage
Out of memory in function pdf_grow_pages
Stack Trace
  at PDFlib_dotnet.PDFlib.begin_page_ext(Double width, Double height, String optlist)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.BasePDFPage.CreateA4Page(PDFClass objPdf, String strMainHeading, String strSecondHeading, Boolean blnIsDataFiltered, ArgusPDFPage objCommonPage, Boolean showPageNo)
  at Relsys.Argus.BusinessObjects.ArgusExpeditedReports.Template.InvForm1Template.CreatePage(PDFClass objPdf)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.ArgusPDFPage.StartDocument(PDFClass objPdf)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.ArgusPDFPage.LoadReportTemplate(String strSortExpression)

(...)

<Date/Time>, [#], Enter Relsys.Persistence.DataAccess.DataAccess.LoadDataSet (Oracle.DataAccess.Client.OracleCommand, PRODUCTS, )
<Date/Time>, [#], Oracle.DataAccess.Client.OracleCommand
<Date/Time>, [#], Exit DataAccess.LoadDataSet, Return Value: null, Execution Time: 00:00:00:015
<Date/Time>, [#], Exception DetailsMessage
Out of memory in function pdf_check_and_read_ttc
Stack Trace
  at PDFlib_dotnet.PDFlib.load_font(String fontname, String encoding, String optlist)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.BasePDFPage.SetJapaneseFont(PDFClass o_pdf, Double font_size)
  at Relsys.Argus.BusinessObjects.ArgusExpeditedReports.Template.INVForm2Template.FillFieldLabelsForFirstPage(PDFClass objPdf)
  at Relsys.Argus.BusinessObjects.ArgusExpeditedReports.Template.INVForm2Template.DrawTemplateBody(PDFClass objPdf, Int32 PageCount)
  at Relsys.Argus.BusinessObjects.ArgusExpeditedReports.Template.INVForm2Template.DrawBody(PDFClass objPdf1)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.BasePDFPage.CreateLandscapePage(PDFClass objPdf, String strMainHeading, String strSecondHeading, Boolean blnIsDataFiltered, ArgusPDFPage objCommonPage, Boolean showPageNo)
  at Relsys.Argus.BusinessObjects.ArgusExpeditedReports.Template.INVForm2Template.CreatePage(PDFClass objPdf)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.ArgusPDFPage.StartDocument(PDFClass objPdf)
  at Relsys.Argus.BusinessObjects.ArgusBaseReport.PDF.ArgusPDFPage.LoadReportTemplate(String strSortExpression)

<Date/Time>, [#], Exception DetailsMessage
Error Reported
Stack Trace
  at Relsys.Argus.Service.Implementations.Reports.ReportExecute.MergePDFReports(String File1, String File2, Boolean AdjustLandscapeA4)
  at Relsys.Argus.Service.Implementations.Reports.ReportExecute.Execute(Int32 iReportType, String IXMLFilePath, String JXMLFilePath, String ReportId, String E2BReportId, String RegReportId, Boolean DraftReport, String DBUserName, String DBPassword, String DBName, Int32 DbSessionId)


Steps to reproduce:
1. Create a new case with the Japan investigational license
2. Set the several reportable events
3. On non-primary event tab,
enter the 74 bytes text in the "Description as Reported" field
4. Enter the value in any other mandatory field
5. Schedule a PMDA E2B or PMDA Paper report (INV form-1 and -2)
6. Save the case
7. View the report (View format = PMDA Paper report)

The error appears after 10 to 15 minutes
During that time, the PDF file size is getting bigger.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms