Replies: 2 comments 6 replies
-
It is not really possible to help without a reproducible example. Could you show what you are doing that leads to this error? |
Beta Was this translation helpful? Give feedback.
0 replies
-
hard to provide example, but the flow is like following, I want to know the coding is correct or not?
view is like following:
click button, then crash...., but the data returned by fetch_asset_action still can be shown, very thanks. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I create resource using create_resource function, which depend on a signal, because the resource can be updated in future,
the signal triggered in create_effect, the crash is as following.
I think the crash happened in page load phase。
rfid_mgt-client-f545b6d0f3d7e6e3.js:663 panicked at .cargo\registry\src\rsproxy.cn-0dccff568467c15b\leptos_reactive-0.6.12\src\runtime.rs:840:30:
called
Result::unwrap()
on anErr
value: OwnerDisposed(Owner(NodeId(458v5)))Stack:
Error
at imports.wbg.__wbg_new_abda76e883ba8a5f (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3.js:650:17)
at rfid_mgt_client-9305d818b613a9e1.wasm.console_error_panic_hook::hook::h8345dc7a700879a6 (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[7489]:0x23eadd3)
at rfid_mgt_client-9305d818b613a9e1.wasm.core::ops::function::Fn::call::h38515271acd798f6 (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[33885]:0x2a487c7)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::panicking::rust_panic_with_hook::hee82297911096d57 (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[19911]:0x28a2aab)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::panicking::begin_panic_handler::{{closure}}::h58a077e26c85d72c (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[23309]:0x2940604)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::sys_common::backtrace::__rust_end_short_backtrace::hd437aa2629313103 (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[46408]:0x2ad7fe9)
at rfid_mgt_client-9305d818b613a9e1.wasm.rust_begin_unwind (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[35578]:0x2a62d49)
at rfid_mgt_client-9305d818b613a9e1.wasm.core::panicking::panic_fmt::h45164282161953f8 (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[37435]:0x2a7c40d)
at rfid_mgt_client-9305d818b613a9e1.wasm.core::result::unwrap_failed::he9e50a61a7042e4a (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[25574]:0x299140e)
at rfid_mgt_client-9305d818b613a9e1.wasm.leptos_reactive::runtime::with_owner::h0ed70ba63feae2af (http://localhost:1422/rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:wasm-function[8315]:0x2482b25)
imports.wbg.__wbg_error_f851667af71bcfc6 @ rfid_mgt-client-f545b6d0f3d7e6e3.js:663
$console_error_panic_hook::hook::h8345dc7a700879a6 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x23eaf3a
$core::ops::function::Fn::call::h38515271acd798f6 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2a487c7
$std::panicking::rust_panic_with_hook::hee82297911096d57 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x28a2aab
$std::panicking::begin_panic_handler::{{closure}}::h58a077e26c85d72c @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2940604
$std::sys_common::backtrace::__rust_end_short_backtrace::hd437aa2629313103 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad7fe9
$rust_begin_unwind @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2a62d49
$core::panicking::panic_fmt::h45164282161953f8 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2a7c40d
$core::result::unwrap_failed::he9e50a61a7042e4a @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x299140e
$leptos_reactive::runtime::with_owner::h0ed70ba63feae2af @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2482b25
$<T as wasm_bindgen::closure::WasmClosureFnOnce<(),R>>::into_js_function::{{closure}}::hcb74c4aea5c9d46c @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x286bd9f
$<dyn core::ops::function::FnMut<()>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::ha19d1f89b3c98813 @ rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad252b
__wbg_adapter_114 @ rfid_mgt-client-f545b6d0f3d7e6e3.js:292
real @ rfid_mgt-client-f545b6d0f3d7e6e3.js:221
rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad88ff Uncaught RuntimeError: unreachable
at rfid_mgt_client-9305d818b613a9e1.wasm.__rust_start_panic (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad88ff)
at rfid_mgt_client-9305d818b613a9e1.wasm.rust_panic (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad6484)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::panicking::rust_panic_with_hook::hee82297911096d57 (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x28a2ad8)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::panicking::begin_panic_handler::{{closure}}::h58a077e26c85d72c (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2940604)
at rfid_mgt_client-9305d818b613a9e1.wasm.std::sys_common::backtrace::__rust_end_short_backtrace::hd437aa2629313103 (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2ad7fe9)
at rfid_mgt_client-9305d818b613a9e1.wasm.rust_begin_unwind (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2a62d49)
at rfid_mgt_client-9305d818b613a9e1.wasm.core::panicking::panic_fmt::h45164282161953f8 (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2a7c40d)
at rfid_mgt_client-9305d818b613a9e1.wasm.core::result::unwrap_failed::he9e50a61a7042e4a (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x299140e)
at rfid_mgt_client-9305d818b613a9e1.wasm.leptos_reactive::runtime::with_owner::h0ed70ba63feae2af (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x2482b25)
at rfid_mgt_client-9305d818b613a9e1.wasm.<T as wasm_bindgen::closure::WasmClosureFnOnce<(),R>>::into_js_function::{{closure}}::hcb74c4aea5c9d46c (rfid_mgt-client-f545b6d0f3d7e6e3_bg.wasm:0x286bd9f)
Beta Was this translation helpful? Give feedback.
All reactions