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

Unhelpful exception message can be improved

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7, 8.0
    • Component/s: SolrJ
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: