java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;

GitHub | laugimethods | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 18#243419675

    GitHub | 6 months ago | laugimethods
    java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
  2. 0

    Incompatibility between java-nats-streaming & Spark: protobuf versions conflict.

    GitHub | 6 months ago | laugimethods
    java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;

      at com.google.protobuf.GeneratedMessageV3$FieldAccessorTable.<init>()
    2. Protocol Buffer Java API
      GeneratedMessageV3$FieldAccessorTable.<init>
      1. com.google.protobuf.GeneratedMessageV3$FieldAccessorTable.<init>(GeneratedMessageV3.java:1721)
      1 frame
    3. io.nats.stan
      ConnectRequest.internalGetFieldAccessorTable
      1. io.nats.stan.protobuf.Protocol.<clinit>(Protocol.java:125)
      2. io.nats.stan.protobuf.ConnectRequest.internalGetFieldAccessorTable(ConnectRequest.java:81)
      2 frames
    4. Protocol Buffer Java API
      AbstractMessage.toString
      1. com.google.protobuf.GeneratedMessageV3.getAllFieldsMutable(GeneratedMessageV3.java:123)
      2. com.google.protobuf.GeneratedMessageV3.getAllFields(GeneratedMessageV3.java:199)
      3. com.google.protobuf.TextFormat$Printer.print(TextFormat.java:272)
      4. com.google.protobuf.TextFormat$Printer.access$400(TextFormat.java:248)
      5. com.google.protobuf.TextFormat.print(TextFormat.java:71)
      6. com.google.protobuf.TextFormat.printToString(TextFormat.java:118)
      7. com.google.protobuf.AbstractMessage.toString(AbstractMessage.java:106)
      7 frames
    5. io.nats.stan
      ConnectionFactory.createConnection
      1. io.nats.stan.ConnectionImpl.connect(ConnectionImpl.java:139)
      2. io.nats.stan.ConnectionFactory.createConnection(ConnectionFactory.java:40)
      2 frames
    6. com.logimethods.connector
      NatsToSparkConnector$1.run
      1. com.logimethods.connector.nats.to_spark.NatsStreamingToSparkConnectorImpl.receive(NatsStreamingToSparkConnectorImpl.java:223)
      2. com.logimethods.connector.nats.to_spark.NatsToSparkConnector$1.run(NatsToSparkConnector.java:106)
      2 frames