MuleSoft · Object Store Connector
OS:NULL_VALUE
Short answer
OS:NULL_VALUE means an Object Store Store operation was given a null value while Fail On Null Value is true, which is the default. Give the value a fallback, or set Fail On Null Value to false to skip the operation.
VerifiedLast verified
01Error text
Error type: OS:NULL_VALUE02Likely causes
- It is not allowed to store a null value.
- Fail On Null Value keeps its default of
true, which makes the connector throw this error.
03How to fix it
- Check the expression in the Store operation's value. Find out why it resolves to null.
- Give it a fallback with the
defaultoperator if a missing value is acceptable. - Or set Fail On Null Value to
falseso the operation is skipped when the value is null.
04Official documentation
→Related errors
- OS:KEY_NOT_FOUNDOS:KEY_NOT_FOUND means an Object Store Retrieve or Remove operation asked for a key that has no value in the store. Check that the key exists first with Contains, or give Retrieve a default value.
- OS:KEY_ALREADY_EXISTSOS:KEY_ALREADY_EXISTS means an Object Store Store operation with Fail If Present set to true found the key already in the store. Leave Fail If Present at false to update the value, or handle the error when a duplicate is expected.
- MULE:EXPRESSIONMULE:EXPRESSION means an error occurred while Mule evaluated a DataWeave expression. Find the expression named in the log, check the values it reads for nulls or wrong types, and add a default or a handler.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer