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

Using BucketTool helper - error in connection to the server, bucket creation, deletion.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1-beta
    • Fix Version/s: 1.1.2
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      BucketTool is not behaving properly to create default bucket and connect to the server.
      Error received while running CouchbaseClientTest using the initClient method which is overridden -

      java.lang.RuntimeException: Http Error: 401 Reason: Unauthorized Details: No reason given
      at com.couchbase.client.ClusterManager.checkError(ClusterManager.java:300)
      at com.couchbase.client.ClusterManager.listBuckets(ClusterManager.java:186)
      at com.couchbase.client.BucketTool$1.callback(BucketTool.java:73)
      at com.couchbase.client.BucketTool.poll(BucketTool.java:108)
      at com.couchbase.client.BucketTool.deleteAllBuckets(BucketTool.java:84)
      at com.couchbase.client.CouchbaseClientTest.initClient(CouchbaseClientTest.java:60)
      at net.spy.memcached.ClientBaseCase.setUp(ClientBaseCase.java:72)
      at junit.framework.TestCase.runBare(TestCase.java:132)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:232)
      at junit.framework.TestSuite.run(TestSuite.java:227)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      1. log.txt
        222 kB
        Deepti Dawar

        Issue Links

        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
          Attachment log.txt [ 15987 ]
          daschl Michael Nitschinger made changes -
          Fix Version/s 1.1.1 [ 10430 ]
          daschl Michael Nitschinger made changes -
          Assignee Michael Nitschinger [ daschl ] Deepti Dawar [ deeptida ]
          deeptida Deepti Dawar made changes -
          Link This issue depends on JCBC-189 [ JCBC-189 ]
          deeptida Deepti Dawar made changes -
          Assignee Deepti Dawar [ deeptida ] Michael Nitschinger [ daschl ]
          daschl Michael Nitschinger made changes -
          Fix Version/s 1.1.2 [ 10480 ]
          Fix Version/s 1.1.1 [ 10430 ]
          daschl Michael Nitschinger made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          daschl Michael Nitschinger made changes -
          Link This issue duplicates JCBC-225 [ JCBC-225 ]
          ingenthr Matt Ingenthron made changes -
          Workflow jira [ 22220 ] Couchbase SDK Workflow [ 38464 ]

            People

            • Assignee:
              daschl Michael Nitschinger
              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