Closed thespooler closed 4 years ago
What versions of KeeAgent and KeePass are you using?
KeeAgent 0.12.0 KeePass 2.45
In KeeAgentExt.cs, line 472
var recycleBin = activeDatabase.RootGroup.FindGroup(activeDatabase.RecycleBinUuid, true);
See PwGroup class, property RootGroup:
// Summary:
// Get the root group that contains all groups and entries stored in the database.
//
// Returns:
// Root group. The return value is null, if no database has been opened.
Also, MainWindow.GetSelectedGroup()
can be null if none is selected.
Would you like me to whip up a PR?
Description
When no database is open, or when the open database is locked, opening the Group menu crashes KeePass.
Steps to reproduce
Result
Unhandled exception dialog box.
Expected result
Group menu with disabled items.
Exception stacktrace