Question

Object reference not set to an instance of an object

  • 24 April 2023
  • 2 replies
  • 756 views

Userlevel 3
Badge +4

We are receiving the error “Object reference not set to an instance of an object.” in the Purchase Order window while trying to save and while trying to tab out from a field. The error occurs randomly and not often. So, recreating it is not possible. When it happens the user needs to restart IFS to get rid of it.

It occurs only in the PO and no where else in the system.

 

We are using Apps 10 update 15

 

 

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Ifs.Application.Purch_.frmPurchaseOrder.SetDeliveryAddressInfo()
   at Ifs.Application.Purch_.frmPurchaseOrder.ValidateDeliveryAddress()
   at Ifs.Application.Purch_.frmPurchaseOrder.dfDeliveryAddress_OnPM_DataItemValidate(Object sender, WindowActionsEventArgs e)
   at Ifs.Application.Purch_.frmPurchaseOrder.dfDeliveryAddress_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.SalDataField.WndProc(Message& m)
   at Ifs.Fnd.ApplicationForms.cDataField.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 ---

 

Really appreciate if any one can share any experiences or suggestions regarding this.

 

Regards

Chaminda


2 replies

Userlevel 5
Badge +13

Hi @Chaminda ,

Please check the answer of an issue raised 1 year ago for which a bgfix exist: 

 

I am not sure if this fix is part of UPD15. If not, the bugfix can hopefully solve your issue.

Userlevel 3
Badge +4

Hi @EqeRobertK 

Thank you for your quick response. I will check wit IFS if this bug fix is available in update 15.

Best Regards

Chaminda

Reply