I was trying to copy a layer from AGOL to our enterprise sever and at first none of the coded domains of the fields were copying. I first exported the layer a FGDB then locally hosted it, edited it by adding a coded domain to a field then exported as an XML and importing that XML. Then every time I opened the domains after that on the newly created feature I experienced a crash. After some crashes the domains would re-appear then crash and be hidden again. I say hidden because when I run the "Delete Domain" tool I see all of the domains that I didn't think were present but also are not present if I just check the domains of the database.
Has this ever happened to anyone else or anyone else experiencing issues with transfer coded domains from AGOL to Enterprise?
Attached the crash report.