Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProtobufConverter is failing to convert protobuf messages #3360

Open
koladilip opened this issue Oct 19, 2024 · 2 comments
Open

ProtobufConverter is failing to convert protobuf messages #3360

koladilip opened this issue Oct 19, 2024 · 2 comments

Comments

@koladilip
Copy link

I am getting following Error when using io.confluent.connect.protobuf.ProtobufConverter.

java.lang.VerifyError: Bad return type
Exception Details:
Location:
    io/confluent/protobuf/MetaProto$Meta.internalGetMapFieldReflection(I)Lcom/google/protobuf/MapFieldReflectionAccessor; @24: areturn
  Reason:
    Type 'com/google/protobuf/MapField' (current frame, stack[0]) is not assignable to 'com/google/protobuf/MapFieldReflectionAccessor' (from method signature)
  Current Frame:
    bci: @24
    flags: { }
    locals: { 'io/confluent/protobuf/MetaProto$Meta', integer }
    stack: { 'com/google/protobuf/MapField' }
  Bytecode:
    0000000: 1bab 0000 0000 0018 0000 0001 0000 0002
    0000010: 0000 0013 2ab7 0002 b0bb 000f 59bb 0010
    0000020: 59b7 0011 1212 b600 131b b600 14b6 0015
    0000030: b700 16bf
  Stackmap Table:
    same_frame(@20)
    same_frame(@25)

	at io.confluent.protobuf.MetaProto.<clinit>(MetaProto.java:1112)
	at io.confluent.kafka.schemaregistry.protobuf.ProtobufSchema.<clinit>(ProtobufSchema.java:246)
	at io.confluent.kafka.schemaregistry.protobuf.ProtobufSchemaProvider.parseSchemaOrElseThrow(ProtobufSchemaProvider.java:38)

Versions:
io.confluent:kafka-connect-protobuf-converter:7.7.1
com.google.protobuf:protobuf-java:3.25.4
com.google.protobuf:protoc:3.25.4
Java 17

@rayokota
Copy link
Member

What is your version of kafka-protobuf-types?

@koladilip
Copy link
Author

What is your version of kafka-protobuf-types?
7.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants