JiriOndrusek commented on issue #2027: URL: https://github.com/apache/camel-quarkus/issues/2027#issuecomment-733776083
Problem is caused probably by static initialization of `HANDSHAKE_READER` in `org.apache.avro.ipc.Requestor` [line 205](https://github.com/apache/avro/blob/branch-1.10/lang/java/ipc/src/main/java/org/apache/avro/ipc/Requestor.java#L205) Ths field initializes `SpecificDatumReader`, which extends `GenericDatumReader`, which contains local variable `stringClassCache`. Which is `null` in native mode without this [substitution](https://github.com/apache/camel-quarkus/blob/master/extensions/avro-rpc/runtime/src/main/java/org/apache/camel/quarkus/component/avro/rpc/GenericDatumReaderSubstitute.java#L31). `I'll try to search for the better solution then the current one or at least confirm rightness of the current solution. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org