Right now, the error just tells you it's present, it would be helpful if it pointed you directly to the state.
It should list the offending State name(s) and the origin Layer+Controller. A button which prints them to the console could also work.