Forum Discussion
Thomas_Bennett
3 years agoNew Contributor III
Isolate error logging down to a business rule.
Hi All, Ive got a problem with transformation/load cube workflow steps in our build, It has been in our applications for over six months (an older dev application has the same problem). This error d...
- 3 years ago
This is by far the error I hate the most. It tells you that you are trying to get something off of a null object. It could be a dictionary or could be a string (which you are now trying to get the length of). The only way to do that is to populate the rule with debug statements and figure out what is happening. Sometimes it is easy. You will see what is going on; it could be based on the code, like it said, trying to get a value from a dictionary if a key is not present.
Mike_Sabourin
3 years agoContributor II
When I have something like this where I can't tell where the rule is failing, I'll put error log messages at each step with something like "Now running xxx" so I can see how far it got before the message appeared. Or if it's a looping rule, I'll add a counter to it and pass that along as well as any pertinent dimension data.
Related Content
- 2 years ago
- 8 months ago
- 2 years ago
- 2 years ago