Hi Just Joined the forum and noticed your query, dont know if you have found a solution yet but this worked for me.
Edit the offending line of code, save your object and run the code with the line edited out.
Unedit the the line and that should have fixed it.