For some reason the type, name, or ID of the ATOM may have changed from pre-map to post-map. If you have them, you might try removing any Virtual I/O. If the "pin" location assignment and the virtual pin assignment are mismatched (name, ATOM, ID) you can get this error.
For instance you have
set_instance_assignment -name VIRTUAL_PIN ON -to *
The "*" will set all ports to virtual and create a problem in some cases. This doesn't always work if you have assigned pins.
Instead you can use the synthesis keep attribute.wire keep_wire /* synthesis keep */;