{"action":"created","issue":{"url":"https://api.github.com/repos/interagent/prmd/issues/175","labels_url":"https://api.github.com/repos/interagent/prmd/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/interagent/prmd/issues/175/comments","events_url":"https://api.github.com/repos/interagent/prmd/issues/175/events","html_url":"https://github.com/interagent/prmd/pull/175","id":46971062,"number":175,"title":"Add better error checking","user":{"login":"RX14","id":2788811,"avatar_url":"https://avatars.githubusercontent.com/u/2788811?v=3","gravatar_id":"","url":"https://api.github.com/users/RX14","html_url":"https://github.com/RX14","followers_url":"https://api.github.com/users/RX14/followers","following_url":"https://api.github.com/users/RX14/following{/other_user}","gists_url":"https://api.github.com/users/RX14/gists{/gist_id}","starred_url":"https://api.github.com/users/RX14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RX14/subscriptions","organizations_url":"https://api.github.com/users/RX14/orgs","repos_url":"https://api.github.com/users/RX14/repos","events_url":"https://api.github.com/users/RX14/events{/privacy}","received_events_url":"https://api.github.com/users/RX14/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2014-10-27T23:06:11Z","updated_at":"2015-09-01T14:09:02Z","closed_at":"2015-09-01T14:09:02Z","pull_request":{"url":"https://api.github.com/repos/interagent/prmd/pulls/175","html_url":"https://github.com/interagent/prmd/pull/175","diff_url":"https://github.com/interagent/prmd/pull/175.diff","patch_url":"https://github.com/interagent/prmd/pull/175.patch"},"body":"I am on `jruby-1.7.16-d19` with prmd `0.6.2` at `d2897` and my rake tasks fail to run:\r\n```\r\n$ rake schema --trace\r\n** Invoke schema (first_time)\r\n** Invoke schema:combine (first_time)\r\n** Execute schema:combine\r\nrake aborted!\r\nTypeError: can't convert nil into Hash\r\norg/jruby/RubyHash.java:1737:in `merge!'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bundler/gems/prmd-d28977070dcb/lib/prmd/core/combiner.rb:61:in `combine'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bundler/gems/prmd-d28977070dcb/lib/prmd/commands/combine.rb:84:in `combine'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bundler/gems/prmd-d28977070dcb/lib/prmd/commands/combine.rb:98:in `combine'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bundler/gems/prmd-d28977070dcb/lib/prmd/rake_tasks/combine.rb:40:in `define'\r\norg/jruby/RubyProc.java:271:in `call'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:240:in `execute'\r\norg/jruby/RubyArray.java:1613:in `each'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:179:in `invoke_with_call_chain'\r\n/home/rx14/.rvm/rubies/jruby-1.7.16-d19/lib/ruby/2.0/monitor.rb:211:in `mon_synchronize'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'\r\norg/jruby/RubyArray.java:1613:in `each'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'\r\n/home/rx14/.rvm/rubies/jruby-1.7.16-d19/lib/ruby/2.0/monitor.rb:211:in `mon_synchronize'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'\r\norg/jruby/RubyArray.java:1613:in `each'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:78:in `run'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/gems/rake-10.3.2/bin/rake:33:in `(root)'\r\norg/jruby/RubyKernel.java:1081:in `load'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bin/rake:1:in `(root)'\r\norg/jruby/RubyKernel.java:1101:in `eval'\r\n/home/rx14/.rvm/gems/jruby-1.7.16-d19@satapi/bin/jruby_executable_hooks:15:in `(root)'\r\nTasks: TOP => schema => schema:combine\r\n```\r\n\r\nRakefile:\r\n```ruby\r\nrequire \"prmd/rake_tasks/combine\"\r\nrequire \"prmd/rake_tasks/verify\"\r\nrequire \"prmd/rake_tasks/doc\"\r\n\r\nrepo_root = File.absolute_path(\"#{__dir__}/../../\")\r\n\r\nnamespace :schema do\r\n    Prmd::RakeTasks::Combine.new do |t|\r\n        t.options[:meta] = \"#{repo_root}/docs/schema/meta.json\"\r\n        t.paths << \"#{repo_root}/docs/schema/schemata\"\r\n        t.output_file = \"#{repo_root}/docs/schema/api.json\"\r\n    end\r\n\r\n    Prmd::RakeTasks::Verify.new do |t|\r\n        t.files << \"#{repo_root}/docs/schema/api.json\"\r\n    end\r\n\r\n    Prmd::RakeTasks::Doc.new do |t|\r\n        t.files = { \"#{repo_root}/docs/schema/api.json\" => \"#{repo_root}/docs/schema/api.md\" }\r\n    end\r\nend\r\n\r\ntask schema: [\"schema:combine\", \"schema:verify\", \"schema:doc\"]\r\n```\r\n\r\nI am quite tired right now from troubleshooting right now so I must go to bed. I will provide more details if required in the morning."},"comment":{"url":"https://api.github.com/repos/interagent/prmd/issues/comments/136734014","html_url":"https://github.com/interagent/prmd/pull/175#issuecomment-136734014","issue_url":"https://api.github.com/repos/interagent/prmd/issues/175","id":136734014,"user":{"login":"geemus","id":4138,"avatar_url":"https://avatars.githubusercontent.com/u/4138?v=3","gravatar_id":"","url":"https://api.github.com/users/geemus","html_url":"https://github.com/geemus","followers_url":"https://api.github.com/users/geemus/followers","following_url":"https://api.github.com/users/geemus/following{/other_user}","gists_url":"https://api.github.com/users/geemus/gists{/gist_id}","starred_url":"https://api.github.com/users/geemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geemus/subscriptions","organizations_url":"https://api.github.com/users/geemus/orgs","repos_url":"https://api.github.com/users/geemus/repos","events_url":"https://api.github.com/users/geemus/events{/privacy}","received_events_url":"https://api.github.com/users/geemus/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T14:09:02Z","updated_at":"2015-09-01T14:09:02Z","body":"Closing this for now, but feel free to reopen when you get a chance (and I'll try to help get some other improved error checking in also). Thanks!"}}