jamesnetherton opened a new issue #2983:
URL: https://github.com/apache/camel-quarkus/issues/2983
Seems to be another change in behaviour with GraalVM 21.2.0. This was
working in previous versions without any specific `BuildStep` configurations
for resource bundles.
```
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
resolve endpoint:
xchange://binance?currencyPair=BTC%2FUSDT&method=ticker&service=marketdata due
to: Failed to initialize: Can't find bundle for base name
sun.util.resources.CurrencyNames, locale en_US
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:962)
at
org.apache.camel.impl.engine.AbstractCamelContext.getEndpoint(AbstractCamelContext.java:844)
at
org.apache.camel.impl.engine.DefaultProducerTemplate.resolveMandatoryEndpoint(DefaultProducerTemplate.java:573)
at
org.apache.camel.impl.engine.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:411)
at
org.apache.camel.quarkus.component.xchange.it.XchangeResource.currencyTicker(XchangeResource.java:52)
at
org.apache.camel.quarkus.component.xchange.it.XchangeResource_ClientProxy.currencyTicker(XchangeResource_ClientProxy.zig:220)
at java.lang.reflect.Method.invoke(Method.java:566)
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
at
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
at
org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:660)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:524)
at
org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:474)
at
org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:476)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:434)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:408)
at
org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:69)
at
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
... 17 more
Caused by: org.knowm.xchange.exceptions.ExchangeException: Failed to
initialize: Can't find bundle for base name sun.util.resources.CurrencyNames,
locale en_US
at
org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:189)
at
org.knowm.xchange.BaseExchange.applySpecification(BaseExchange.java:113)
at
org.knowm.xchange.binance.BinanceExchange.applySpecification(BinanceExchange.java:85)
at
org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:110)
at
org.knowm.xchange.ExchangeFactory.createExchange(ExchangeFactory.java:53)
at
org.apache.camel.component.xchange.XChangeComponent.createXChange(XChangeComponent.java:64)
at
org.apache.camel.component.xchange.XChangeComponent.createEndpoint(XChangeComponent.java:45)
at
org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
at
org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:928)
... 34 more
Caused by: java.util.MissingResourceException: Can't find bundle for base
name sun.util.resources.CurrencyNames, locale en_US
at
sun.util.resources.Bundles.throwMissingResourceException(Bundles.java:290)
at sun.util.resources.Bundles.loadBundleOf(Bundles.java:147)
at sun.util.resources.Bundles.of(Bundles.java:106)
at sun.util.resources.LocaleData$1.run(LocaleData.java:185)
at sun.util.resources.LocaleData$1.run(LocaleData.java:182)
at java.security.AccessController.doPrivileged(AccessController.java:87)
at sun.util.resources.LocaleData.getBundle(LocaleData.java:182)
at sun.util.resources.LocaleData.getCurrencyNames(LocaleData.java:98)
at
sun.util.locale.provider.LocaleResources.getCurrencyName(LocaleResources.java:225)
at
sun.util.locale.provider.CurrencyNameProviderImpl.getString(CurrencyNameProviderImpl.java:122)
at
sun.util.locale.provider.CurrencyNameProviderImpl.getSymbol(CurrencyNameProviderImpl.java:90)
at java.util.Currency$CurrencyNameGetter.getObject(Currency.java:709)
at java.util.Currency$CurrencyNameGetter.getObject(Currency.java:694)
at
sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObjectImpl(LocaleServiceProviderPool.java:281)
at
sun.util.locale.provider.LocaleServiceProviderPool.getLocalizedObject(LocaleServiceProviderPool.java:242)
at java.util.Currency.getSymbol(Currency.java:545)
at java.util.Currency.getSymbol(Currency.java:522)
at
org.knowm.xchange.currency.Currency$CurrencyAttributes.<init>(Currency.java:715)
at org.knowm.xchange.currency.Currency.createCurrency(Currency.java:533)
at org.knowm.xchange.currency.Currency.getInstance(Currency.java:510)
at org.knowm.xchange.currency.CurrencyPair.<init>(CurrencyPair.java:422)
at
org.knowm.xchange.binance.BinanceExchange.remoteInit(BinanceExchange.java:141)
... 42 more
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]