I discovered something just now. As above we managed to export to xmi from a corrupt repository by skipping the java.lang.ClassCastException: org.eclipse.emf.cdo.common.revision.CDORevisionUtil$uninitialized The resultant xmi file is Imported into a empty CDO repo and opened in a Text editor We get this, clearly were the problem lies. [code] ... [/code] Note the NNULL This is the equivalent input xmi element [code] ... [/code] This suggests the /936 offset to the related object of Class TransformationNodePort is incorrect? No idea how to fix this though, a weakness of the offset notation used is you cannot easily find the reference objects, much better to use something like the href.