Solr
  1. Solr
  2. SOLR-3061

NPE exception when accessing Solr with faulty field config

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: None
    • Component/s: web gui
    • Labels:
      None

      Description

      If there's an mistake in fields type, for example, I see this ugly page when I enter solr url in my browser:

      java.lang.NullPointerException
      	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:141)
      	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)
      

      Perhaps a message telling the user that there is something wrong with the configuration and suggestion to see logs for more info would be more helpful.

      This is most likely related to changes made in SOLR-3032.

        Activity

        Sami Siren created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Sami Siren
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development