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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by laugimethods
, 1 year ago
com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
via GitHub by laugimethods
, 1 year ago
com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
via GitHub by jpdna
, 6 months ago
com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
java.lang.NoSuchMethodError: com.google.protobuf.Descriptors$Descriptor.getOneofs()Ljava/util/List;
at io.nats.stan.protobuf.Protocol.(Protocol.java:125)
at io.nats.stan.protobuf.ConnectRequest.internalGetFieldAccessorTable(ConnectRequest.java:81)
at com.google.protobuf.GeneratedMessageV3.getAllFieldsMutable(GeneratedMessageV3.java:123)
at com.google.protobuf.GeneratedMessageV3.getAllFields(GeneratedMessageV3.java:199)
at com.google.protobuf.TextFormat$Printer.print(TextFormat.java:272)
at com.google.protobuf.TextFormat$Printer.access$400(TextFormat.java:248)
at com.google.protobuf.TextFormat.print(TextFormat.java:71)
at com.google.protobuf.TextFormat.printToString(TextFormat.java:118)
at com.google.protobuf.AbstractMessage.toString(AbstractMessage.java:106)
at io.nats.stan.ConnectionImpl.connect(ConnectionImpl.java:139)
at io.nats.stan.ConnectionFactory.createConnection(ConnectionFactory.java:40)
at com.logimethods.connector.nats.to_spark.NatsStreamingToSparkConnectorImpl.receive(NatsStreamingToSparkConnectorImpl.java:223)
at com.logimethods.connector.nats.to_spark.NatsToSparkConnector$1.run(NatsToSparkConnector.java:106)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.