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

panic on .htsf malformed file #25

Open
tmornini opened this issue Jul 21, 2017 · 0 comments
Open

panic on .htsf malformed file #25

tmornini opened this issue Jul 21, 2017 · 0 comments

Comments

@tmornini
Copy link
Owner

tmornini commented Jul 21, 2017

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

goroutine 10 [running]:
main.messageFromFile(0xc4200e4820, 0x0, 0xc4201b2730, 0x0)
	/go/src/github.com/tmornini/http-spec/type-message.go:52 +0x1ea
main.responseFromFile(0xc4200e4820, 0xc4200ea2f0, 0x0, 0x0)
	/go/src/github.com/tmornini/http-spec/type-message-response.go:6 +0x2f
main.specTripletIterator(0xc4200e4820)
	/go/src/github.com/tmornini/http-spec/03-spec-triplet-iterator.go:17 +0xc6
main.specFileProcessor(0x0, 0x0, 0x0, 0x0, 0x0, 0xee6b280, 0x0, 0x0, 0x14, 0x7fff3b524ce2, ...)
	/go/src/github.com/tmornini/http-spec/02-spec-file-processor.go:52 +0x439
created by main.specFileScatter
	/go/src/github.com/tmornini/http-spec/01-spec-file-scatterer.go:10 +0x10d
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