Page 1 of 1

VirtualBox.xml is empty

Posted: 3. Jun 2019, 19:26
by drneon
Failed to acquire the VirtualBox COM object.
The application will now terminate.

Document is empty.
Location: '/Users/alexanderevans/Library/VirtualBox/VirtualBox.xml', line 1 (0), column 1.
/Users/vbox/tinderbox/6.0-mac-rel/src/VBox/Main/src-server/VirtualBoxImpl.cpp[624] (nsresult VirtualBox::init()).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: VirtualBoxWrap
Interface: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee: IVirtualBoxClient {d2937a8e-cb8d-4382-90ba-b7da78a74573}

Re: VirtualBox.xml is empty

Posted: 3. Jun 2019, 22:11
by socratis
drmeon, I split your post from the "Installation fails on 10.13.x, 10.14.x (rc=-1908)" thread. You do NOT have an installation problem.

Please don't hijack/piggyback on other people's threads, it's easy enough to create your very own, unique thread that gets all the attention.

Your problem is that you have a corrupt "VirtualBox.xml" file in the location contained in the error message, '/Users/alexanderevans/Library/VirtualBox/VirtualBox.xml'. In that same folder there's a "VirtualBox.xml-prev" file. Delete the "VirtualBox.xml" file and rename the "VirtualBox.xml-prev" to "VirtualBox.xml". Try it again.