Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
neverending netty errors http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=85&t=57613 |
Page 1 of 1 |
Author: | SFXbernhard [ Tue 02 Mar, 2021, 14:33 ] |
Post subject: | neverending netty errors |
When I start JForex in Eclipse, I am getting these error messages constantly. com.dukascopy.api.version = 2.13.96 [[DDS2 Standalone Transport Client] NettyUdpTransportThread - 0] ERROR com.dukascopy.dds4.transport.client.netty.udp.UdpClientProtocolHandler - 'com.google.common.util.concurrent.ListenableFuture com.google.common.util.concurrent.Futures.dereference(com.google.common.util.concurrent.ListenableFuture)' Please help |
Author: | Platform Support [ Wed 17 Mar, 2021, 08:22 ] |
Post subject: | Re: neverending netty errors |
You are using an old version of the transport. The latest version is 2.0.0 Can you list the .jar's in the classpath? |
Author: | SFXbernhard [ Wed 17 Mar, 2021, 16:00 ] | |||
Post subject: | Re: neverending netty errors | |||
this is my pom.xml Should be all on the latest version from your side. But I am still getting these errors. <?xml version="1.0" encoding="UTF-8"?>
|
Author: | Platform Support [ Fri 19 Mar, 2021, 15:02 ] |
Post subject: | Re: neverending netty errors |
This excetion can be thrown only if the guava version is not 19.0 in the runtime. Are you sure you have this version? |
Author: | SFXbernhard [ Fri 19 Mar, 2021, 15:39 ] | ||
Post subject: | Re: neverending netty errors | ||
guava version 19.0 is in the list as you can see. This problem should be replicable, just open a new project and import my pom.xml. I attached it below.
|
Author: | Platform Support [ Fri 19 Mar, 2021, 17:26 ] |
Post subject: | Re: neverending netty errors |
Do you have some additional custom dependancies, where guava can be of different version? |
Author: | SFXbernhard [ Fri 19 Mar, 2021, 17:46 ] |
Post subject: | Re: neverending netty errors |
Yes, there is a connected project that uses guava 30.0-jre I just created a new project without this connected project and no netty errors appear. Once I add the other project in the build path, these errors are back. Solution: I went to the connected project and checked the "Resolved Dependencies", then I right clicked on guava 30.0-jre and selected "Remove Maven Artifact...". This removed the errors. Thanks to you, your hint helped a lot! |
Author: | SFXbernhard [ Thu 25 Mar, 2021, 23:05 ] |
Post subject: | Re: neverending netty errors |
Could you upgrade your guava 19 to a more current one? Version 19 is a bit outdated since it is from 2016. Latest version is 30.1.1 https://mvnrepository.com/artifact/com. ... uava/guava |
Author: | Platform Support [ Mon 29 Mar, 2021, 16:06 ] |
Post subject: | Re: neverending netty errors |
No, we cannot. We've got rid of Guava at all in the current transport-client version. We are using CompletableFuture now. Please, switch to the latest version of our code. You will be able to use Guava whatever version you want then. |
Page 1 of 1 |