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

Broken on Rails 4.2.6 #6

Closed
jqr opened this issue Jul 28, 2016 · 1 comment
Closed

Broken on Rails 4.2.6 #6

jqr opened this issue Jul 28, 2016 · 1 comment

Comments

@jqr
Copy link
Contributor

jqr commented Jul 28, 2016

On Rails 4.2.6 (latest is 4.2.7), a NoMethodError is caused when receiving data after document creation. It looks to be related to rails/rails#25397 which is fixed in 4.2.7 and 5.0.0.

NoMethodError: undefined method `[]' for nil:NilClass
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.6/lib/active_support/logger_silence.rb:23:in `level'
from /app/vendor/bundle/ruby/2.2.0/gems/ethon-0.9.0/lib/ethon/easy/operations.rb:30:in `perform'
from /app/vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/request/operations.rb:16:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/request/cacheable.rb:18:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/request/block_connection.rb:31:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/request/stubbable.rb:25:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/typhoeus-0.8.0/lib/typhoeus/request/before.rb:26:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/docraptor-0.3.0/lib/docraptor/api_client.rb:37:in `call_api'
from /app/vendor/bundle/ruby/2.2.0/gems/docraptor-0.3.0/lib/docraptor/api/doc_api.rb:118:in `create_doc_with_http_info'
from /app/vendor/bundle/ruby/2.2.0/gems/docraptor-0.3.0/lib/docraptor/api/doc_api.rb:77:in `create_doc'
from (irb):7
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/console.rb:110:in `start'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/console.rb:9:in `start'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:68:in `console'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
from /app/bin/rails:8:in `require’
@janxious
Copy link
Contributor

janxious commented Aug 7, 2017

This is fixed by upgrading Rails to a new minor versions, won't fix.

@janxious janxious closed this as completed Aug 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants