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

NullReferenceException in ClusterNode.GetClusterMap leads to ObjectDisposedException

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • None
    • None
    • None
    • 0

    Description

      The initial exception is a NullReferenceException

      [15:53:48.653 WRN] [Couchbase.CouchbaseBucket] Process config push failed {}
      System.NullReferenceException: Object reference not set to an instance of an object.
         at Couchbase.Core.Configuration.Server.BucketConfigExtensions.ReplacePlaceholderWithBootstrapHost(BucketConfig config, String host) in C:\code\couchbase-net-client\src\Couchbase\Core\Configuration\Server\BucketConfigExtensions.cs:line 149
         at Couchbase.Core.ClusterNode.GetClusterMap(Nullable`1 latestVersionOnClient, CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\ClusterNode.cs:line 479
         at Couchbase.Core.Configuration.Server.ConfigPushHandler.ProcessConfigPushesAsync(CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\Configuration\Server\ConfigPushHandler.cs:line 103     
      [ 

      Which leads to later 

      [15:53:48.664 WRN] [Couchbase.CouchbaseBucket] Process config push failed {}
      System.ObjectDisposedException: Cannot access a disposed object.
      Object name: 'MultiplexingConnection'.
         at Couchbase.Utils.ThrowHelper.ThrowObjectDisposedException(String objectName) in C:\code\couchbase-net-client\src\Couchbase\Utils\ThrowHelper.cs:line 60
         at Couchbase.Core.IO.Connections.MultiplexingConnection.SendAsync(ReadOnlyMemory`1 request, IOperation operation, CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\IO\Connections\MultiplexingConnection.cs:line 139
         at Couchbase.Core.IO.Operations.OperationBase.SendAsync(IConnection connection, CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\IO\Operations\OperationBase.cs:line 639
         at Couchbase.Core.IO.Connections.Channels.ChannelConnectionPool.TrySendImmediatelyAsync(IOperation op, CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\IO\Connections\Channels\ChannelConnectionPool.cs:line 156
         at Couchbase.Core.ClusterNode.ExecuteOp(Func`4 sender, IOperation op, Object state, CancellationTokenPair tokenPair) in C:\code\couchbase-net-client\src\Couchbase\Core\ClusterNode.cs:line 632
         at Couchbase.Core.ClusterNode.GetClusterMap(Nullable`1 latestVersionOnClient, CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\ClusterNode.cs:line 460
         at Couchbase.Core.Configuration.Server.ConfigPushHandler.ProcessConfigPushesAsync(CancellationToken cancellationToken) in C:\code\couchbase-net-client\src\Couchbase\Core\Configuration\Server\ConfigPushHandler.cs:line 103     
      [

      Attachments

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

        Activity

          People

            richard.ponton Richard Ponton
            richard.ponton Richard Ponton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty