CubeMX 5.0, (under Eclipse), hangs under the following scenario:
Make a change in CubeMX window, in my case select one pulse timer mode, (see attached screenshot).
Do something else until the Project not saved dialogue box appears, in my case I browsed the internet.
Click on Yes to save and the application hangs.
File/Save from the menu works ok.