Special:ConstraintReport on an item with a statement with a constraint that has exceptions (e. g. Q3033 – I estimate this affects the majority of items with more than a handful of statements) shows this error:
Fatal exception of type "WikibaseQuality\ConstraintReport\ConstraintCheck\Helper\ConstraintParameterException"
Similarly, a wbcheckconstraints API request on such an item (such requests are, for example, performed by the checkConstraints gadget each time an item is visited) shows this error:
{
"code": "internal_api_error_WikibaseQuality\\ConstraintReport\\ConstraintCheck\\Helper\\ConstraintParameterException", "info": "[WXDsswpAEDMAAE176mYAAAAS] Exception caught: The value for the parameter "<span class=\"wbqc-role wbqc-role-constraint-parameter-property\">known_exception</span>" must be an entity, not "<span class=\"wbqc-role wbqc-role-constraint-parameter-value\">Q9712957\u200e</span>"."}
The reason for this is that DelegatingConstraintChecker::checkConstraintsForStatementOnEntity makes CostraintParameterParser parse the constraint exceptions (the items that a constraint doesn’t apply to), but doesn’t catch the ConstraintParameterExceptions that can occur when the exceptions contain malformed data. In the case of the second error message above, there seem to be some exception templates that containt Unicode left-to-right marks (U+200E).