Created
August 14, 2012 13:37
-
-
Save JDutil/3349310 to your computer and use it in GitHub Desktop.
Solr Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSolr::Error::InvalidRubyResponse in Admin::SubstancesController#rescore | |
RSolr::Error::InvalidRubyResponse - 200 OK | |
Error: <result status="1">java.lang.NullPointerException | |
at org.apache.solr.handler.XmlUpdateRequestHandler.doLegacyUpdate(XmlUpdateRequestHandler.java:132) | |
at org.apache.solr.servlet.SolrUpdateServlet.doPost(SolrUpdateServlet.java:87) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) | |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) | |
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221) | |
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:306) | |
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) | |
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) | |
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) | |
Request Data: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><add><doc><field name=\"id\">Substance 2290</field><field name=\"type\">Substance</field><field name=\"type\">ActiveRecord::Base</field><field name=\"class_name\">Substance</field><field name=\"search_show_b\">true</field><field name=\"searchname_s\">Substance</field><field name=\"grade_best_s\">C</field><field name=\"grade_worst_s\">D</field><field boost=\"2\" name=\"substance_names_text\">FRAGRANCE</field><field boost=\"2\" name=\"substance_names_text\">PARFUM</field><field name=\"cas_text\"></field></doc></add>" | |
Backtrace: /usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:259:in `rescue in evaluate_ruby_response' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:256:in `evaluate_ruby_response' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:231:in `adapt_response' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:167:in `execute' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:161:in `send_and_receive' | |
(eval):2:in `post' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:67:in `update' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rsolr-1.0.8/lib/rsolr/client.rb:87:in `add' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/sunspot-1.3.3/lib/sunspot/indexer.rb:101:in `add_documents' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/sunspot-1.3.3/lib/sunspot/indexer.rb:26:in `add' | |
/usr/local/Cellar/rbenv/0.3.0/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/sunspot-1.3.3/lib/sunspot/session.rb:91:in `index' | |
app/models/substance.rb:307:in `store_scores' | |
app/models/substance.rb:298:in `create_score' | |
app/controllers/admin/substances_controller.rb:109:in `rescore' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment