Errors in Answers

When you try to view a page in the Answers section it takes you to a page with a javax servlet exception. Looks like someone forgot to define a field and it broke the query engine ("Caused by: org.apache.solr.common.SolrException: undefined field Whats").

The error displays as follows:

Please excuse me, that was very impolite! - javax.servlet.ServletException: solr Ex !
org.apache.solr.client.solrj.SolrServerException: Error executing query
at org.apache.solr.client.solrj.request.QueryRequest.process(
at org.apache.solr.client.solrj.SolrServer.query(
at com.instructables.solr.SolrSearchServlet.doGet(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.caucho.server.dispatch.ServletFilterChain.doFilter(
at com.caucho.filters.GzipFilter.doFilter(
at com.instructables.filter.FilterWrapperFilter.doFilter(
at com.caucho.server.dispatch.FilterFilterChain.doFilter(
at com.instructables.filter.HibernateSessionRequestFilter.doFilter(
at com.caucho.server.dispatch.FilterFilterChain.doFilter(
at com.instructables.filter.TemporaryProFilter.doFilter(
at com.caucho.server.dispatch.FilterFilterChain.doFilter(
at com.instructables.filter.SecurityFilter.doFilter(
at com.caucho.server.dispatch.FilterFilterChain.doFilter(
at com.instructables.filter.SetupFilter.doFilter(
at com.caucho.server.dispatch.FilterFilterChain.doFilter(
at com.caucho.server.webapp.WebAppFilterChain.doFilter(
at com.caucho.server.dispatch.ServletInvocation.service(
at com.caucho.server.http.HttpRequest.handleRequest(
at com.caucho.util.ThreadPool.runTasks(
Caused by: org.apache.solr.common.SolrException: undefined field Whats

The error continues but it looks like an undefined field. Oops. Maybe put some error checking into the code next time guys.


sort by: active | newest | oldest
rachel6 years ago
Hi all thanks for reporting this! It was an error I made when doing a bugfix release last night. Should be fixed now. You may have to refresh your page if your browser has cached the problem page.
lemonie6 years ago

If it's the old 500, it will go away. Give it a while.

ProfessorMoniker (author)  lemonie6 years ago
Kinda funny that this kind of thing is commonplace. I hadn't explored that part of the site before so I wasn't sure.
aeray lemonie6 years ago
I look at "Answers" several times a day and haven't encountered it before.
lemonie aeray6 years ago

I hadn't for months. But it was a bit early for me this morning.

Kiteman6 years ago
Same fault just started for me.
aeray6 years ago
Yep, I'm getting "500 Servlet Exception" on every question I try to view.
ProfessorMoniker (author) 6 years ago
Tried going to a couple more pages and it looks like that undefined field is being pulled from a random word (maybe an operator apache recognizes) in the title of the page. Probably get that fixed before somebody finds a way to inject malicious code into a question. If I was a more devious person and knew commands it would resond to I definitely would try injecting some code lol

PS I am not that devious and really like the site so if anyone does try an injection hack it wasn't me. Don't ban me :-)