|
neverending netty errors |
SFXbernhard
|
Post subject: neverending netty errors |
Post rating: 0
|
Posted: Tue 02 Mar, 2021, 14:33
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
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)' java.lang.NoSuchMethodError: 'com.google.common.util.concurrent.ListenableFuture com.google.common.util.concurrent.Futures.dereference(com.google.common.util.concurrent.ListenableFuture)' at com.dukascopy.dds4.transport.netty.AsyncSettableFuture.<init>(AsyncSettableFuture.java:47) at com.dukascopy.dds4.transport.netty.AsyncSettableFuture.create(AsyncSettableFuture.java:43) at com.dukascopy.dds4.transport.client.netty.task.AbstractEventExecutorChannelTask.executeInExecutor(AbstractEventExecutorChannelTask.java:184) at com.dukascopy.dds4.transport.client.netty.task.AbstractEventExecutorChannelTask.executeInExecutor(AbstractEventExecutorChannelTask.java:85) at com.dukascopy.dds4.transport.client.netty.udp.UdpClientProtocolHandler.fireFeedbackMessageReceived(UdpClientProtocolHandler.java:276) at com.dukascopy.dds4.transport.client.netty.udp.UdpClientProtocolHandler.messageReceived(UdpClientProtocolHandler.java:227) at com.dukascopy.dds4.transport.client.netty.udp.UdpClientProtocolHandler.channelRead(UdpClientProtocolHandler.java:192) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) at io.netty.channel.nio.AbstractNioMessageChannel$NioMessageUnsafe.read(AbstractNioMessageChannel.java:93) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:719) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:655) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:581) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493) at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:832)
Please help
|
|
|
|
![](images/spacer.gif) |
Platform Support
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Wed 17 Mar, 2021, 08:22
|
|
JForex Master | ![User avatar](https://static1.scirra.net/avatars/256/97fe74a64e3e00befcd1f37d1a2370ca.png) |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1049 Location: Geneva, Switzerland
|
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?
|
|
|
|
![](images/spacer.gif) |
SFXbernhard
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Wed 17 Mar, 2021, 16:00
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
|
|
|
![](images/spacer.gif) |
Platform Support
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Fri 19 Mar, 2021, 15:02
|
|
JForex Master | ![User avatar](https://static1.scirra.net/avatars/256/97fe74a64e3e00befcd1f37d1a2370ca.png) |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1049 Location: Geneva, Switzerland
|
This excetion can be thrown only if the guava version is not 19.0 in the runtime. Are you sure you have this version?
|
|
|
|
![](images/spacer.gif) |
SFXbernhard
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Fri 19 Mar, 2021, 15:39
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
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.
Attachments: |
pom.xml [2.25 KiB]
Downloaded 857 times
|
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on
this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control
on their content. Anyone accessing this webpage and downloading or otherwise making use of any document,
data or information found on this webpage shall do it on his/her own risks without any recourse against
Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from
the use and/or reliance on any document, data or information found on this webpage.
|
|
|
|
|
![](images/spacer.gif) |
Platform Support
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Fri 19 Mar, 2021, 17:26
|
|
JForex Master | ![User avatar](https://static1.scirra.net/avatars/256/97fe74a64e3e00befcd1f37d1a2370ca.png) |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1049 Location: Geneva, Switzerland
|
Do you have some additional custom dependancies, where guava can be of different version?
|
|
|
|
![](images/spacer.gif) |
SFXbernhard
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Fri 19 Mar, 2021, 17:46
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
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!
|
|
|
|
![](images/spacer.gif) |
SFXbernhard
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Thu 25 Mar, 2021, 23:05
|
|
User rating: 21
Joined: Thu 19 May, 2011, 20:50 Posts: 413 Location: Germany, Munich
|
|
|
|
![](images/spacer.gif) |
Platform Support
|
Post subject: Re: neverending netty errors |
Post rating: 0
|
Posted: Mon 29 Mar, 2021, 16:06
|
|
JForex Master | ![User avatar](https://static1.scirra.net/avatars/256/97fe74a64e3e00befcd1f37d1a2370ca.png) |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1049 Location: Geneva, Switzerland
|
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.
|
|
|
|
![](images/spacer.gif) |
|
Pages: [
1
]
|
|
|
|
|