Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-513

NPE on a bad host in the connection string

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.7, 1.6.0-beta
    • None
    • None
    • 1

    Description

      The client will not bootstrap on a connection string with bad and good hosts. It will exit with NPE if there is a bad host (unresolvable) on the connection string. The expectation is to continue bootstrap successfully with the good hosts and not throw NPE, and handle it with a error log message.

      Attachments

        For Gerrit Dashboard: JVMCBC-513
        # Subject Branch Project Status CR V

        Activity

          Hi Subhashini,

          do you think situational test needs to cover this case by adding unresolvable or couchbase-not-installed host or would it be enough by unit test?

          jaekwon.park Jae Park [X] (Inactive) added a comment - Hi Subhashini, do you think situational test needs to cover this case by adding unresolvable or couchbase-not-installed host or would it be enough by unit test?

          Hi Jae Park [X],

          It is probably one off case, usually resolvable hosts would be used, I think the integration test should suffice.

          subhashni Subhashni Balakrishnan (Inactive) added a comment - Hi Jae Park [X] , It is probably one off case, usually resolvable hosts would be used, I think the integration test should suffice.

          People

            subhashni Subhashni Balakrishnan (Inactive)
            subhashni Subhashni Balakrishnan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty