Here is one more exception we usually face while coding in GWT. When we try to give a style property to the element in the below way as we just give a property in CSS
getElement().getStyle().setProperty("z-index", "0");
Immediately we run into the below exception,