ibes13 commented on issue #1257:
URL: https://github.com/apache/plc4x/issues/1257#issuecomment-1860221657
Hello,
I used the snapshot version 0.12.0-SNAPSHOT for the api and the s7 driver.
The DisconnectEvent is still being issued, but the
PlcConnection.isConnected() is now always true.
However, we receive the following error when executing a read request.
```
java.util.concurrent.RejectedExecutionException: Task
java.util.concurrent.FutureTask@73700b80[Not completed, task =
java.util.concurrent.Executors$RunnableAdapter@3d5c822d[Wrapped task =
org.apache.plc4x.java.spi.transaction.RequestTransactionManager$TransactionOperation@6f46426d]]
rejected from java.util.concurrent.ThreadPoolExecutor@42a48628[Terminated,
pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
at
java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081)
at
java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841)
at
java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376)
at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
at
org.apache.plc4x.java.spi.transaction.RequestTransactionManager.processWorklog(RequestTransactionManager.java:122)
at
org.apache.plc4x.java.spi.transaction.RequestTransactionManager.submit(RequestTransactionManager.java:114)
at
org.apache.plc4x.java.spi.transaction.RequestTransactionManager$RequestTransaction.submit(RequestTransactionManager.java:195)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.sendInternal(S7ProtocolLogic.java:1424)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.performOrdinaryReadRequest(S7ProtocolLogic.java:1308)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.read(S7ProtocolLogic.java:287)
at
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.send(BaseOptimizer.java:152)
at
org.apache.plc4x.java.spi.optimizer.BaseOptimizer.optimizedRead(BaseOptimizer.java:109)
at
org.apache.plc4x.java.spi.connection.AbstractPlcConnection.read(AbstractPlcConnection.java:178)
at
org.apache.plc4x.java.spi.messages.DefaultPlcReadRequest.execute(DefaultPlcReadRequest.java:55)
```
Establishing a connection
```
2023-12-18 10:29:16,987 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:50)]
(executor-thread-2) Instantiating new PLC Driver Manager with class loader
QuarkusClassLoader:Quarkus Runtime ClassLoader: DEV restart no:1@6f63deee
2023-12-18 10:29:16,987 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:54)]
(executor-thread-2) Registering available drivers...
2023-12-18 10:29:16,990 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:61)]
(executor-thread-2) Registering driver for Protocol s7 (Siemens S7 (Basic))
2023-12-18 10:29:16,991 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:50)]
(executor-thread-2) Instantiating new PLC Driver Manager with class loader
QuarkusClassLoader:Quarkus Runtime ClassLoader: DEV restart no:1@6f63deee
2023-12-18 10:29:16,992 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:54)]
(executor-thread-2) Registering available drivers...
2023-12-18 10:29:16,993 INFO [org.apa.plc.jav.DefaultPlcDriverManager
org.apache.plc4x.java.DefaultPlcDriverManager.<init>(DefaultPlcDriverManager.java:61)]
(executor-thread-2) Registering driver for Protocol s7 (Siemens S7 (Basic))
2023-12-18 10:29:17,020 INFO [org.apa.plc.jav.tra.tcp.TcpChannelFactory
org.apache.plc4x.java.transport.tcp.TcpChannelFactory.configureBootstrap(TcpChannelFactory.java:60)]
(executor-thread-2) Configuring Bootstrap with Configuration{local-rack=1,
local-slot=1, local-tsap=0, remote-rack=0, remote-slot=1, remote-rack2=0,
remote-slot2=0, remote-tsap=0, port=102, pduSize=1024, maxAmqCaller=8,
maxAmqCallee=8, controllerType='null, readTimeOut='0, ping='false, pingTime='0,
retryTime='0'}
2023-12-18 10:29:17,026 INFO [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.onConnect(S7ProtocolLogic.java:147)]
(executor-thread-2) S7 Driver running in ACTIVE mode.
2023-12-18 10:29:17,027 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.onConnect(S7ProtocolLogic.java:148)]
(executor-thread-2) Sending COTP Connection Request
2023-12-18 10:29:17,027 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: Multiplexor
2023-12-18 10:29:17,027 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: LoggingHandler#0
2023-12-18 10:29:17,028 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: DefaultNettyPlcConnection$1$1#0
2023-12-18 10:29:17,028 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: DefaultNettyPlcConnection$1$2#0
2023-12-18 10:29:17,029 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: CODEC
2023-12-18 10:29:17,030 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: EventListenerMessageCodec#0
2023-12-18 10:29:17,030 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: WRAPPER
2023-12-18 10:29:17,031 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$0(S7ProtocolLogic.java:154)]
(executor-thread-2) Nombre tuberias: DefaultChannelPipeline$TailContext#0
2023-12-18 10:29:17,032 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(executor-thread-2) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 22, cap:
256)
2023-12-18 10:29:17,032 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(nioEventLoopGroup-3-1) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 22,
cap: 22)
2023-12-18 10:29:17,033 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.userEventTriggered(S7HMuxImpl.java:178)]
(executor-thread-2) 10:29:17.033363 userEventTriggered: Multiplexor Event:
org.apache.plc4x.java.spi.events.ConnectEvent@f6941b3
2023-12-18 10:29:17,036 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$4(S7ProtocolLogic.java:168)]
(nioEventLoopGroup-3-1) Got COTP Connection Response
2023-12-18 10:29:17,037 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$4(S7ProtocolLogic.java:169)]
(nioEventLoopGroup-3-1) Sending S7 Connection Request
2023-12-18 10:29:17,038 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(nioEventLoopGroup-3-1) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 25,
cap: 256)
2023-12-18 10:29:17,038 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(nioEventLoopGroup-3-1) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 25,
cap: 25)
2023-12-18 10:29:17,038 WARN [io.net.cha.emb.EmbeddedChannel
io.netty.channel.embedded.EmbeddedChannel.recordException(EmbeddedChannel.java:645)]
(nioEventLoopGroup-3-1) More than one exception was raised. Will report only
the first one and log others.: io.netty.handler.codec.DecoderException:
io.netty.handler.codec.EncoderException: MessageToMessageCodec$1 must produce
at least one message.
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at
io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.decode(S7HMuxImpl.java:146)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.decode(S7HMuxImpl.java:1)
at
io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: io.netty.handler.codec.EncoderException: MessageToMessageCodec$1
must produce at least one message.
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:99)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.logging.LoggingHandler.write(LoggingHandler.java:288)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113)
at
io.netty.handler.codec.ByteToMessageCodec.write(ByteToMessageCodec.java:108)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at
io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at
io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at
io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at
io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at
org.apache.plc4x.java.spi.internal.DefaultConversationContext.sendToWire(DefaultConversationContext.java:70)
at
org.apache.plc4x.java.spi.internal.DefaultSendRequestContext.handle(DefaultSendRequestContext.java:97)
at
org.apache.plc4x.java.spi.internal.DefaultSendRequestContext.handle(DefaultSendRequestContext.java:1)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$4(S7ProtocolLogic.java:182)
at
java.base/java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)
at
org.apache.plc4x.java.spi.Plc4xNettyWrapper.decode(Plc4xNettyWrapper.java:184)
at
io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
... 40 more
2023-12-18 10:29:17,039 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelReadComplete(S7HMuxImpl.java:209)]
(nioEventLoopGroup-3-1) 10:29:17.039363300 channelReadComplete: MULTIPLEXER
2023-12-18 10:29:17,041 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$9(S7ProtocolLogic.java:183)]
(nioEventLoopGroup-3-1) Got S7 Connection Response
2023-12-18 10:29:17,041 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$9(S7ProtocolLogic.java:205)]
(nioEventLoopGroup-3-1) Sending S7 Identification Request
2023-12-18 10:29:17,042 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(nioEventLoopGroup-3-1) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 33,
cap: 256)
2023-12-18 10:29:17,042 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.encode(S7HMuxImpl.java:130)]
(nioEventLoopGroup-3-1) ENCODE: PooledUnsafeDirectByteBuf(ridx: 0, widx: 33,
cap: 33)
2023-12-18 10:29:17,042 WARN [io.net.cha.emb.EmbeddedChannel
io.netty.channel.embedded.EmbeddedChannel.recordException(EmbeddedChannel.java:645)]
(nioEventLoopGroup-3-1) More than one exception was raised. Will report only
the first one and log others.: io.netty.handler.codec.DecoderException:
io.netty.handler.codec.EncoderException: MessageToMessageCodec$1 must produce
at least one message.
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:98)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at
io.netty.handler.codec.ByteToMessageCodec.channelRead(ByteToMessageCodec.java:103)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:280)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.decode(S7HMuxImpl.java:146)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.decode(S7HMuxImpl.java:1)
at
io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
at
io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at
io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: io.netty.handler.codec.EncoderException: MessageToMessageCodec$1
must produce at least one message.
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:99)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.logging.LoggingHandler.write(LoggingHandler.java:288)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:113)
at
io.netty.handler.codec.ByteToMessageCodec.write(ByteToMessageCodec.java:108)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:863)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:968)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:856)
at
io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:113)
at
io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:879)
at
io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:940)
at
io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:966)
at
io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:934)
at
io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:984)
at
io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at
io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at
org.apache.plc4x.java.spi.internal.DefaultConversationContext.sendToWire(DefaultConversationContext.java:70)
at
org.apache.plc4x.java.spi.internal.DefaultSendRequestContext.handle(DefaultSendRequestContext.java:97)
at
org.apache.plc4x.java.spi.internal.DefaultSendRequestContext.handle(DefaultSendRequestContext.java:1)
at
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$9(S7ProtocolLogic.java:218)
at
java.base/java.util.function.Consumer.lambda$andThen$0(Consumer.java:65)
at
org.apache.plc4x.java.spi.Plc4xNettyWrapper.decode(Plc4xNettyWrapper.java:184)
at
io.netty.handler.codec.MessageToMessageCodec$2.decode(MessageToMessageCodec.java:81)
at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:88)
... 40 more
2023-12-18 10:29:17,043 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelReadComplete(S7HMuxImpl.java:209)]
(nioEventLoopGroup-3-1) 10:29:17.043362900 channelReadComplete: MULTIPLEXER
2023-12-18 10:29:17,046 DEBUG [org.apa.plc.jav.s7.rea.pro.S7ProtocolLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolLogic.lambda$16(S7ProtocolLogic.java:219)]
(nioEventLoopGroup-3-1) Got S7 Identification Response
2023-12-18 10:29:17,046 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.userEventTriggered(S7HMuxImpl.java:178)]
(nioEventLoopGroup-3-1) 10:29:17.046362700 userEventTriggered: Multiplexor
Event: org.apache.plc4x.java.spi.events.ConnectedEvent@61d8b28c
2023-12-18 10:29:17,046 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.userEventTriggered(S7HMuxImpl.java:183)]
(nioEventLoopGroup-3-1) java.util.NoSuchElementException: watchdog
2023-12-18 10:29:17,047 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelReadComplete(S7HMuxImpl.java:209)]
(nioEventLoopGroup-3-1) 10:29:17.047363 channelReadComplete: MULTIPLEXER
2023-12-18 10:29:17,047 INFO [net.beh.beh.beh.dev.s7.end.DeviceS7Endpoint
net.behringer.behrconnect.behrservices.devicecom.s7.endpoint.DeviceS7Endpoint.connect(DeviceS7Endpoint.java:43)]
(executor-thread-2) connected - true
2023-12-18 10:29:17,048 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelInactive(S7HMuxImpl.java:215)]
(executor-thread-2) channelInactive: Multiplexor
2023-12-18 10:29:17,049 DEBUG [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelUnregistered(S7HMuxImpl.java:227)]
(executor-thread-2) 10:29:17.049362600 channelUnregistered: Multiplexor
2023-12-18 10:29:17,049 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.channelUnregistered(S7HMuxImpl.java:229)]
(executor-thread-2) Unregistered of channel: PRIMARY
2023-12-18 10:29:17,052 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.userEventTriggered(S7HMuxImpl.java:178)]
(executor-thread-2) 10:29:17.052362800 userEventTriggered: Multiplexor Event:
org.apache.plc4x.java.spi.events.DisconnectEvent@52f1b9fd
2023-12-18 10:29:17,052 INFO [org.apa.plc.jav.s7.rea.pro.S7HMuxImpl
org.apache.plc4x.java.s7.readwrite.protocol.S7HMuxImpl.userEventTriggered(S7HMuxImpl.java:201)]
(executor-thread-2) DisconnectEvent
2023-12-18 10:29:17,055 INFO [net.beh.beh.beh.dev.s7.end.DeviceS7Endpoint
net.behringer.behrconnect.behrservices.devicecom.s7.endpoint.DeviceS7Endpoint.connect(DeviceS7Endpoint.java:49)]
(executor-thread-2) s7 client connected ? - true
2023-12-18 10:29:17,058 INFO [net.beh.beh.beh.lif.CustomResponseFilter
net.behringer.behrconnect.behrAppNXTGen.lifecycle.CustomResponseFilter.filter(CustomResponseFilter.java:29)]
(executor-thread-2) current response status 200 entity true
2023-12-18 10:29:17,128 INFO
[org.apa.plc.jav.s7.rea.pro.S7ProtocolEventLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolEventLogic$ObjectProcessor.run(S7ProtocolEventLogic.java:157)]
(plc4x-evt-processor-thread-1) ObjectProcessor Bye!
2023-12-18 10:29:17,526 INFO
[org.apa.plc.jav.s7.rea.pro.S7ProtocolEventLogic
org.apache.plc4x.java.s7.readwrite.protocol.S7ProtocolEventLogic$EventDispatcher.run(S7ProtocolEventLogic.java:233)]
(plc4x-evt-dispatcher-thread-1) EventDispatcher Bye!
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]