Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.7.1, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      An IOException raised during analysis is swallowed by JavabinLoader, so the underlying cause is not visible in the logs, or to the client. Proposed fix is to change

      throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding document " + document);
      

      to

      throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, "ERROR adding document " + document, e);
      

      on line 99 in JavaBinLoader.java

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1580290 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1580290 ]

        SOLR-5895: JavaBinLoader hides IOExceptions

        Show
        ASF subversion and git services added a comment - Commit 1580290 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1580290 ] SOLR-5895 : JavaBinLoader hides IOExceptions
        Hide
        ASF subversion and git services added a comment -

        Commit 1580291 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1580291 ]

        SOLR-5895: JavaBinLoader hides IOExceptions

        Show
        ASF subversion and git services added a comment - Commit 1580291 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1580291 ] SOLR-5895 : JavaBinLoader hides IOExceptions
        Hide
        ASF subversion and git services added a comment -

        Commit 1580293 from shalin@apache.org in branch 'dev/branches/lucene_solr_4_7'
        [ https://svn.apache.org/r1580293 ]

        SOLR-5895: JavaBinLoader hides IOExceptions

        Show
        ASF subversion and git services added a comment - Commit 1580293 from shalin@apache.org in branch 'dev/branches/lucene_solr_4_7' [ https://svn.apache.org/r1580293 ] SOLR-5895 : JavaBinLoader hides IOExceptions
        Hide
        Shalin Shekhar Mangar added a comment -

        Thanks Mike!

        Show
        Shalin Shekhar Mangar added a comment - Thanks Mike!
        Hide
        Steve Rowe added a comment -

        Bulk close 4.7.1 issues

        Show
        Steve Rowe added a comment - Bulk close 4.7.1 issues

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Mike Sokolov
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development