When a document is saved during XWiki initialization it triggers the loading of the remaining messages before the loading of the registered instances and fail.