Nokogiri error

  • Thread starter Senthil kumar Loganathan
  • Start date
S

Senthil kumar Loganathan

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
 
B

Brian Candler

Senthil said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,371
Latest member
Brkaa

Latest Threads

Top