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

undefined method `write' for nil:NilClass #382

Closed
gupta-kanika-dev opened this issue Nov 20, 2020 · 1 comment
Closed

undefined method `write' for nil:NilClass #382

gupta-kanika-dev opened this issue Nov 20, 2020 · 1 comment

Comments

@gupta-kanika-dev
Copy link

net-ldap version: 0.16.0
Problem: While doing socket.write at https://github.com/ruby-ldap/ruby-net-ldap/blob/release-0.16.0/lib/net/ldap/connection.rb#L261 fails with exception: "undefined method `write' for nil:NilClass"

Looking at the error, it seems that socket from https://github.com/ruby-ldap/ruby-net-ldap/blob/release-0.16.0/lib/net/ldap/connection.rb#L688 is coming as nil.

@HarlemSquirrel
Copy link
Member

Fixed by #383

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