{"action":"created","issue":{"url":"https://api.github.com/repos/grosser/parallel_tests/issues/355","labels_url":"https://api.github.com/repos/grosser/parallel_tests/issues/355/labels{/name}","comments_url":"https://api.github.com/repos/grosser/parallel_tests/issues/355/comments","events_url":"https://api.github.com/repos/grosser/parallel_tests/issues/355/events","html_url":"https://github.com/grosser/parallel_tests/issues/355","id":51827570,"number":355,"title":"The error occurred while evaluating nil.empty? (NoMethodError)","user":{"login":"zedtux","id":478564,"avatar_url":"https://avatars.githubusercontent.com/u/478564?v=3","gravatar_id":"","url":"https://api.github.com/users/zedtux","html_url":"https://github.com/zedtux","followers_url":"https://api.github.com/users/zedtux/followers","following_url":"https://api.github.com/users/zedtux/following{/other_user}","gists_url":"https://api.github.com/users/zedtux/gists{/gist_id}","starred_url":"https://api.github.com/users/zedtux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zedtux/subscriptions","organizations_url":"https://api.github.com/users/zedtux/orgs","repos_url":"https://api.github.com/users/zedtux/repos","events_url":"https://api.github.com/users/zedtux/events{/privacy}","received_events_url":"https://api.github.com/users/zedtux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-12T16:53:54Z","updated_at":"2015-01-08T05:30:53Z","closed_at":null,"body":"Hello,\r\n\r\nMy build has failed with the following issue:\r\n\r\n    .You have a nil object when you didn't expect it!\r\n    You might have expected an instance of Array.\r\n    The error occurred while evaluating nil.empty? (NoMethodError)\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/parallel_tests-1.0.7/lib/parallel_tests/cucumber/failures_logger.rb:14:in `after_feature'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:174:in `__send__'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:174:in `send_to_all'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:172:in `each'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:172:in `send_to_all'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:165:in `broadcast'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/features.rb:29:in `accept'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/features.rb:17:in `each'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/features.rb:17:in `each'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/features.rb:28:in `accept'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:14:in `visit_features'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:164:in `broadcast'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/runtime.rb:45:in `run!'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/cli/main.rb:43:in `execute!'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/../lib/cucumber/cli/main.rb:20:in `execute'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/gems/cucumber-0.10.5/bin/cucumber:14\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/bin/cucumber:19:in `load'\r\n    /home/gitlabci/gitlab-ci-runner-compatibility_1.8.7/tmp/builds/project-2/vendor/bundle/ruby/1.8/bin/cucumber:19\r\n\r\nIt seems that in this `after_failure` method we don't expect to have a nil `@line` while here in my case I have it."},"comment":{"url":"https://api.github.com/repos/grosser/parallel_tests/issues/comments/69137940","html_url":"https://github.com/grosser/parallel_tests/issues/355#issuecomment-69137940","issue_url":"https://api.github.com/repos/grosser/parallel_tests/issues/355","id":69137940,"user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T05:30:53Z","updated_at":"2015-01-08T05:30:53Z","body":"can you make a PR to fix it ?"}}