Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-140

Code breaks when Connection URI is improper

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1-dp3
    • Fix Version/s: 1.1.1
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None
    • Environment:

      Description

      The code breaks abruptly when connection URI is not given in a proper format in the SDK client for connecting the to required Couchbase server.
      For instance, when I am specifying the URI as "http:/10.3.2.57:8091/index.html" instead of "http:/10.3.2.57:8091/pools", exception appears,
      whereas a proper error message should be returned saying that 'Connection could not be established to the requested server location'.
      Please find attached the log file for the exception trace.

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

          • Assignee:
            deeptida Deepti Dawar
            Reporter:
            deeptida Deepti Dawar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes