Skip to main content
Solved

Error when create Pick lists for Wo Structure "Object reference not set to an instance of an object"

  • June 21, 2024
  • 1 reply
  • 142 views

Sivanandan
Sidekick (Employee)
Forum|alt.badge.img+6

Error When create a picklist for WO structure 

 

 

Select from the list  

Details of Error 

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Ifs.Fnd.ApplicationForms.cRecListDataField.AddDisplayColumn(SalWindowHandle hWnd, FndDataColumnCollection& columnCollection)
   at Ifs.Fnd.ApplicationForms.cRecListDataField.CreateDisplayColumnCollection(SalWindowHandle mainColumn, SalArray`1 childColumn)
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.CreateDisplayColumnCollection()
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.AssignColumns(SalArray`1 saTitles, SalArray`1 naAlignments, SalArray`1 naWidths, SalNumber nNumColumns)
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.__CreateColumns()
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.cRecSelExtComboBox_OnAM_RecordSelectionSqlStmtGet(Object sender, WindowActionsEventArgs e)
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.cRecSelExtComboBox_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.SalComboBox.WndProc(Message& m)
   at PPJ.Runtime.Vis.VisDropDownBase.WndProc(Message& m)
   at Ifs.Fnd.ApplicationForms.cRecSelExtComboBox.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 ---

Best answer by geirsigve

Note! The function used above is a customized one.  But, as shown in the description, after running the method, and clicking the tab, this technical error is returned.

Any help in pointing us towards the reason in order to be able to fix the problem is much appreciated.  

I assume it must have been handled several times, as I have run across the same error in various parts of the application, even when logging on.

 

Geir Sigve

1 reply

geirsigve
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • Answer
  • June 24, 2024

Note! The function used above is a customized one.  But, as shown in the description, after running the method, and clicking the tab, this technical error is returned.

Any help in pointing us towards the reason in order to be able to fix the problem is much appreciated.  

I assume it must have been handled several times, as I have run across the same error in various parts of the application, even when logging on.

 

Geir Sigve