- Load an image in the datamanager.
- Set the "active" flag for the property "visible" to false
- Close Project
--> MITK crashes
The cause: When closing a project, QmitkCloseProjectAction::Run() is called. Sometime later it comes down to mitk::LevelWindowManager::DataStorageRemovedNode( const mitk::DataNode* removedNode ). In that function (mitkLevelWindowManager.cpp line 217)
it->Value()->GetProperty("visible")->AddObserver( .. is called, while GetProperty("visible") is returning null and cannot be dereferenced.
Also: when you save the project or a single datanode, the status of the "active" flags of the properties are not saved.