MITK crashes with the following error:
An invalid parameter was passed to a function that considers invalid parameters fatal.
That happens when calling name.back() with an empty name. It is produced by Directory::Load.
Call stack:
- mitk::nnUNetTool::~nnUNetTool()
- itksys::SystemTools::RemoveADirectory(this->GetMitkTempDir())
- dir.Load(source)
To reproduce:
- open MITK, load an image
- open the Segmentation view
- create a new segmentation node
- close the Segmentation View
- open the Segmentation View again
Alternative:
- open MITK, load an image
- open the Segmentation view
- close the workbench via "x"
Happens on Windows, only in debug.