Solved

Error while pressing the search button for Change Order Summary

  • 27 January 2021
  • 2 replies
  • 524 views

Userlevel 2
Badge +7
  • Sidekick (Customer)
  • 24 replies

Hi,

 

Does anyone knows why we get runtime error while pressing the search in the “Change Order Summary” view?

We have tried to open the Debug Console, and not sure if that was due to the resource file not being loaded:

 

We don’t get this If we are using the Application Owner.

 

The details of exception are:

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Ifs.Fnd.Explorer.Extenders.SearchExplorerManager.SearchExploreManager.Ifs.Fnd.Explorer.Interfaces.IFndSearchExploreManager.ShowSearchDialog(FndSearchDialogSettings settings, FndClientSearch& clientSearch)
   at Ifs.Fnd.ApplicationForms.cDataSource.DataRecordSearchDialog()
   at Ifs.Fnd.ApplicationForms.cDataSource.DataRecordQueryDialog()
   at Ifs.Fnd.ApplicationForms.cFormWindowBase.DataRecordQueryDialog()
   at Ifs.Fnd.ApplicationForms.cFormWindowBase.vrtDataRecordQueryDialog()
   at Ifs.Fnd.ApplicationForms.cDataSource.vrtDataRecordQueryDialog()
   at Ifs.Fnd.ApplicationForms.cDataSource.DataSourcePopulate(SalNumber nWhat, SalNumber nParam)
   at Ifs.Fnd.ApplicationForms.cFormWindowBase.DataSourcePopulate(SalNumber nWhat, SalNumber nParam)
   at Ifs.Fnd.ApplicationForms.cFormWindowBase.vrtDataSourcePopulate(SalNumber nWhat, SalNumber nParam)
   at Ifs.Fnd.ApplicationForms.cDataSource.vrtDataSourcePopulate(SalNumber nWhat, SalNumber nParam)
   at Ifs.Fnd.ApplicationForms.cDataSource.cDataSource_WindowActions(Object sender, WindowActionsEventArgs e)
   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex)
   at PPJ.Runtime.Windows.SalWindow.SendClassMessage(Int32 msg, SalNumber wParam, SalNumber lParam, Type startType)
   at PPJ.Runtime.Sal.SendClassMessage(SalNumber message, SalNumber wParam, SalNumber lParam)
   at Ifs.Application.Pdmcon_.frmEcoOrderSummaryGraph.frmEcoOrderSummaryGraph_OnPM_DataSourcePopulate(Object sender, WindowActionsEventArgs e)
   at Ifs.Application.Pdmcon_.frmEcoOrderSummaryGraph.frmEcoOrderSummaryGraph_WindowActions(Object sender, WindowActionsEventArgs e)
   at PPJ.Runtime.Windows.SalWindow.InvokeWindowActions(WindowActionsEventArgs args, SalContext context, Int32 startIndex)
   at PPJ.Runtime.Windows.SalWindow.FireWindowActions(Int32 msgCode, IntPtr wParam, IntPtr lParam)
   at PPJ.Runtime.Windows.SalWindow.DispatchThenProcess(Message& m)
   at PPJ.Runtime.Windows.SalWindow.ProcessWndProc(Message& m)
   at PPJ.Runtime.Windows.SalForm.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)
   --- End of inner exception stack trace ---

 

Did we miss some grants in our permission set? But we didn’t expect to get a runtime exception even if that is the case.

 

Thanks in advance!

icon

Best answer by Thilan Lasitha 4 June 2021, 15:00

View original

This topic has been closed for comments

2 replies

Userlevel 4
Badge +7

Hi @kwc 

 

I did some search and noticed that there were same issues on some windows, and it was fixed with 150157 Bug.

But it only includes INVENT,ORDER,PURCH.
Change Order Summary belongs to PDMCON.

In order to fix the issue same should be done as 150157 to the frmEcoOrderSummaryGraph_OnPM_DataSourcePopulate method in frmEcoOrderSummaryGraph form.
 

I was able to re-create the same issue in:
UPD8 As Released
TECH CMB
REGIONAL TEST CMB

Since this issue is available on UPD8 and on the latest Updates of IFSAPPs10 this can be recognized as a Core Bug in the Application. 

I hope that this would be helpful for your question.
 

Userlevel 2
Badge +7

Hi Thilan,

Thank you for your answer! Good to know that this is a bug.