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] with length 1 #2

Open
TimTheBeastNL opened this issue Feb 10, 2024 · 0 comments
Open

runtime error: index out of range [1] with length 1 #2

TimTheBeastNL opened this issue Feb 10, 2024 · 0 comments

Comments

@TimTheBeastNL
Copy link

Hi,
When i run the program I get the following error(s):

src % go run decode-vanmoof-blt-packages \
    -encryptionKey "x" \
    -bikeId "x" \
    -file "bt_snoop.log"
panic: runtime error: index out of range [1] with length 1

goroutine 1 [running]:
main.parseEvent({0xc0001800de, 0x16, 0x42a24}, 0xc0000121e6?)
	/usr/local/go/src/decode-vanmoof-blt-packages/main.go:520 +0x5f2
main.parseData({0xc0001800de?, 0x8?, 0x10eb659?}, 0xc000113e20?)
	/usr/local/go/src/decode-vanmoof-blt-packages/main.go:142 +0x7f
main.main()
	/usr/local/go/src/decode-vanmoof-blt-packages/main.go:107 +0x6ac
exit status 2
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