Emergency contact disappeared, [panic][ERROR]

Hello

When I open the Emergency contact section in the self-hosted Web Vault, my previously configured Emergancy contacts are not shown anymore. The log files (log level “warn”) shows the following error message:


[2022-02-23 14:46:29.234][panic][ERROR] thread ‘unnamed’ panicked at ‘Grantee user not found.’: src/db/models/emergency_access.rs:96
0: vaultwarden::init_logging::{{closure}}
1: std::panicking::rust_panic_with_hook
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/std/src/panicking.rs:695:17
2: std::panicking::begin_panic_handler::{{closure}}
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/std/src/panicking.rs:581:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/std/src/sys_common/backtrace.rs:139:18
4: rust_begin_unwind
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/std/src/panicking.rs:577:5
5: core::panicking::panic_fmt
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/core/src/panicking.rs:135:14
6: core::panicking::panic_display
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/core/src/panicking.rs:65:5
7: core::panicking::panic_str
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/core/src/panicking.rs:56:5
8: core::option::expect_failed
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/core/src/option.rs:1840:5
9: vaultwarden::db::models::emergency_access::EmergencyAccess::to_json_grantee_details
10: <alloc::vec::Vec as alloc::vec::spec_from_iter::SpecFromIter<T,I>>::from_iter
11: vaultwarden::api::core::emergency_access::rocket_route_fn_get_contacts
12: ::handle
13: rocket::rocket::rocket::route_and_process
14: <rocket::rocket::Rocket as hyper::server::Handler>::handle
15: hyper::server::Worker::handle_connection
16: std::sys_common::backtrace::__rust_begin_short_backtrace
17: core::ops::function::FnOnce::call_once{{vtable.shim}}
18: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/alloc/src/boxed.rs:1854:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce>::call_once
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/alloc/src/boxed.rs:1854:9
std::sys::unix::thread::thread::new::thread_start
at rustc/bfe15646761a75f0259e204cab071565eed2b1e5/library/std/src/sys/unix/thread.rs:108:17
19: start_thread
20: clone

Any idea how I can resolve that?

Thanks!