8000 index out of range bug · Issue #7 · bashtian/jsonutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

index out of range bug #7

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

Open
Davst opened this issue Nov 12, 2018 · 0 comments
Open

index out of range bug #7

Davst opened this issue Nov 12, 2018 · 0 comments

Comments

@Davst
Copy link
Davst commented Nov 12, 2018

Fails to complete for: https://github.com/brather1ng/RePoE/blob/master/data/stat_translations/monster.json

panic: runtime error: index out of range

goroutine 1 [running]:
github.com/bashtian/jsonutils.(*Model).parse(0xc000050740, 0x743de0, 0xc000062880, 0xc000068530, 0xe)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:219 +0x977
github.com/bashtian/jsonutils.(*Model).parseMap(0xc000050740, 0xc00007cff0)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:180 +0xd8
github.com/bashtian/jsonutils.(*Model).parse.func1()
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:222 +0x3a
github.com/bashtian/jsonutils.(*Model).printObject(0xc000050740, 0xc000068510, 0x7, 0x7c78ad, 0x8, 0xc000085cf8)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:321 +0x164
github.com/bashtian/jsonutils.(*Model).parse(0xc000050740, 0x743de0, 0xc0000628a0, 0xc000068510, 0x7)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:222 +0x4f4
github.com/bashtian/jsonutils.(*Model).parseMap(0xc000050740, 0xc00007cfc0)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:180 +0xd8
github.com/bashtian/jsonutils.(*Model).writeGo.func1(0xc00007cfc0)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:126 +0x3b
github.com/bashtian/jsonutils.(*Model).print(0xc000050740, 0xc000085e30, 0x7d7c23, 0x30)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:173 +0xe6
github.com/bashtian/jsonutils.(*Model).writeGo(0xc000050740)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:127 +0x6a
github.com/bashtian/jsonutils.(*Model).WriteGo(0xc000050740)
        C:/Users/home/go/src/github.com/bashtian/jsonutils/jsonutils.go:110 +0x99
main.main()
        C:/Users/home/go/src/github.com/bashtian/jsonutils/cmd/jsonutil/main.go:63 +0x270

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
0