Delete the invalid references in the tables and select a valid component.
This component should be listed in the error message, but you can also right-click anywhere in the tables and select
Find Error to find any database integrity issues. The cells that have integrity issues will be red.