Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime error index out of range #1

Open
jzarca01 opened this issue Jul 18, 2023 · 0 comments
Open

runtime error index out of range #1

jzarca01 opened this issue Jul 18, 2023 · 0 comments

Comments

@jzarca01
Copy link

jzarca01 commented Jul 18, 2023

hi there,

every time I try to run the program, it immediately crashes with this error

decode-vanmoof-blt-packages \
    -encryptionKey "5825xxxxxxxxxxxxx" \
    -bikeId "ax:xx:xx:xx:xx" \
    -file "bt_snoop.log" <-- exported from PacketLogger as btsnoop
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.parseEvent({0xc0001839f8, 0x2d, 0x51038}, 0xc00011e1b6?)
	/Users/jeremie/go/pkg/mod/github.com/mjarkk/[email protected]/main.go:520 +0x63a
main.parseData({0xc0001839f8?, 0x8?, 0x10ecebd?}, 0xc000147e60?)
	/Users/jeremie/go/pkg/mod/github.com/mjarkk/[email protected]/main.go:142 +0x8d
main.main()
	/Users/jeremie/go/pkg/mod/github.com/mjarkk/[email protected]/main.go:107 +0x6a6

what do I do wrong ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant