For those who are interested in following this, I have encountered something similar when merging two versions of a class with #abtBuildInternals. In my example, one version had added a component. When merging the code, it doesn't update the stashed component information stored with the class in the repository. This will result in errors like object not found.
Hint: if you are going to merge version of parts, generate and merge the archival code so that you can regenerate those stashed components before trying to use the visual editor.