suez1moeedueg / xrayRepo

MIT License
0 stars 1 forks source link

panic at index out of bounds #1

Closed suez1moeedueg closed 2 months ago

suez1moeedueg commented 2 months ago

build & run RUST_BACKTRACE=1 XRAY_SRC_PATH=. script/xray . , open xray_ui/lib/app.js with the editor, then panic occurs.

thread 'main' panicked at 'index out of bounds: the len is 29 but the index is 29', libcore/slice/mod.rs:2460:10 stack backtrace: 0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace 1: std::sys_common::backtrace::print 2: std::panicking::default_hook::{{closure}} 3: std::panicking::default_hook 4: std::panicking::rust_panic_with_hook 5: std::panicking::continue_panic_fmt 6: rust_begin_unwind 7: core::panicking::panic_fmt 8: core::panicking::panic_bounds_check 9: ::render 10: ::poll 11: <futures::stream::map::Map<S, F> as futures::stream::Stream>::poll 12: <futures::sink::send_all::SendAll<T, U> as futures::future::Future>::poll