I am getting the below error when I am working with nokogiri version
1.4.3.1
“!! Unexpected error while processing request: undefined method
`children’ for nil:NilClass”.
But my app works great with the other version 1.4.1
Senthil kumar Loganathan wrote:
I am getting the below error when I am working with nokogiri version
1.4.3.1
“!! Unexpected error while processing request: undefined method
`children’ for nil:NilClass”.
Can you post the full error with backtrace? All I can tell from that is
that somewhere in the code is a line like
… foo.children …
but foo is nil at that point.
But my app works great with the other version 1.4.1
Can you make a small standalone app which replicates the problem? Or
even better, a failing test case? That would make it much easier for the
authors to pinpoint the problem.