Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-604

NullReferenceException in OperationBase`1.HandleClientError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0 Beta
    • 2.0 DP3
    • library
    • None

    Description

      c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkdclient-ng>call packages\sdkdclient\bin\brun.bat -A S3Creds_tmp -I cluster_conf
      [0.32 INFO] (BRun run:441) Initializing history database
      [1.31 TRACE] (CouchbaseAdmin getResponseJson:167) GET http://10.3.121.134:8091/pools

      ============================================================
      Running ReAdd2-HYBRID: 2014-08-26 13:43:19
      workload=HybridWorkloadGroup
      failover/next_action=FO_READD_REBALANCE
      failover/count=2
      failover/next_delay=45
      testcase=FailoverScenario
      Logging to c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkdclient-ng\log\SDK-SDK\CB-3.0.0-1174\ReAdd2-HYBRID\08-26-14\0745
      99\cb48df8b14222ae1e9fe55dbb23ec693

      To re-run the test, copy/paste the following into the shell.
      You may also copy/paste (except the first line) into an argfile
      8<----------------------------------------
      ./stester \
      \ --workload HybridWorkloadGroup --failover-next_action
      \ FO_READD_REBALANCE --failover-count 2 --failover-next_delay 45
      \ --testcase FailoverScenario -C share\rexec --rexec_path
      \ C:\temp\sdkd-out-debug\SdkdConsole.exe --rexec_port 8675
      \ --cluster_node=10.3.121.134 --cluster_node=10.3.121.135
      \ --cluster_node=10.3.121.136 --cluster_node=10.3.3.206
      --cluster_ssh-username=root --cluster_ssh-password=couchbase

      ....

      [123.36 INFO] (Scenario run:86) Starting CHANGE phase
      [123.36 INFO] (CBCluster failoverNodes:588) Failing over <URI:10.3.121.135:8091,ns_1@10.3.121.135>
      [123.37 TRACE] (CouchbaseAdmin getResponseJson:167) POST http://10.3.121.134:8091/controller/failOver
      [123.82 INFO] (SDKD log:137) [Sdkd.Result|Warn] Unrecognized return code 409
      [123.87 INFO] (CBCluster failoverNodes:588) Failing over <URI:10.3.121.136:8091,ns_1@10.3.121.136>
      [123.87 TRACE] (CouchbaseAdmin getResponseJson:167) POST http://10.3.121.134:8091/controller/failOver
      [124.15 INFO] (FailoverAction change:104) Nodes failed over. Requested sleep for 45 seconds
      [124.18 INFO] (SDKD log:137)
      [124.18 INFO] (SDKD log:137) Unhandled Exception:
      [124.18 INFO] (SDKD log:137) Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an obj
      ect.
      [124.19 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 1
      [124.19 INFO] (SDKD log:137) at Couchbase.IO.Operations.OperationBase`1.HandleClientError(String message) in c:\jenkins\workspa
      ce\.net-sdkdclient-ng2-andrei\couchbase-net-client\Src\Couchbase\IO\Operations\OperationBase'.cs:line 85
      at Couchbase.Core.Server.Send[T](IOperation`1 operation) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\couchbase-net-clien
      t\Src\Couchbase\Core\Server.cs:line 93
      at Couchbase.Core.Buckets.CouchbaseBucket.SendWithRetry[T](IOperation`1 operation) in c:\jenkins\workspace\.net-sdkdclient-ng2-
      andrei\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 98
      at Couchbase.Core.Buckets.CouchbaseBucket.Upsert[T](String key, T value) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\cou
      chbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 312
      at Sdkd.Commands.SetCommand.ExecuteSingle(String key, String value) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net
      \src\Sdkd\Commands\SetCommand.cs:line 77
      at Sdkd.Commands.KVCommand.Run() in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\Sdkd\Commands\KVCommand.cs:lin
      e 25
      at SdkdConsole.Daemon.Handle.DispatchCommand(Request req, CouchbaseBucket cli) in c:\jenkins\workspace\.net-sdkdclient-ng2-andr
      ei\sdkd-net\src\SdkdConsole\Daemon\Handle.cs:line 295
      at SdkdConsole.Daemon.Handle.Run() in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\SdkdConsole\Daemon\Handle.cs
      :line 175
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boo
      lean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean pre
      serveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()

      Attachments

        1. NullReferenceException.png
          89 kB
          Andrei Baranouski
        2. test.logs
          116 kB
          Andrei Baranouski
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jmorris Jeff Morris
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty