{"action":"closed","issue":{"url":"https://api.github.com/repos/lsegal/yard/issues/895","labels_url":"https://api.github.com/repos/lsegal/yard/issues/895/labels{/name}","comments_url":"https://api.github.com/repos/lsegal/yard/issues/895/comments","events_url":"https://api.github.com/repos/lsegal/yard/issues/895/events","html_url":"https://github.com/lsegal/yard/issues/895","id":102794738,"number":895,"title":"Fails to generate documentation for Ruby 2.2.3 core","user":{"login":"olistik","id":21038,"avatar_url":"https://avatars.githubusercontent.com/u/21038?v=3","gravatar_id":"","url":"https://api.github.com/users/olistik","html_url":"https://github.com/olistik","followers_url":"https://api.github.com/users/olistik/followers","following_url":"https://api.github.com/users/olistik/following{/other_user}","gists_url":"https://api.github.com/users/olistik/gists{/gist_id}","starred_url":"https://api.github.com/users/olistik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olistik/subscriptions","organizations_url":"https://api.github.com/users/olistik/orgs","repos_url":"https://api.github.com/users/olistik/repos","events_url":"https://api.github.com/users/olistik/events{/privacy}","received_events_url":"https://api.github.com/users/olistik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-24T13:37:10Z","updated_at":"2015-10-19T22:32:15Z","closed_at":"2015-10-19T22:32:15Z","body":"Here's my environment:\r\n\r\n```\r\nಠ_ಠ ruby -v\r\nruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]\r\nಠ_ಠ uname -a\r\nDarwin titan.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64\r\nಠ_ಠ rvm -v\r\nrvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]\r\nಠ_ಠ yard --version\r\nyard 0.8.7.6\r\n```\r\n\r\nand here's the [gist](https://gist.github.com/olistik/c8b59585ffd8ff468be7) with the steps that reproduce the bug:\r\n\r\n```\r\nಠ_ಠ wget https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.3.tar.bz2\r\nಠ_ಠ tar xvfj ruby-2.2.3.tar.bz2\r\nಠ_ಠ cd ruby-2.2.3\r\nಠ_ಠ yardoc --debug *.c\r\n# ...\r\n[error]: Exception occurred while generating 'IO.html'\r\n[error]: NoMethodError: undefined method `length' for nil:NilClass\r\n[error]: Stack trace:\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/parser/ruby/ruby_parser.rb:210:in `on_ignored_nl'\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/parser/ruby/ruby_parser.rb:50:in `parse'\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/parser/ruby/ruby_parser.rb:50:in `parse'\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/parser/ruby/ruby_parser.rb:15:in `parse'\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/parser/base.rb:18:in `parse'\r\n\t/Users/olistik/.rvm/gems/ruby-2.2.2/gems/yard-0.8.7.6/lib/yard/templates/helpers/html_syntax_highlight_helper.rb:20:in `html_syntax_highlight_ruby_ripper'\r\n\r\n[debug]: Serializing to doc/IO/EAGAINWaitReadable.html\r\n[debug]: Serializing to doc/IO/EAGAINWaitWritable.html\r\n[debug]: Serializing to doc/IO/EWOULDBLOCKWaitReadable.html\r\n[debug]: Serializing to doc/IO/EWOULDBLOCKWaitWritable.html\r\n[debug]: Serializing to doc/IO/EINPROGRESSWaitReadable.html\r\n[debug]: Serializing to doc/IO/EINPROGRESSWaitWritable.html\r\n[debug]: Serializing to doc/File.html\r\n[debug]: Serializing to doc/Complex/compatible.html\r\nFiles:          47\r\nModules:        17 (   10 undocumented)\r\nClasses:       104 (   20 undocumented)\r\nConstants:     118 (   23 undocumented)\r\nMethods:      1665 (   36 undocumented)\r\n 95.33% documented\r\nಠ_ಠ\r\n```"}}