NPE exception when accessing Solr with faulty field config
----------------------------------------------------------

                 Key: SOLR-3061
                 URL: https://issues.apache.org/jira/browse/SOLR-3061
             Project: Solr
          Issue Type: Bug
          Components: web gui
    Affects Versions: 4.0
            Reporter: Sami Siren
            Priority: Minor


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

{code}
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)
{code}

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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to