I have a proble with solr
$knife search node
WARN: HTTP Request Returned 500 Internal Server Error: 500
"null__javalangNullPointerException_"
/usr/lib/ruby/1.8/net/http.rb:2097:in error!': 500 "Internal Server Error" (Net::HTTPFatalError) from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:229:in
api_request’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:280:in
retriable_rest_request' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:210:in
api_request’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/rest.rb:110:in
get_rest' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/search/query.rb:37:in
search’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife/search.rb:67:in
run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/knife.rb:127:in
run’
from
/usr/lib/ruby/gems/1.8/gems/chef-0.9.8/lib/chef/application/knife.rb:118
:in run' from /usr/lib/ruby/gems/1.8/gems/chef-0.9.8/bin/knife:25 from /usr/bin/knife:19:in
load’
from /usr/bin/knife:19
$tail -f solr.log
Oct 11, 2010 10:36:40 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
Oct 11, 2010 10:36:40 AM org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select
params={indent=off&start=0&q=&wt=ruby&fq=%2BX_CHEF_database_CHEF_X:chef+
%2BX_CHEF_type_CHEF_X:node&rows=20} status=500 QTime=1
Oct 11, 2010 10:36:40 AM org.apache.solr.common.SolrException log
SEVERE: java.lang.NullPointerException
I remove solr index, restart chef-solr and rebuild index using knife but
it does not help
Can anyone have some idea why ?