As BalusC noted in his comment it has something to do with Integer converter. I had the following dummy integer converter, it was hidden somewhere in project.
@FacesConverter(value = "someDummyConverter")
public class SomeDummyConverter extends IntegerConverter {
public Object getAsObject(FacesContext context, UIComponent component,
String value) {
Integer intValue = (Integer) super.getAsObject(context, component, value);
return intValue;
}
@Override
public String getAsString(FacesContext context, UIComponent component, Object o) {
return null;
}
}
If I used OmniFaces 1.5 or 1.6 this converter was not called. With OmniFaces 1.6.1, 1.6.2, 1.6.3 the converter was called. If I deleted the converter, the problem was disappeared.