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

NoMethodError: undefined method `[]' for nil #350

Closed
yegor256 opened this issue Sep 24, 2024 · 5 comments · Fixed by #351
Closed

NoMethodError: undefined method `[]' for nil #350

yegor256 opened this issue Sep 24, 2024 · 5 comments · Fixed by #351
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yegor256
Copy link
Member

I found it here:

D: Octokit::Client.pull_request_comments("zerocracy/judges-action", 349) in 142ms
D: Octokit::Client.issue_comments("zerocracy/judges-action", 349) in 160ms
D: Octokit::Client.issue_comment_reactions("zerocracy/judges-action", 23693[304](https://github.com/zerocracy/judges-action/actions/runs/11005314143/job/30557758445#step:5:305)00) in 136ms
D: Octokit::Client.issue_comment_reactions("zerocracy/judges-action", 2369334861) in 149ms
D: Octokit::Client.issue_comment_reactions("zerocracy/judges-action", 2369423760) in 167ms
NoMethodError: undefined method `[]' for nil
	/action/judges/github-events/github-events.rb:97:in `comments_info'
	/action/judges/github-events/github-events.rb:191:in `fill_up_event'
	/action/judges/github-events/github-events.rb:320:in `block (4 levels) in <top (required)>'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase/looged.rb:65:in `block in txn'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase/rules.rb:73:in `block in txn'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase.rb:168:in `txn'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase/rules.rb:72:in `txn'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase/pre.rb:62:in `txn'
	/usr/local/bundle/gems/factbase-0.4.0/lib/factbase/looged.rb:63:in `txn'
	/action/judges/github-events/github-events.rb:[311](https://github.com/zerocracy/judges-action/actions/runs/11005314143/job/30557758445#step:5:312):in `block (3 levels) in <top (required)>'
	/action/judges/github-events/github-events.rb:299:in `each'
	/action/judges/github-events/github-events.rb:299:in `each_with_index'
	/action/judges/github-events/github-events.rb:299:in `block (2 levels) in <top (required)>'
@yegor256 yegor256 added bug Something isn't working help wanted Extra attention is needed labels Sep 24, 2024
@Suban05
Copy link
Contributor

Suban05 commented Sep 24, 2024

@yegor256 I can help

Suban05 added a commit to Suban05/judges-action that referenced this issue Sep 24, 2024
@yegor256
Copy link
Member Author

@Suban05 ok, it's yours

yegor256 added a commit that referenced this issue Sep 24, 2024
#350 NoMethodError: undefined method `[]` for nil
@yegor256
Copy link
Member Author

@rultor release, tag is 0.0.53

@rultor
Copy link
Contributor

rultor commented Sep 24, 2024

@rultor release, tag is 0.0.53

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Contributor

rultor commented Sep 24, 2024

@rultor release, tag is 0.0.53

@yegor256 Done! FYI, the full log is here (took me 30min)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants