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

The Nokogiri Java native build throws a null pointer exception when ActiveSupport's .blank? method is called directly on a parsed object. #489

Closed
tatyree opened this issue Jul 8, 2011 · 2 comments

Comments

@tatyree
Copy link

tatyree commented Jul 8, 2011

This does not happen with the non Java version.

I've created a small test suite to demonstrate the problem. You can find it here:

https://github.com/tatyree/nokogiri_jruby_blank_issue

@yokolet
Copy link
Member

yokolet commented Jul 8, 2011

Thanks for reporting. I fixed the bug in rev. 64da567

Also I added a test of blank? method in test/xml/test_node.rb not to make a regression.

@yokolet yokolet closed this as completed Jul 8, 2011
@tatyree
Copy link
Author

tatyree commented Jul 8, 2011

De nada. Thanks for the quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants