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

Missing error check in fielpath.WalkFunc #2

Open
geropl opened this issue Aug 5, 2020 · 0 comments · May be fixed by #3
Open

Missing error check in fielpath.WalkFunc #2

geropl opened this issue Aug 5, 2020 · 0 comments · May be fixed by #3

Comments

@geropl
Copy link

geropl commented Aug 5, 2020

Stacktrace:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x5584e9]

goroutine 1 [running]:
github.com/32leaves/bel.NewParsedSourceEnumHandler.func1(0x615603, 0x15, 0x0, 0x0, 0x653880, 0xc000100b10, 0x40, 0x5f6a00)
	/workspace/go/pkg/mod/github.com/32leaves/[email protected]/enum.go:32 +0x49
path/filepath.Walk(0x615603, 0x15, 0xc0001318e0, 0x0, 0x1000000006595a0)
	/home/gitpod/go/src/path/filepath/path.go:404 +0x6a
github.com/32leaves/bel.NewParsedSourceEnumHandler(0x615603, 0x15, 0x0, 0x0, 0x653880)
	/workspace/go/pkg/mod/github.com/32leaves/[email protected]/enum.go:31 +0xf7
main.main()
	/tmp/build/gitpod-core-components-licensor-typescript--lib.b4eb6140f12b76cf914379726822bcd956b92256/ee/genapi.go:25 +0x8f
exit status 2
@geropl geropl linked a pull request Aug 5, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant