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

        deeptida Deepti Dawar created issue -
        deeptida Deepti Dawar made changes -
        Field Original Value New Value
        Description The code breaks abruptly when connection URI is not given in a proper format.
        For instance, when I am specifying the URI as http:/10.3.2.57:8091/index.html, 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.
        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.
        daschl Michael Nitschinger made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Raghavan Srinivas [ rags ] Michael Nitschinger [ daschl ]
        Resolution Won't Fix [ 2 ]
        deeptida Deepti Dawar made changes -
        Resolution Won't Fix [ 2 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        daschl Michael Nitschinger made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Fix Version/s 1.1-dp5 [ 10410 ]
        daschl Michael Nitschinger made changes -
        Assignee Michael Nitschinger [ daschl ] Matt Ingenthron [ ingenthr ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1beta [ 10370 ]
        Fix Version/s 1.1-dp5 [ 10410 ]
        ingenthr Matt Ingenthron made changes -
        Fix Version/s 1.1.0 [ 10274 ]
        Fix Version/s 1.1-beta [ 10370 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1.1 [ 10430 ]
        Fix Version/s 1.1.0 [ 10274 ]
        deeptida Deepti Dawar made changes -
        Assignee Matt Ingenthron [ ingenthr ] Deepti Dawar [ deeptida ]
        deeptida Deepti Dawar made changes -
        Attachment ConfigurationParserJSON.java [ 16066 ]
        deeptida Deepti Dawar made changes -
        Comment [ I agree. There should be in-house exception classes meant to facilitate this purpose.
        A user working with couchbase sdk, should have the feasibility of using those exception classes for indicating various scenarios to the user.

        Please let us know if there are any exception classes for displaying the exceptions. ]
        deeptida Deepti Dawar made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        deeptida Deepti Dawar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 21598 ] Couchbase SDK Workflow [ 38424 ]

          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