This error is an SAP Bug (Explained by SAP here: https://launchpad.support.sap.com/#/notes/2875011)
Workaround (from SAP):
End all SAP Business One Client related processes (SAP Business One.exe and SAPbouiCOM.exe) and restart SAP Business One Client.
If the error is persistent, please contact SAP Support.