"the function _actionMetadata has an invalid return value" [ColdBox 4.2|Lucee 5.0.1|Windows 2012]

This is a peculiar issue and I have no idea where to even begin.

I have a handler that is fairly simple: It does an entityLoad from the database and if it finds an item, it will pass it on to the view. Every once in a while, I will get the following error message “”. If I reinit the framework, the page works as intended.

Does anyone have any idea on how to even attempt to solve this issue?

Thanks in advance.