0
respostas

Desafio Parte 3: Shared Database

Ao executar o código da aula eu recebo o erro:

WARN 22:26:10.997 - Error processing exchange. Exchange[ID-ZenBook-57336-1612345678923-0-2][Message: [Body is null]]. Caused by: [java.net.UnknownHostException - null]
java.net.UnknownHostException: null
    at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_292]
    at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) ~[?:1.8.0_292]
    at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) ~[?:1.8.0_292]
    at java.net.InetAddress.getAllByName0(InetAddress.java:1277) ~[?:1.8.0_292]
    at java.net.InetAddress.getAllByName(InetAddress.java:1193) ~[?:1.8.0_292]
    at java.net.InetAddress.getAllByName(InetAddress.java:1127) ~[?:1.8.0_292]
    at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:111) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:388) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) ~[httpclient-4.4.1.jar:4.4.1]
    at org.apache.camel.component.http4.HttpProducer.executeMethod(HttpProducer.java:278) ~[camel-http4-2.16.0.jar:2.16.0]
    at org.apache.camel.component.http4.HttpProducer.process(HttpProducer.java:164) ~[camel-http4-2.16.0.jar:2.16.0]
    at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:141) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:460) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:121) ~[camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.Pipeline.process(Pipeline.java:83) [camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:190) [camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.component.timer.TimerConsumer.sendTimerExchange(TimerConsumer.java:165) [camel-core-2.16.0.jar:2.16.0]
    at org.apache.camel.component.timer.TimerConsumer$1.run(TimerConsumer.java:73) [camel-core-2.16.0.jar:2.16.0]
    at java.util.TimerThread.mainLoop(Timer.java:555) [?:1.8.0_292]
    at java.util.TimerThread.run(Timer.java:505) [?:1.8.0_292]