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

git native integration test fails with NoSuchMethodException #5870

Closed
jamesnetherton opened this issue Mar 13, 2024 · 0 comments
Closed

git native integration test fails with NoSuchMethodException #5870

jamesnetherton opened this issue Mar 13, 2024 · 0 comments
Assignees
Milestone

Comments

@jamesnetherton
Copy link
Contributor

Bug description

Seen after upgrade to Quarkus 3.9.0.CR1. Probably needs fixing in quarkus-jgit.

Caused by: java.lang.IllegalArgumentException: Enumerated values of type org.eclipse.jgit.lib.CoreConfig$TrustLooseRefStat not available
	at org.eclipse.jgit.lib.Config.allValuesOf(Config.java:430)
	at org.eclipse.jgit.lib.Config.getEnum(Config.java:417)
	at org.eclipse.jgit.internal.storage.file.RefDirectory.<init>(RefDirectory.java:222)
	at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:189)
	at org.eclipse.jgit.storage.file.FileRepositoryBuilder.build(FileRepositoryBuilder.java:55)
	at org.apache.camel.component.RepositoryFactory.getRepository(RepositoryFactory.java:100)
	at org.apache.camel.component.RepositoryFactory.of(RepositoryFactory.java:55)
	at org.apache.camel.component.git.producer.GitProducer.getLocalRepository(GitProducer.java:661)
	at org.apache.camel.component.git.producer.GitProducer.doStart(GitProducer.java:75)
	at org.apache.camel.support.service.BaseService.start(BaseService.java:113)
	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:126)
	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
	at org.apache.camel.support.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.start(AsyncProcessorConverterHelper.java:116)
	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:126)
	at org.apache.camel.impl.engine.InternalServiceManager.doAddService(InternalServiceManager.java:146)
	at org.apache.camel.impl.engine.AbstractCamelContext.addService(AbstractCamelContext.java:1317)
	at org.apache.camel.support.cache.ServicePool$SinglePool.acquire(ServicePool.java:252)
	at org.apache.camel.support.cache.ServicePool$SinglePool.acquire(ServicePool.java:230)
	at org.apache.camel.support.cache.ServicePool.acquire(ServicePool.java:122)
	at org.apache.camel.support.cache.ProducerServicePool.acquire(ProducerServicePool.java:28)
	at org.apache.camel.support.cache.DefaultProducerCache.acquireProducer(DefaultProducerCache.java:134)
	... 38 more
Caused by: java.lang.NoSuchMethodException: org.eclipse.jgit.lib.CoreConfig$TrustLooseRefStat.values()
	at java.base@21.0.2/java.lang.Class.checkMethod(DynamicHub.java:1075)
	at java.base@21.0.2/java.lang.Class.getMethod(DynamicHub.java:1060)
	at org.eclipse.jgit.lib.Config.allValuesOf(Config.java:425)
	... 58 more
@jamesnetherton jamesnetherton added the bug Something isn't working label Mar 13, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Mar 13, 2024
@jamesnetherton jamesnetherton self-assigned this Mar 14, 2024
jamesnetherton added a commit to jamesnetherton/camel-quarkus that referenced this issue Mar 14, 2024
@github-actions github-actions bot added this to the 3.9.0 milestone Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant