Richard Wallace created SOLR-3905:
-------------------------------------

             Summary: EmbeddedSolrServer throws NPE when terms contain slash
                 Key: SOLR-3905
                 URL: https://issues.apache.org/jira/browse/SOLR-3905
             Project: Solr
          Issue Type: Bug
            Reporter: Richard Wallace


Using a search term with a slash ("/") is causing a NPE.

{code}

app: Caused by: org.apache.solr.client.solrj.SolrServerException: 
java.lang.NullPointerException
app:    at 
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:156)
 ~[solr-core-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:51:18]
app:    ... 99 common frames omitted
app: Caused by: java.lang.NullPointerException: null
app:    at 
org.apache.solr.schema.IndexSchema$DynamicReplacement.matches(IndexSchema.java:754)
 ~[solr-core-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:51:18]
app:    at 
org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1033) 
~[solr-core-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:51:18]
app:    at 
org.apache.solr.schema.IndexSchema.getFieldType(IndexSchema.java:987) 
~[solr-core-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:51:18]
app:    at 
org.apache.solr.search.SolrQueryParser.getRegexpQuery(SolrQueryParser.java:246) 
~[solr-core-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 22:51:18]
app:    at 
org.apache.lucene.queryparser.classic.QueryParserBase.handleBareTokenQuery(QueryParserBase.java:1055)
 ~[lucene-queryparser-4.0.0-BETA.jar:4.0.0-BETA 1370099 - rmuir - 2012-08-06 
22:46:03]
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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