Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.5.0, 0.6.0, 0.7.0
-
None
-
Windows 10
OpenJDK 11
Eclipse 2019-12
Remote PLC running TwinCat 2
Description
I'm starting to use the ADS protocol support of the PLC4X project. I succeeded to read out single values but always struggle with a hanging application process due to remaning threads of nioEventLoopGroup and pool-1:
Attached are the simple java test method and the trace log.
I built the library version 0.7.0-SNAPSHOT from source.
After 30 seconds warnings get logged regarding timeouts but the thread keep running:
11:52:03.492 [pool-1-thread-1] WARN o.a.p.j.b.p.SingleItemToSingleRequestProtocol - container PlcRequestContainer{request=org.apache.plc4x.java.base.messages.DefaultPlcProprietaryRequest@c1b47e3} timed out:HashedWheelTimer$HashedWheelTimeout(deadline: 101966500 ns ago, task: org.apache.plc4x.java.base.protocol.SingleItemToSingleRequestProtocol$$Lambda$99/0x0000000800237440@353dfda9) 11:52:08.791 [pool-1-thread-1] WARN o.a.p.j.b.p.SingleItemToSingleRequestProtocol - container PlcRequestContainer{request=org.apache.plc4x.java.base.messages.DefaultPlcProprietaryRequest@3220d517} timed out:HashedWheelTimer$HashedWheelTimeout(deadline: 9469900 ns ago, task: org.apache.plc4x.java.base.protocol.SingleItemToSingleRequestProtocol$$Lambda$99/0x0000000800237440@3fc596d9)