Improve some failure messages

[WFCORE-7] Don't assume valid inputs to convertParameterExpressions
[WFCORE-8] Avoid 'Operation handler failed: null' message