Question

Error When Page Setting Changed to "Fixed page size >>"

  • 19 September 2023
  • 1 reply
  • 51 views

Badge +1

Hi,

 

I’m wanting to print a document in a portrait layout but the paper size needs to be manually set. I go to Page Settings and select “Fixed page size >>” and set to a custom paper size to fit a 8.5” x 11” paper size layout.

 

When I import the report layout into IFS EE and print this error message pops up:

 

GENREPORTIO:Could not generate report: 'TRANS_ERROR:Failed transforming report data : 'java.lang.NumberFormatException''

 

Here is the page layout

Page Settings



Detailed Error Message :

Server error messages:
b35364b0-619b-4590-b3a9-c23119e41dee

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> Ifs.Fnd.FndSystemException: Unexpected error while calling server method PrintReport/ReportFormatRequest ---> Ifs.Fnd.FndServerFaultException: GENREPORTIO:Could not generate report: 'TRANS_ERROR:Failed transforming report data : 'java.lang.NumberFormatException''
   at Ifs.Fnd.AccessProvider.FndConnection.ParseErrorHeader(FndBuffer buffer, FndManualDecisionCollection decisions)
   at Ifs.Fnd.AccessProvider.FndConnection.UnMarshalResponseHeader(Stream responseStream, FndManualDecisionCollection decisions)
   at Ifs.Fnd.AccessProvider.FndConnection.HandleHttpSuccessResult(HttpWebResponse result, FndManualDecisionCollection decisions, String operation, FndBodyType responseBodyType, Object responseBody)
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
   --- End of inner exception stack trace ---
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(Object requestBody, Object responseBody, String intface, String operation, FndRequestContext requestContext, FndManualDecisionCollection decisions, Boolean forcedSync, Boolean integrationGateway)
   at Ifs.Fnd.AccessProvider.FndConnection.InvokeInternal(String intface, String operation, Object requestBody, Object responseBody, FndRequestContext requestContext, Boolean forcedSync, Boolean integrationGateway)
   at Ifs.Fnd.AccessProvider.Activity.FndActivityContext.InvokeIntegration(String intface, String operation, Object request, Object response)
   at Ifs.Fnd.AccessProvider.Activity.FndActivityCommand.ExecuteNonQuery(Object body)
   at Ifs.Application.InfoServices.ServerInterface.Ifs.Application.InfoServices.IPrintReport.ReportFormatRequest(Double resultKey, String formatRequest, String langCode, String& pdfFile, Byte[]& pdf)
   at Ifs.Application.InfoServicesFramework.PrintDialog.ReportFormatRequest(PrintInstance instance, String& filename, Byte[]& documentData)
   at Ifs.Application.InfoServicesFramework.PrintDialog.PreviewReport(PrintInstance instance)
   at Ifs.Application.InfoServicesFramework.PrintDialog.cmdPreview_Execute(Object sender, FndCommandExecuteEventArgs e)
   at Ifs.Fnd.Windows.Forms.FndCommand.OnExecute(Component component)
   at Ifs.Fnd.Windows.Forms.FndCommandButton.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

 

This error occurs when selecting anything other than default dimensions:

Layout Default

 


1 reply

Badge +1

I found my solution. I just needed to connect to the database in Report Designer with the proper credentials and fetch from (and deploy to) the database the report in question.

 

Fetch and deploy.

 

Reply