lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Schwenker (JIRA)" <>
Subject [jira] Created: (SOLR-1903) Null pointer exception when you remove and old date field type and old data still has field
Date Tue, 04 May 2010 14:35:56 GMT
Null pointer exception when you remove and old date field type and old data still has field

                 Key: SOLR-1903
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4
         Environment: linux, windows server and windows 7
            Reporter: Stephen Schwenker

We removed an old date field from our date search because it's not needed anymore.  After
which we started seeing these errors with old data in the index that contained the field.
 there are too many records to re-index right now so I created this patch.  Also, here is
the exception that was thrown.

null java.lang.NullPointerException at org.apache.solr.request.XMLWriter.writePrim(
at org.apache.solr.request.XMLWriter.writeStr( at org.apache.solr.schema.TextField.write(
at org.apache.solr.schema.SchemaField.write( at org.apache.solr.request.XMLWriter.writeDoc(
at org.apache.solr.request.XMLWriter$3.writeDocs( at org.apache.solr.request.XMLWriter.writeDocuments(
at org.apache.solr.request.XMLWriter.writeDocList( at org.apache.solr.request.XMLWriter.writeVal(
at org.apache.solr.request.XMLWriter.writeResponse( at org.apache.solr.request.XMLResponseWriter.write(
at org.apache.solr.servlet.SolrDispatchFilter.writeResponse( at
org.apache.solr.servlet.SolrDispatchFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke( at
org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
at$ at

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message