I have 2 branches: develop and another one in which I make my changes.
Everything was OK until I checked my develop branch and found it was bit ahead of my branch and there where some ruby gem updates.
I checked out my develop branch and wanted to check whats going on with tests, so run RSpec tests, and found that all tests failed, so I decided to try running tests on my branch. When I changed branches I did the bundle update
again, and run the tests and they failed all too. Before I updated the gems in develop test where passing.
The tests showed that something is wrong with Solar, so went in console and wanted to index it, and it showed this:
Indexing Irec::Application
rake aborted!
RSolr::Error::Http: RSolr::Error::Http - 500 Internal Server Error
Error: Server Error</pre></p><h3>Caused by:</h3><pre>java.lang.NullPointerException
at org.apache.solr.servlet.SolrDispatchFilter.authenticateRequest(SolrDispatchFilter.java:241)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:186)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
URI: http://localhost:8982/solr/development/update?wt=ruby
Request Headers: {"Content-Type"=>"text/xml"}
Request Data: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><add><doc>
I tried some suggested things I found elsewhere on Stack Overflow, but they didn't fix my issue. Does anybody know how I can fix this error?