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

Do not set nil value to java.util.Properties #1763

Conversation

jlahtinen
Copy link
Contributor

This returns easier to understand error message

Before this error in default full rails engine

Failure/Error: ActiveRecord::Migration.maintain_test_schema!

LoadError:
  load error: rails_helper -- java.lang.NullPointerException: null
# .rvm/gems/jruby-9.1.13.0/gems/activesupport-5.2.1/lib/active_support/dependencies.rb:287:in `block in require'

After this

Failure/Error: ActiveRecord::Migration.maintain_test_schema!

RuntimeError:
  password not set
# gems/oracle-enhanced/lib/active_record/connection_adapters/oracle_enhanced/jdbc_connection.rb:129:in `new_connection'```

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

Successfully merging this pull request may close these issues.

None yet

2 participants