Can't map SIP phones?

Whenever I try to map a SIP phone to a user, I get a ‘null’ error. Nothing else. I have no idea what’s happening. All my settings etc are correct, but I keep getting this error time after time. My SIP server, by the way, is 3CX Phone System.