[
https://issues.apache.org/jira/browse/CAMEL-23758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aurélien Pupier updated CAMEL-23758:
------------------------------------
Fix Version/s: 4.21.0
> spring boot Camel SalesforceIT test is failing Detected incompatible Protobuf
> Gencode/Runtime versions when loading ReplayPreset: gencode 4.35.1, runtime
> 4.34.2
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-23758
> URL: https://issues.apache.org/jira/browse/CAMEL-23758
> Project: Camel
> Issue Type: Test
> Components: camel-salesforce
> Affects Versions: 4.20.0
> Reporter: Aurélien Pupier
> Priority: Major
> Fix For: 4.21.0
>
>
> {noformat}
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to
> instantiate
> [org.apache.camel.component.salesforce.springboot.SalesforceComponentConfiguration]:
> Constructor threw exception
> at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:220)
> at
> org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:106)
> at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1336)
> ... 84 more
> Caused by: java.lang.ExceptionInInitializerError
> at
> org.apache.camel.component.salesforce.springboot.SalesforceComponentConfiguration.<init>(SalesforceComponentConfiguration.java:371)
> at
> java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
> at
> java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
> at
> org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:194)
> ... 86 more
> Caused by:
> com.google.protobuf.RuntimeVersion$ProtobufRuntimeVersionException: Detected
> incompatible Protobuf Gencode/Runtime versions when loading ReplayPreset:
> gencode 4.35.1, runtime 4.34.2. Runtime version cannot be older than the
> linked gencode version.
> at
> com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersionImpl(RuntimeVersion.java:153)
> at
> com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(RuntimeVersion.java:72)
> at
> com.salesforce.eventbus.protobuf.ReplayPreset.<clinit>(ReplayPreset.java:48)
> ... 90 more
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)