We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x9ccfb2] goroutine 72934 [running]: github.com/victorcoder/dkron/dkron.(*AgentCommand).processFilteredNodes(0xc4201b67e0, 0x0, 0xef9180, 0xc4200156a0, 0xef9100, 0xc42018ff00, 0xc420281220, 0x403b2d) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/agent.go:590 +0x72 github.com/victorcoder/dkron/dkron.(*AgentCommand).RunQuery(0xc4201b67e0, 0xc42009a000) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/queries.go:39 +0xe9 github.com/victorcoder/dkron/dkron.(*Job).Run(0xc420130fc0) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/job.go:110 +0x344 created by github.com/victorcoder/dkron/cron.(*Cron).run /Users/victorcoder/src/github.com/victorcoder/dkron/cron/cron.go:159 +0x451
panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x9ccfb2]
goroutine 72934 [running]: github.com/victorcoder/dkron/dkron.(*AgentCommand).processFilteredNodes(0xc4201b67e0, 0x0, 0xef9180, 0xc4200156a0, 0xef9100, 0xc42018ff00, 0xc420281220, 0x403b2d) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/agent.go:590 +0x72 github.com/victorcoder/dkron/dkron.(*AgentCommand).RunQuery(0xc4201b67e0, 0xc42009a000) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/queries.go:39 +0xe9 github.com/victorcoder/dkron/dkron.(*Job).Run(0xc420130fc0) /Users/victorcoder/src/github.com/victorcoder/dkron/dkron/job.go:110 +0x344 created by github.com/victorcoder/dkron/cron.(*Cron).run /Users/victorcoder/src/github.com/victorcoder/dkron/cron/cron.go:159 +0x451
It is caused by ignoring error returning by a.store.GetJob in AgentCommand.RunQuery.
The text was updated successfully, but these errors were encountered:
Why GetJob is not working in this case?
GetJob
Sorry, something went wrong.
because the store is temporarily down.
888a758
Merge pull request #290 from johnnyjian/fix-289
2ab8ce9
Fix #289. Handle getting job error.
No branches or pull requests
It is caused by ignoring error returning by a.store.GetJob in AgentCommand.RunQuery.
The text was updated successfully, but these errors were encountered: