Hey,
thanks for your two awesome libraries.
We have an application which uses both com.digitalpetri.modbus:modbus-tcp:2.1.0 and org.eclipse.milo:sdk-client:0.6.15, org.eclipse.milo:sdk-server:0.6.15 respectively.
When starting my application, I get a few errors in the log:
2025-04-08T17:07:58.412+02:00 ERROR 94651 --- [application] [d-thread-pool-1] o.eclipse.milo.opcua.stack.core.Stack : Uncaught Throwable on shared stack ExecutorService thread!
java.lang.AbstractMethodError: Receiver class org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions does not define or inherit an implementation of the resolved method 'abstract java.util.concurrent.CompletableFuture connect(com.digitalpetri.fsm.FsmContext)' of interface com.digitalpetri.netty.fsm.ChannelActions.
at com.digitalpetri.netty.fsm.ChannelFsmFactory.lambda$connect$54(ChannelFsmFactory.java:565) ~[netty-channel-fsm-1.0.0.jar:na]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[na:na]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[na:na]
at java.base/java.lang.Thread.run(Thread.java:1583) ~[na:na]
The error seems to stem from the fact, that both of these dependencies use different versions of netty-channel-fsm, modbus uses version 1.0.0 and milo seems to rely on 0.9.0. This causes some incompatibility which makes using both dependencies in the same project unusable though.
Is there a way to fix that or even better to bump the dependency on the milo side to 1.0.0 as well?
I'm open to submitting a PR.
cheers!
Hey,
thanks for your two awesome libraries.
We have an application which uses both
com.digitalpetri.modbus:modbus-tcp:2.1.0andorg.eclipse.milo:sdk-client:0.6.15,org.eclipse.milo:sdk-server:0.6.15respectively.When starting my application, I get a few errors in the log:
The error seems to stem from the fact, that both of these dependencies use different versions of
netty-channel-fsm, modbus uses version 1.0.0 and milo seems to rely on 0.9.0. This causes some incompatibility which makes using both dependencies in the same project unusable though.Is there a way to fix that or even better to bump the dependency on the milo side to 1.0.0 as well?
I'm open to submitting a PR.
cheers!