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

Dependency on OpenTracing v0.10.0 throws exception in v2.5.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.6, 2.6.0-dp1
    • Fix Version/s: 2.5.7
    • Component/s: library
    • Labels:
      None

      Description

      I just checked out the latest version of the couchbase-net-client 2.5.6 and it seems to be broken.
      I comparison to 2.5.5 it contains a dependency to OpenTracing v0.10.0 which is apparently unsigned and is causing an exception:

      System.TypeInitializationException was unhandled by user code
      HResult=-2146233036
      Message=The type initializer for 'CouchbaseTest.CouchbaseTestService' threw an exception.
      Source=CouchbaseTest
      TypeName=CouchbaseTest.CouchbaseTestService
      StackTrace:
      at CouchbaseTest.CouchbaseTestService.Add[T](Document`1 document)
      at CouchbaseTestTest.CouchbaseTest.TestMethod1() in C:\local\ Couchbase \CouchbaseTest\CouchbaseTest.cs:line 25
      InnerException:
      FileName=OpenTracing, Version=0.10.0.0, Culture=neutral, PublicKeyToken=null
      FusionLog=""
      HResult=-2146234300
      Message=Could not load file or assembly 'OpenTracing, Version=0.10.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
      Source=Couchbase.NetClient
      StackTrace:
      at Couchbase.Configuration.Client.ClientConfiguration..ctor()
      at CouchbaseTest.CouchbaseTestService..cctor() in C:\local\Couchbase\CouchbaseService\CouchbaseTestService.cs:line 15
      InnerException:

        Attachments

          Issue Links

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

            Activity

            Hide
            jmorris Jeff Morris added a comment -

            After discussion, the best path here is to fork opentracing and create a signed opentracing package with our keys and push a opentracing.signed package to nuget.

            Long term the best option (which is in progress) is to upgrade to 0.11 which signed, but contains breaking changes and isn't something that can be done without much effort.

            Show
            jmorris Jeff Morris added a comment - After discussion, the best path here is to fork opentracing and create a signed opentracing package with our keys and push a opentracing.signed package to nuget. Long term the best option (which is in progress) is to upgrade to 0.11 which signed, but contains breaking changes and isn't something that can be done without much effort.

              People

              • Assignee:
                jmorris Jeff Morris
                Reporter:
                jmorris Jeff Morris
              • 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

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