GWT-643: Illegal state exception on synthetic attribute

Bugfix pull request