Question

Error initializing mobile device – PerformReplicationForTableAndPerson

  • 11 June 2021
  • 1 reply
  • 254 views

Userlevel 1
Badge +2

Hi,

 

When initializing a mobile device, this specific error can be seen in the mobile error log.

 

EXCEPTION Message: Exception has been thrown by the target of an invocation. ... Stack Trace:    at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.MobileManager.PerformReplicationForTableAndPerson(String tableNameIn, String personIdIn, Boolean truncateTableIn, String deviceSequenceIn, SQLiteCommand sqliteCommandIn, mm_process_defRow syncRuleIn, Dictionary`2 tableColumnsDictionaryIn)
   at Metrix.BusinessServer.BusinessPolicies.SharedTablesComponent.MobileManager.PerformInitializeMobileDevice(String personId, String deviceSequence, String message, SQLiteConnection theSQLiteDB, Dictionary`2 theSyncRuleTableColumnsDictionary)

PerformReplicationForTableAndPerson(table:TASK, person_id:ADMIN, device_sequence:8)

 

This error is logged when initializing the mobile device for the admin user.

And this admin user has only one task.

If we remove this task from the admin user and assign another task, this error message will not appear anymore. ( Error comes only for some tasks )

Tried resetting all the properties of the task to empty. ( Can’t remove the assigned product id ) But the task still gives the error.

 

Further, this error can be seen in GSE EUR environment as well.

 

Has anyone seen this error before ? If so, please provide the steps to recreate this error.

 

Regards,

Nirmal


This topic has been closed for comments

1 reply

Userlevel 7
Badge +24

Hi @Nirmal Seneviratne,

I would suggest recreating the task as near as possible and retrying with that new task to see if the issue reoccurs. This looks to be data corruption most likely.

Exception has been thrown by the target of an invocation is a generic error so would be likely to be seen on most systems. The specifics would be in the details of the error.

Kind regards,

Lee Pinchbeck