Solr
  1. Solr
  2. SOLR-5494

CoreContainer#remove throws an NPE rather than returning null when a SolrCore does not exist.

    Details

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

      Description

      This only occurs when using the new core discovery mode.

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1544844 from Mark Miller in branch 'dev/trunk'
        [ https://svn.apache.org/r1544844 ]

        SOLR-5494: CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.

        Show
        ASF subversion and git services added a comment - Commit 1544844 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1544844 ] SOLR-5494 : CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.
        Hide
        ASF subversion and git services added a comment -

        Commit 1544845 from Mark Miller in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1544845 ]

        SOLR-5494: CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.

        Show
        ASF subversion and git services added a comment - Commit 1544845 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1544845 ] SOLR-5494 : CoreContainer#remove throws NPE rather than returning null when a SolrCore does not exist in core discovery mode.
        Hide
        Mark Miller added a comment -

        I've added a fix + test.

        Show
        Mark Miller added a comment - I've added a fix + test.
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-5494: Moving change log entry to bug fixes section

        Show
        ASF subversion and git services added a comment - Commit 1545551 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1545551 ] SOLR-5494 : Moving change log entry to bug fixes section
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-5494: Moving change log entry to bug fixes section

        Show
        ASF subversion and git services added a comment - Commit 1545552 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1545552 ] SOLR-5494 : Moving change log entry to bug fixes section

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development