Customer needs to use the following steps
Open SQL Management Studio
Browse to the Database and right click to select New Query
Execute the following:
Select Name,Domain,AgentKey,ServiceKey, * from BT_Device Where Name = 'DeviceNameGoesHere'
Likely one of these fields is NULL which is leading to this error.
If one of the fields are missing you can address this by issuing an update statement. For example of Name filed is NULL you can execute the following:
Update BT_Device SET Name = 'NameGoesHere' Where DeviceId= 123