{"action":"created","issue":{"url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/1145","repository_url":"https://api.github.com/repos/rsim/oracle-enhanced","labels_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/1145/labels{/name}","comments_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/1145/comments","events_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/1145/events","html_url":"https://github.com/rsim/oracle-enhanced/issues/1145","id":202401395,"number":1145,"title":"undefined method `split' for nil:NilClass when tested with JRuby 9.0.5 and rails master branch","user":{"login":"yahonda","id":73684,"avatar_url":"https://avatars.githubusercontent.com/u/73684?v=3","gravatar_id":"","url":"https://api.github.com/users/yahonda","html_url":"https://github.com/yahonda","followers_url":"https://api.github.com/users/yahonda/followers","following_url":"https://api.github.com/users/yahonda/following{/other_user}","gists_url":"https://api.github.com/users/yahonda/gists{/gist_id}","starred_url":"https://api.github.com/users/yahonda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahonda/subscriptions","organizations_url":"https://api.github.com/users/yahonda/orgs","repos_url":"https://api.github.com/users/yahonda/repos","events_url":"https://api.github.com/users/yahonda/events{/privacy}","received_events_url":"https://api.github.com/users/yahonda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-22T18:51:20Z","updated_at":"2017-01-24T16:59:04Z","closed_at":"2017-01-24T16:59:04Z","body":"#### Environment\r\n- Oracle enhanced adapter master branch\r\n- $ ruby -v\r\njruby 9.0.5.0 (2.2.3) 2016-01-26 7bee00d OpenJDK 64-Bit Server VM 25.111-b16 on 1.8.0_111-b16 +jit [linux-amd64]\r\n- Rails master brach including https://github.com/rails/rails/commit/9360b6be63b7a452535699bcf6ae853df7f5eea7\r\n- Oracle Database 11.2.0 Express Edition also Oracle Database 12.1.0.2 Enterprise Edition\r\n\r\nIt does NOT reproduce when any of these conditions are satisified:\r\n- JRuby 9.1.6.0\r\n- Use JRuby 9.0.4.0\r\n- Revert https://github.com/rails/rails/commit/9360b6be63b7a452535699bcf6ae853df7f5eea7\r\n\r\n```ruby\r\n$ bundle exec rspec ./spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb:180 \r\n\r\nCoverage may be inaccurate; set the \"--debug\" command line option, or do JRUBY_OPTS=\"--debug\" or set the \"debug.fullTrace=true\" option in your .jrubyrc\r\n/home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/bundler/gems/simplecov-9912a0dfb479/lib/simplecov.rb:48: warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag\r\n==> Loading config from ENV or use default\r\n==> Running specs with JRuby version 9.0.5.0\r\n/home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/bundler/gems/ruby-plsql-439c68ae933c/lib/plsql/variable.rb:87: warning: shadowing outer local variable - column\r\n==> Effective ActiveRecord version 5.1.0.alpha\r\nRun options: include {:locations=>{\"./spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb\"=>[180]}}\r\nDEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from schema_define at /home/yahonda/git/oracle-enhanced/spec/spec_helper.rb:112)\r\nDEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from schema_define at /home/yahonda/git/oracle-enhanced/spec/spec_helper.rb:112)\r\nDEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from schema_define at /home/yahonda/git/oracle-enhanced/spec/spec_helper.rb:112)\r\nFDEPRECATION WARNING: #table_exists? currently checks both tables and views. This behavior is deprecated and will be changed with Rails 5.1 to only check tables. Use #data_source_exists? instead. (called from schema_define at /home/yahonda/git/oracle-enhanced/spec/spec_helper.rb:112)\r\n\r\n\r\nFailures:\r\n\r\n  1) OracleEnhancedAdapter schema dump foreign key constraints should include foreign key in schema dump\r\n     Failure/Error: add_foreign_key :test_comments, :test_posts\r\n     \r\n     NoMethodError:\r\n       undefined method `split' for nil:NilClass\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb:13:in `accept'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb:78:in `visit_AddForeignKey'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb:27:in `block in visit_AlterTable'\r\n     # org/jruby/RubyArray.java:2300:in `map'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb:27:in `visit_AlterTable'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_creation.rb:14:in `accept'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb:922:in `add_foreign_key'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/migration.rb:851:in `block in method_missing'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/migration.rb:820:in `block in say_with_time'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/stdlib/benchmark.rb:288:in `measure'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/migration.rb:820:in `say_with_time'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/migration.rb:840:in `method_missing'\r\n     # ./spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb:182:in `block in (root)'\r\n     # org/jruby/RubyBasicObject.java:1633:in `instance_eval'\r\n     # ./spec/spec_helper.rb:114:in `block in schema_define'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/migration.rb:828:in `suppress_messages'\r\n     # ./spec/spec_helper.rb:113:in `block in schema_define'\r\n     # org/jruby/RubyBasicObject.java:1633:in `instance_eval'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/schema.rb:48:in `define'\r\n     # /home/yahonda/git/rails/activerecord/lib/active_record/schema.rb:44:in `define'\r\n     # ./spec/spec_helper.rb:112:in `schema_define'\r\n     # ./spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb:181:in `block in (root)'\r\n     # org/jruby/RubyBasicObject.java:1670:in `instance_exec'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:254:in `block in run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `block in with_around_and_singleton_context_hooks'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `block in with_around_example_hooks'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `block in run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:602:in `run_around_example_hooks_for'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/hooks.rb:464:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:453:in `with_around_example_hooks'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:496:in `with_around_and_singleton_context_hooks'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example.rb:251:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:627:in `block in run_examples'\r\n     # org/jruby/RubyArray.java:2300:in `map'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:623:in `run_examples'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:589:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `block in run'\r\n     # org/jruby/RubyArray.java:2300:in `map'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/example_group.rb:590:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block in run_specs'\r\n     # org/jruby/RubyArray.java:2300:in `map'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:113:in `block in run_specs'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/configuration.rb:1835:in `with_suite_hooks'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:112:in `block in run_specs'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/reporter.rb:77:in `report'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:111:in `run_specs'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:87:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:71:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/lib/rspec/core/runner.rb:45:in `invoke'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/rspec-core-3.5.4/exe/rspec:4:in `<top>'\r\n     # org/jruby/RubyKernel.java:955:in `load'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/bin/rspec:1:in `<top>'\r\n     # org/jruby/RubyKernel.java:955:in `load'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/bin/rspec:23:in `(root)'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:1:in `(root)'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:74:in `kernel_load'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli/exec.rb:27:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli.rb:332:in `exec'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli.rb:20:in `dispatch'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `block in start'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/cli.rb:11:in `start'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/lib/ruby/gems/shared/gems/bundler-1.13.7/exe/bundle:34:in `<top>'\r\n     # org/jruby/RubyKernel.java:955:in `load'\r\n     # /home/yahonda/.rbenv/versions/jruby-9.0.5.0/bin/bundle:23:in `<top>'\r\n\r\nFinished in 2.76 seconds (files took 4.19 seconds to load)\r\n1 example, 1 failure\r\n\r\nFailed examples:\r\n\r\nrspec ./spec/active_record/connection_adapters/oracle_enhanced_schema_dump_spec.rb:180 # OracleEnhancedAdapter schema dump foreign key constraints should include foreign key in schema dump\r\n\r\nCoverage report generated for RSpec to /home/yahonda/git/oracle-enhanced/coverage. 0 / 1983 LOC (0.0%) covered.\r\n$\r\n```"},"comment":{"url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/comments/274866430","html_url":"https://github.com/rsim/oracle-enhanced/issues/1145#issuecomment-274866430","issue_url":"https://api.github.com/repos/rsim/oracle-enhanced/issues/1145","id":274866430,"user":{"login":"yahonda","id":73684,"avatar_url":"https://avatars.githubusercontent.com/u/73684?v=3","gravatar_id":"","url":"https://api.github.com/users/yahonda","html_url":"https://github.com/yahonda","followers_url":"https://api.github.com/users/yahonda/followers","following_url":"https://api.github.com/users/yahonda/following{/other_user}","gists_url":"https://api.github.com/users/yahonda/gists{/gist_id}","starred_url":"https://api.github.com/users/yahonda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yahonda/subscriptions","organizations_url":"https://api.github.com/users/yahonda/orgs","repos_url":"https://api.github.com/users/yahonda/repos","events_url":"https://api.github.com/users/yahonda/events{/privacy}","received_events_url":"https://api.github.com/users/yahonda/received_events","type":"User","site_admin":false},"created_at":"2017-01-24T16:59:04Z","updated_at":"2017-01-24T16:59:04Z","body":"Closed by #1147."}}
{"actor":{"display_login":"yahonda"}}