Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2408

JSONWriter NPE if data in stored Document does not match field type info in schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.4.1
    • None
    • None
    • None
    • OS X, possibly other *ix as well

    Description

      JSONWriter will produce an NullPointerException if an int field stored, and then the schema.xml is updated to change the type.

      In general, Solr should try to generate better error messages in situations like this.

      Attachments

        Activity

          People

            Unassigned Unassigned
            snez Christos Constantinou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: