You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/07/22 08:10:20 UTC

[jira] [Resolved] (SOLR-3061) NPE exception when accessing Solr with faulty field config

     [ https://issues.apache.org/jira/browse/SOLR-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-3061.
-----------------------------------------
    Resolution: Invalid

> 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-ALPHA
>            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 was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org