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

Error when no payload #18

Open
back2arie opened this issue Apr 16, 2019 · 0 comments
Open

Error when no payload #18

back2arie opened this issue Apr 16, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@back2arie
Copy link

My config.json:

{
  "headers": {
      "Content-Type": "application/json"
  }
}

Run:
$ gubrak -m get -r 10 -c config.json -u "http://localhost/"

Output:

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

goroutine 1 [running]:
github.com/Bhinneka/gubrak.Scan(0xc000082300, 0xc00000e038, 0xc0000184a4, 0x3, 0x7ffeefbffa0e, 0x23, 0x0, 0x0, 0xc00008ee10, 0xa)
	/Users/wurianto/Documents/github/gubrak/worker.go:29 +0x123
github.com/Bhinneka/gubrak.(*Gubrak).Run(0xc00000c420)
	/Users/wurianto/Documents/github/gubrak/gubrak.go:64 +0x1b1
main.main()
	/Users/wurianto/Documents/github/gubrak/cmd/gubrak/main.go:33 +0x248
@wuriyanto48 wuriyanto48 added the bug Something isn't working label Apr 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants