java.lang.RuntimeException: java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

GitHub | alugowski | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    grpc-netty on maven central depends on netty 4.1.2 but code assumes 4.1.1

    GitHub | 10 months ago | alugowski
    java.lang.RuntimeException: java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

    Root Cause Analysis

    1. java.lang.RuntimeException

      java.lang.NoSuchMethodError: io.netty.handler.codec.http2.DefaultHttp2HeadersDecoder.<init>(IIZ)V

      at io.grpc.stub.ClientCalls.blockingUnaryCall()
    2. io.grpc.stub
      ClientCalls.blockingUnaryCall
      1. io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:144)
      1 frame
    3. com.turn.platform
      ExecutorGrpc$ExecutorBlockingStub.doExec
      1. com.turn.platform.message.grpc.ExecutorGrpc$ExecutorBlockingStub.doExec(ExecutorGrpc.java:171)
      1 frame