LPS-47121 exception when trying to convert preferences to XML from a plugin