Open krselvaer opened 2 months ago
Given the error your seeing it looks like this is coming up out of the Linq provider included in the most recent release. can you provide a sample / repro we can use to debug this?
Hi again :)
I have tried to do some more digging and these seem to be the steps we do to create this error, I have only been able to recreate it for system users and it isn't every run where the error happens. The process we do is:
crmContext.SystemUserSet.SingleOrDefault(x => x.Id == Guid.Parse(key))
I will note that it looks like we do two identical async calls about the same time for two different system users (or sometimes the same). The way this is handled from our side looks a bit weird.
Some more details:
The criteria for this screenshot is Equals systemuserid with a Guid.
This is how we instantiate the ServiceClient: new ServiceClient(connectionString, clientId, clientSecret, false);
Thanks.. this helps... we will see if we can run it down.
Hi,
I was wondering if there was any update on this issue? Or if there is an estimate for when this will be looked at? :)
Hi,
We recently tried to upgrade our Dataverse package quite a few "notches" from 1.0.26 to the latest release 1.1.32. After this upgrade we saw an irregular amount of NullReferenceExceptions. We were unable to figure out a consistency for when this error occurred in terms of reproducing it etc. We eventually downgraded again and our problems disappeared. We haven't looked too much into this issue. But I figured I'd report it in case it is an issue with the newest release that is not specific to us.
Let me know if you need more details :)
Part of the Stack trace: