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

System.IO.FileNotFoundException on linux dotnet

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0-dp3
    • Fix Version/s: 2.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Running SdkdConsole.NetStandard which links Couchbase.NetStandard for .NET Core on linux causes System.IO.FileNotFoundException at Couchbase.Configuration.Client.ClientConfiguration

      Here is call stack.

      Exception System.TypeInitializationException: The type initializer for 'Couchbase.Configuration.Client.ClientConfiguration' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=1.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

      at Couchbase.Logging.LogManager.GetLogger(Type type)
      at Couchbase.Logging.LogManager.GetLogger[T]()
      at Couchbase.Configuration.Client.ClientConfiguration..cctor()
      — End of inner exception stack trace —
      at Couchbase.Configuration.Client.ClientConfiguration..ctor()
      at Sdkd.Client.ClientFactory.MakeConfig(JObject jObj)
      at SdkdConsole.Daemon.Handle.Run()

       

        Attachments

        For Gerrit Dashboard: NCBC-1284
        # Subject Branch Project Status CR V

          Activity

          Show
          ingenthr Matt Ingenthron added a comment - https://memegenerator.net/instance/74839477
          Hide
          jmorris Jeff Morris added a comment -

          The first patch didn't fix the issue.

          Show
          jmorris Jeff Morris added a comment - The first patch didn't fix the issue.

            People

            • Assignee:
              jmorris Jeff Morris
              Reporter:
              jaekwon.park Jae Park [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.