Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1381

Protostellar failing with java.lang.NoClassDefFoundError: io/opentelemetry/context/ContextKey

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.0
    • None
    • None
    • None

    Description

      Seeing this in local Protostellar testing:

      Caused by: java.lang.NoClassDefFoundError: io/opentelemetry/context/ContextKey
      	at com.couchbase.client.core.deps.io.opentelemetry.instrumentation.grpc.v1_6.internal.ContextStorageBridge.<clinit>(ContextStorageBridge.java:27)
      	at com.couchbase.client.core.deps.io.grpc.override.ContextStorageOverride.<clinit>(ContextStorageOverride.java:17)
      	at java.base/java.lang.Class.forName0(Native Method)
      	at java.base/java.lang.Class.forName(Class.java:375)
      	at com.couchbase.client.core.deps.io.grpc.Context$LazyStorage.createStorage(Context.java:129)
      	at com.couchbase.client.core.deps.io.grpc.Context$LazyStorage.<clinit>(Context.java:118)
      	at com.couchbase.client.core.deps.io.grpc.Context.storage(Context.java:106)
      	at com.couchbase.client.core.deps.io.grpc.Context.current(Context.java:172)
      	at com.couchbase.client.core.deps.io.grpc.internal.ClientCallImpl.<init>(ClientCallImpl.java:121)
      	at com.couchbase.client.core.deps.io.grpc.internal.ManagedChannelImpl$RealChannel$1.newCall(ManagedChannelImpl.java:942)
      	at com.couchbase.client.core.deps.io.grpc.internal.ManagedChannelImpl$RealChannel.newClientCall(ManagedChannelImpl.java:1135)
      	at com.couchbase.client.core.deps.io.grpc.internal.ManagedChannelImpl$RealChannel.newCall(ManagedChannelImpl.java:963)
      	at com.couchbase.client.core.deps.io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:907)
      	at com.couchbase.client.core.deps.io.grpc.internal.ForwardingManagedChannel.newCall(ForwardingManagedChannel.java:63)
      	at com.couchbase.client.core.endpoint.ProtostellarEndpoint$2.interceptCall(ProtostellarEndpoint.java:186)
      	at com.couchbase.client.core.deps.io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156)
      	at com.couchbase.client.core.deps.io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:154)
      	at com.couchbase.client.protostellar.kv.v1.KvServiceGrpc$KvServiceBlockingStub.upsert(KvServiceGrpc.java:991)
      	at com.couchbase.client.core.protostellar.kv.ProtostellarCoreKvOps.lambda$upsertBlocking$16(ProtostellarCoreKvOps.java:159)
      	at com.couchbase.client.core.protostellar.CoreProtostellarAccessors.blocking(CoreProtostellarAccessors.java:85)
      

      Attachments

        For Gerrit Dashboard: JVMCBC-1381
        # Subject Branch Project Status CR V

        Activity

          People

            graham.pople Graham Pople
            graham.pople Graham Pople
            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