11:49:36.822 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:36.822 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router started 11:49:36.822 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:36.822 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership acquired – will write OPERATIONAL view 11:49:36.823 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with service class org.opendaylight.restconf.server.mdsal.MdsalRestconfServer 11:49:36.824 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with base path: /restconf, default encoding: JSON, default pretty print: false 11:49:36.829 [restconf-netty-subscription-1] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0xb0e0106c, L:/127.0.0.1:43938 - R:/127.0.0.1:43533] 11:49:37.031 [restconf-netty-subscription-3] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0xcd7a8966, L:/127.0.0.1:43940 - R:/127.0.0.1:43533] 11:49:37.159 [restconf-netty-subscription-3] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: { "errors": { "error": [ { "error-tag": "operation-failed", "error-message": "Stream 'NETCONF' does not support EncodingName[name=json]", "error-type": "application" } ] } } at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:37.160 [restconf-netty-subscription-3] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:39.164 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership lost – stop writing OPERATIONAL view 11:49:39.165 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router stopped 11:49:39.165 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router stopped 11:49:39.165 [restconf-netty-subscription-2] WARN o.o.r.s.s.AbstractRestconfStreamRegistry - Subscription 2147483648 failed to clean up java.lang.NullPointerException: Cannot invoke "org.opendaylight.restconf.mdsal.spi.NotificationFormatterFactory.newFormatter(org.opendaylight.restconf.server.spi.TextParameters)" because the return value of "com.google.common.collect.ImmutableMap.get(Object)" is null at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getStateNotifEventFormatter(MdsalRestconfStreamRegistry.java:488) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getFormattedNotification(MdsalRestconfStreamRegistry.java:740) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.lambda$removeSubscription$3(MdsalRestconfStreamRegistry.java:429) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:255) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:245) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:126) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1004) at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:469) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:119) at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:44) at com.google.common.util.concurrent.ForwardingFluentFuture.addListener(ForwardingFluentFuture.java:46) at com.google.common.util.concurrent.AbstractTransformFuture.create(AbstractTransformFuture.java:51) at com.google.common.util.concurrent.Futures.transform(Futures.java:489) at com.google.common.util.concurrent.FluentFuture.transform(FluentFuture.java:375) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.removeSubscription(MdsalRestconfStreamRegistry.java:426) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.deleteSubscription(AbstractRestconfStreamRegistry.java:312) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.channelClosed(AbstractRestconfStreamRegistry.java:300) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.controlSessionClosed(AbstractRestconfStreamRegistry.java:387) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscriptionResource.removeRegistration(AbstractRestconfStreamRegistry.java:465) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.opendaylight.restconf.server.spi.DefaultTransportSession.removeRegistration(DefaultTransportSession.java:141) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at org.opendaylight.restconf.server.RestconfSession.channelInactive(RestconfSession.java:63) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:416) at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:412) at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:377) at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:219) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1424) at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:876) at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:684) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:39.173 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:39.174 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router started 11:49:39.174 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:39.174 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership acquired – will write OPERATIONAL view 11:49:39.176 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with service class org.opendaylight.restconf.server.mdsal.MdsalRestconfServer 11:49:39.176 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with base path: /restconf, default encoding: JSON, default pretty print: false 11:49:39.179 [restconf-netty-subscription-6] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0x845ca362, L:/127.0.0.1:45406 - R:/127.0.0.1:40227] 11:49:39.383 [restconf-netty-subscription-0] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0xed4b52b9, L:/127.0.0.1:45422 - R:/127.0.0.1:40227] 11:49:39.488 [restconf-netty-subscription-0] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: { "errors": { "error": [ { "error-tag": "operation-failed", "error-message": "Stream 'NETCONF' does not support EncodingName[name=json]", "error-type": "application" } ] } } at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:39.489 [restconf-netty-subscription-0] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:41.494 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership lost – stop writing OPERATIONAL view 11:49:41.494 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router stopped 11:49:41.494 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router stopped 11:49:41.494 [restconf-netty-subscription-7] WARN o.o.r.s.s.AbstractRestconfStreamRegistry - Subscription 2147483648 failed to clean up java.lang.NullPointerException: Cannot invoke "org.opendaylight.restconf.mdsal.spi.NotificationFormatterFactory.newFormatter(org.opendaylight.restconf.server.spi.TextParameters)" because the return value of "com.google.common.collect.ImmutableMap.get(Object)" is null at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getStateNotifEventFormatter(MdsalRestconfStreamRegistry.java:488) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getFormattedNotification(MdsalRestconfStreamRegistry.java:740) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.lambda$removeSubscription$3(MdsalRestconfStreamRegistry.java:429) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:255) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:245) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:126) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1004) at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:469) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:119) at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:44) at com.google.common.util.concurrent.ForwardingFluentFuture.addListener(ForwardingFluentFuture.java:46) at com.google.common.util.concurrent.AbstractTransformFuture.create(AbstractTransformFuture.java:51) at com.google.common.util.concurrent.Futures.transform(Futures.java:489) at com.google.common.util.concurrent.FluentFuture.transform(FluentFuture.java:375) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.removeSubscription(MdsalRestconfStreamRegistry.java:426) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.deleteSubscription(AbstractRestconfStreamRegistry.java:312) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.channelClosed(AbstractRestconfStreamRegistry.java:300) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.controlSessionClosed(AbstractRestconfStreamRegistry.java:387) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscriptionResource.removeRegistration(AbstractRestconfStreamRegistry.java:465) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.opendaylight.restconf.server.spi.DefaultTransportSession.removeRegistration(DefaultTransportSession.java:141) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at org.opendaylight.restconf.server.RestconfSession.channelInactive(RestconfSession.java:63) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:416) at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:412) at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:377) at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:219) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1424) at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:876) at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:684) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:41.496 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:41.497 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router started 11:49:41.497 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router started 11:49:41.497 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership acquired – will write OPERATIONAL view 11:49:41.498 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with service class org.opendaylight.restconf.server.mdsal.MdsalRestconfServer 11:49:41.498 [main] INFO o.o.r.s.RestconfTransportChannelListener - Initialized with base path: /restconf, default encoding: JSON, default pretty print: false 11:49:41.500 [restconf-netty-subscription-3] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0xbbf3c7c8, L:/127.0.0.1:49058 - R:/127.0.0.1:34527] 11:49:41.704 [restconf-netty-subscription-5] INFO o.o.n.t.http.ClientHttp1SseService - Client SSE enabled on channel [id: 0x02c58e76, L:/127.0.0.1:49064 - R:/127.0.0.1:34527] 11:49:41.808 [restconf-netty-subscription-5] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: { "errors": { "error": [ { "error-tag": "operation-failed", "error-message": "Stream 'NETCONF' does not support EncodingName[name=json]", "error-type": "application" } ] } } at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:333) at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:455) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:41.809 [restconf-netty-subscription-5] ERROR o.o.r.i.s.AbstractNotificationSubscriptionTest - Stream was not started java.lang.IllegalStateException: at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onRequestDeclineError(ClientHttp1SseHandler.java:142) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.onContent(ClientHttp1SseHandler.java:119) at org.opendaylight.netconf.transport.http.ClientHttp1SseHandler.channelRead(ClientHttp1SseHandler.java:74) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:356) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:434) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:249) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:354) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1429) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:918) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:168) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.handle(AbstractNioChannel.java:445) at io.netty.channel.nio.NioIoHandler$DefaultNioRegistration.handle(NioIoHandler.java:381) at io.netty.channel.nio.NioIoHandler.processSelectedKey(NioIoHandler.java:587) at io.netty.channel.nio.NioIoHandler.processSelectedKeysOptimized(NioIoHandler.java:562) at io.netty.channel.nio.NioIoHandler.processSelectedKeys(NioIoHandler.java:503) at io.netty.channel.nio.NioIoHandler.run(NioIoHandler.java:475) at io.netty.channel.SingleThreadIoEventLoop.runIo(SingleThreadIoEventLoop.java:225) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:196) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:43.816 [restconf-netty-subscription-4] WARN o.o.r.s.s.AbstractRestconfStreamRegistry - Subscription 2147483648 failed to clean up java.lang.NullPointerException: Cannot invoke "org.opendaylight.restconf.mdsal.spi.NotificationFormatterFactory.newFormatter(org.opendaylight.restconf.server.spi.TextParameters)" because the return value of "com.google.common.collect.ImmutableMap.get(Object)" is null at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getStateNotifEventFormatter(MdsalRestconfStreamRegistry.java:488) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.getFormattedNotification(MdsalRestconfStreamRegistry.java:740) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.lambda$removeSubscription$3(MdsalRestconfStreamRegistry.java:429) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:255) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:245) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:126) at com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:30) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1004) at com.google.common.util.concurrent.AbstractFuture.addListener(AbstractFuture.java:469) at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.addListener(AbstractFuture.java:119) at com.google.common.util.concurrent.ForwardingListenableFuture.addListener(ForwardingListenableFuture.java:44) at com.google.common.util.concurrent.ForwardingFluentFuture.addListener(ForwardingFluentFuture.java:46) at com.google.common.util.concurrent.AbstractTransformFuture.create(AbstractTransformFuture.java:51) at com.google.common.util.concurrent.Futures.transform(Futures.java:489) at com.google.common.util.concurrent.FluentFuture.transform(FluentFuture.java:375) at org.opendaylight.restconf.server.mdsal.MdsalRestconfStreamRegistry.removeSubscription(MdsalRestconfStreamRegistry.java:426) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.deleteSubscription(AbstractRestconfStreamRegistry.java:312) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.channelClosed(AbstractRestconfStreamRegistry.java:300) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscription.controlSessionClosed(AbstractRestconfStreamRegistry.java:387) at org.opendaylight.restconf.server.spi.AbstractRestconfStreamRegistry$DynSubscriptionResource.removeRegistration(AbstractRestconfStreamRegistry.java:465) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at org.opendaylight.restconf.server.spi.DefaultTransportSession.removeRegistration(DefaultTransportSession.java:141) at org.opendaylight.yangtools.concepts.AbstractRegistration.close(AbstractRegistration.java:65) at org.opendaylight.restconf.server.RestconfSession.channelInactive(RestconfSession.java:63) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.ChannelInboundHandlerAdapter.channelInactive(ChannelInboundHandlerAdapter.java:81) at io.netty.handler.codec.MessageAggregator.channelInactive(MessageAggregator.java:441) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelInactive(CombinedChannelDuplexHandler.java:416) at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:412) at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:377) at io.netty.channel.CombinedChannelDuplexHandler.channelInactive(CombinedChannelDuplexHandler.java:219) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:250) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1424) at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:876) at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:684) at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:148) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:141) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:535) at io.netty.channel.SingleThreadIoEventLoop.run(SingleThreadIoEventLoop.java:201) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:1193) at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) at java.base/java.lang.Thread.run(Thread.java:1583) 11:49:43.817 [main] INFO o.o.r.s.m.MdsalRestconfStreamRegistry - Cluster leadership lost – stop writing OPERATIONAL view 11:49:43.817 [main] INFO o.o.mdsal.dom.broker.DOMRpcRouter - DOM RPC/Action router stopped 11:49:43.817 [main] INFO o.o.m.d.broker.DOMNotificationRouter - DOM Notification Router stopped