Sysmo DB

undefined method `closed?' for nil:NilClass when running rake solr:start

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 0.9.0
  • Component/s: None
  • Labels:
    None

Description

When trying rake solr:start or rake solr:reindex I have started getting:

rake aborted!
undefined method `closed?' for nil:NilClass

(See full trace by running task with --trace)

since upgrading to Ubuntu 10.04. This has also been reported externally.

I also get these errors if rolling back to older versions of SEEK, and I've not been getting this on the production server (Debian) .

Seems to be something related to the version of ruby installed with Ubuntu 10.04

May be related to
http://redmine.ruby-lang.org/issues/show/2708

Activity

Hide
Stuart Owen added a comment - 2010-07-29 11:58

fixed simply by catching the NoMethodError. This error only occurs when Errno::ECONNREFUSED should have been thrown instead.

Show
Stuart Owen added a comment - 2010-07-29 11:58 fixed simply by catching the NoMethodError. This error only occurs when Errno::ECONNREFUSED should have been thrown instead.

People

Vote (0)
Watch (0)

Dates

  • Created:
    2010-05-17 15:14
    Updated:
    2010-07-29 11:58
    Resolved:
    2010-07-29 11:58