ERROR - Method GetLiveFrame throw exception: Some or all identity references could not be translated.;

I’m developing a MIPDriver where I’m fetching raw JPEG’s from a Kafka stream. It seems to be working fine when I’m debugging but I can’t see any frames from the video device. Here’s some logs describing the subject:

2019-10-08 16:52:40.872+02:00 INFO - TestDriverMIPDriverStreamManager: CreateSession(11515433-1b23-48e4-8224-e920b9340009)
2019-10-08 16:52:40.873+02:00 INFO - TestDriverMIPDriverVideoStreamSession: BaseTestDriverMIPDriverStreamSession()
2019-10-08 16:52:40.876+02:00 ERROR - KafkaConnection: KafkaSubscribe
2019-10-08 16:52:45.994+02:00 INFO - Method GetLiveFrame throw exception: Some or all identity references could not be translated.; 
2019-10-08 16:52:45.999+02:00 INFO - TestDriverMIPDriverVideoStreamSession: Close()

I’ve no idea where it’s going wrong here, when I’m stepping through the code I can clearly see that GetLiveFrameInternal is returning a byte array and a proper VideoHeader.

I just noticed that I’m getting this error with the DemoDriver sample aswell. It connects successfully but I’m getting no video stream.

My Windows is in Swedish so

“Vissa eller alla identitetsreferenser kunde inte översättas” = “Some or all identity references could not be translated”

2019-10-09 11:43:57.987+02:00 INFO - ******************************* Starting logger *******************************
2019-10-09 11:43:57.991+02:00 DEBUG - ----- Process start Command = SingleDriverMode; DllPath = C:\Program Files\Milestone\MIPDrivers\DemoDriver\DemoDriver.def
2019-10-09 11:44:28.023+02:00 INFO - ******************************* Starting logger *******************************
2019-10-09 11:44:28.027+02:00 DEBUG - ----- Process start Command = SingleDriverMode; DllPath = C:\Program Files\Milestone\MIPDrivers\DemoDriver\DemoDriver.def
2019-10-09 11:44:31.071+02:00 INFO - ******************************* Starting logger *******************************
2019-10-09 11:44:31.075+02:00 DEBUG - ----- Process start Command = SingleDriverMode; DllPath = C:\Program Files\Milestone\MIPDrivers\DemoDriver\DemoDriver.def
2019-10-09 11:44:36.218+02:00 INFO - ******************************* Starting logger *******************************
2019-10-09 11:44:36.221+02:00 DEBUG - ----- Process start Command = SingleDriverMode; DllPath = C:\Program Files\Milestone\MIPDrivers\DemoDriver\DemoDriver.def
2019-10-09 11:44:36.464+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:36.747+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:37.264+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:38.279+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:40.295+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:44.310+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:44:52.322+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:45:02.335+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:45:12.352+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:45:22.365+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 
2019-10-09 11:45:32.378+02:00 ERROR - Method GetLiveFrame throw exception: Vissa eller alla identitetsreferenser kunde inte översättas.; 

Apparently you guys want us to post to the private MIPDriver framework group, and I’ll do so in the future.

Let’s make the DemoDriver work properly first. Do you use Beta version of DriverFramework? If so, please use release version of XProtect and MIP SDK because release one is more stable.

XProtect:

Milestone homepage → Support → Download software → select product and version (XProtect Corporate 2019 R3 (13.3a ))

MIP SDK:

My Milestone → Solution Partner Portal → Access the portal and download the MIP SDK

Demo Driver -

https://doc.developer.milestonesys.com/html/index.html?base=samples/demodriver.html&tree=tree_1.html

Can you please see “Running” and “Deploying” in the page and follow the instructions? (Especially, please run DemoDriverDevice.exe as Administrator and restart Recording Server Service after the deployment. Also please check if the port number is 22222 when you add hardware(DemoDriver) in Management Client.)

I use the release version, downloaded yesterday around 2pm Scandinavian time.

I followed the instructions and managed to add the HW to the Milestone server. See attached images.

We suspect a language issue from what the logs are telling. We will try to reproduce on a Swedish Windows.

What version of Windows do you have? (Swedish?)

Do you happen to have tried this in more than one PC?

I tried on our Milestone demo server, which runs Server 2016 with English, that works just fine.

Edit: Yes my Windows is in Swedish.

I have today reproduced this using a virtual machine with a Swedish Windows. Milestone development will now work with the virtual machine to debug and make a fix..

Would a temporary solution be to change language on my machine to English?

I suspect that a natively Swedish Windows will still have the issue after switching to English language.

Later today I will do some verification work on a possible fix. If this is successful a hotfix will be built. Please allow some days for this, please show patience.

I tested my suspicion and unfortunately I was right, to install an English language pack on a natively Swedish Windows 10 and switching to English does not help, the issue is still showing in that scenario.

A hotfix is in development..

A hotfix is now available.

See this knowledge base article - https://developer.milestonesys.com/s/article/MIP-Driver-Framework-bug-in-non-English-Windows-2019-R3