Hi Team,
If you can please check as I am getting an error as “Object reference not set to an instance of an Object” getting this issue on web client.
FSM APP Version: 6 Update 25
Below is the exception from server log.
This exception was observed for many PERSON_ID’s.
Message: SetPersonWorkStatus:PERSON_ID:AHOKBANE:Metrix.BusinessServer.Exceptions.InvalidUpdateException: Object reference not set to an instance of an object. ---> Metrix.BusinessServer.Transactions.Exceptions.TransactionRollbackException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Metrix.BusinessServer.BusinessPolicies.FieldServiceComponent.TaskManager.ExportScheduleEventToThreesixty(DateTime eventDateTimeIn, String eventTypeIn, String parentEntityIn, String parentKeyIn, String latitudeIn, String longitudeIn, String locationIdIn)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonPolicy.ExportScheduleEventToThreesixty(String eventTypeIn, String personIdIn)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonPolicy.AfterRowUpdate(MetrixDataRow rowIn)
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.AfterRowSave(MetrixDataRow rowIn)
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.Update(MetrixDataTable tableIn)
--- End of inner exception stack trace ---
at Metrix.Global.Exceptions.ExceptionManager.HandleException(Exception e)
at Metrix.BusinessServer.UserSession.EndTransaction()
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.Update(MetrixDataTable tableIn)
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.Update(MetrixDataRowCollection rowsIn)
--- End of inner exception stack trace ---
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.Update(MetrixDataRowCollection rowsIn)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonManager.SetPersonWorkStatusOnShift(personRow person, Int32 offsetMins, DateTime processTime, String onShiftWorkStatus)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonManager.SetPersonWorkStatus(DateTime currentTime, String personId, Int32 onShiftOffsetMins, Int32 offShiftOffsetMins)
Machine: SCDVWFSM03
App Domain: /LM/W3SVC/1/ROOT/FSMTEST-1-133425462112237673
ProcessId: 12508
Process Name: w3wp
Thread Name:
Timestamp: 2023-10-24T10:20:23.1851710+03:00
Message: Exception Message : Object reference not set to an instance of an object.
Source : Not Available
Target Site : Not Available
Help Link : Not Available
Inner exception message : Object reference not set to an instance of an object.
Inner exception source : Metrix.BusinessServer
Inner exception target site : ExportScheduleEventToThreesixty
Stack Trace :
Inner exception stack trace: at Metrix.BusinessServer.BusinessPolicies.FieldServiceComponent.TaskManager.ExportScheduleEventToThreesixty(DateTime eventDateTimeIn, String eventTypeIn, String parentEntityIn, String parentKeyIn, String latitudeIn, String longitudeIn, String locationIdIn)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonPolicy.ExportScheduleEventToThreesixty(String eventTypeIn, String personIdIn)
at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.PersonPolicy.AfterRowUpdate(MetrixDataRow rowIn)
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.AfterRowSave(MetrixDataRow rowIn)
at Metrix.BusinessServer.BusinessPolicies.BusObjectPolicy.Update(MetrixDataTable tableIn)
Machine: SCDVWFSM03
App Domain: /LM/W3SVC/1/ROOT/FSMTEST-1-133425462112237673
ProcessId: 12508
Process Name: w3wp
Thread Name:
Really appreciate if any one can share any experiences or suggestions regarding this.
Thanks & Regards,
Narsing