Cube rewriter throws SemanticException with ErrorMsg as field