Then you need to change method to something like: "Missing attribute predicate for characteristic: " + c.getName())