Cannot launch monteverdi if .ini config file is invalid

Description

When the config file is incorrect, monteverdi cannot be started.

Steps to reproduce

Edit C:\Users\username\AppData\Roaming\OrfeoToolBox\Monteverdi.ini with invalid content (add garbage characters for example). Launch monteverdi. A pop-up appears to inform of the issue, click yes.

Configuration information

Windows 10 64 bit. OTB standalone package of release-6.6 branch from today's nightly build.

Edited by Victor Poughon