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

Unhelpful exception message can be improved

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 7.7, 8.0
    • SolrJ
    • None

    Description

      Hit this exception today. It's really really unhelpful...

      Caused by: org.apache.solr.client.solrj.beans.BindingException: Invalid setter method. Must have one and only one parameter 
      at org.apache.solr.client.solrj.beans.DocumentObjectBinder$DocField.storeType(DocumentObjectBinder.java:235)

      Great... which of the many fields on the bean (and which bean!?!?) has an issue... (sigh)

      Attaching trivial patch to make this far more helpful momentarily

      Attachments

        1. SOLR-13086.patch
          0.9 kB
          Gus Heck
        2. SOLR-13086.patch
          0.9 kB
          Gus Heck

        Activity

          People

            gus Gus Heck
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: