I had this error one time also.
Do you have a version of the program that does not show this error?
If so Check all changes made, and re-do them.
If not I would remove blocks until the error goes away, and try to pinpoint where the problem is.
Maybe there is a better way, but the informations you have given. That is what I would do.
Hope it helps.