RadzenSteps code behind REDIS cache causing <BuildRenderTree>b__55_29 exception. How to debug b__55_29?

Hi, I have code behind for a RadzenStep step-index change that works fine until I add a single request to pull a value from REDIScache (in a static class). This same cache-pull works fine in a separate test, but within my code-behind I get a b__55_29 exception NullReferenceException in circuit 'bkw79gZtj-tWlBbpsWh4wiHrzPi4uXWCKu8Mzg9Exf4'

The stack trace does not give me any information (as far as I can see) as to WHERE this is happening on the page or in which component. The page has many components that are updated by the code-behind at this point.

How can I find out what b__55_29 is? It is still unclear to my why I am getting this error at all, since there are no "null" returned from REDIS and this error occurs out of context in the middle of the REDIS call.

Thanks for any ideas.

You have somewhere in your razor markup code that refers sub property however the object is null. For example:

SomeObj.SomeProperty

You can use null check to resolve this:

SomeOb?.SomeProperty

Sincere thanks. Indeed, we new it was a null problem, but it is a giant razor page, and b__55_29 doesn't tell me anything about where to look. I was just wondering if there is some way to find that object in the Razor markup from this message. Case closed if not :slight_smile: