<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:17 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-538] Filtered &lt;get-config&gt; fails with ClassCastException</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-538</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Following RPC fails:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&amp;lt;rpc message-id=&lt;span class=&quot;code-quote&quot;&gt;&quot;101&quot;&lt;/span&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt;&amp;gt;
&amp;lt;get-config&amp;gt;
&amp;lt;source&amp;gt;
&amp;lt;running/&amp;gt;
&amp;lt;/source&amp;gt;
&amp;lt;filter xmlns:ns0=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&lt;/span&gt; ns0:type=&lt;span class=&quot;code-quote&quot;&gt;&quot;subtree&quot;&lt;/span&gt;&amp;gt;
&amp;lt;application-rib xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:params:xml:ns:yang:bgp-rib&quot;&lt;/span&gt;&amp;gt;
&amp;lt;id&amp;gt;10.25.1.9&amp;lt;/id&amp;gt;
&amp;lt;tables&amp;gt;
&amp;lt;afi xmlns:x=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:params:xml:ns:yang:bgp-types&quot;&lt;/span&gt;&amp;gt;x:ipv4-address-family&amp;lt;/afi&amp;gt;
&amp;lt;safi xmlns:x=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:params:xml:ns:yang:bgp-types&quot;&lt;/span&gt;&amp;gt;x:unicast-subsequent-address-family&amp;lt;/safi&amp;gt;
&amp;lt;ipv4-routes xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:opendaylight:params:xml:ns:yang:bgp-inet&quot;&lt;/span&gt;&amp;gt;
&amp;lt;ipv4-route&amp;gt;
&amp;lt;path-id&amp;gt;0&amp;lt;/path-id&amp;gt;
&amp;lt;prefix&amp;gt;10.0.0.12/32&amp;lt;/prefix&amp;gt;
&amp;lt;/ipv4-route&amp;gt;
&amp;lt;/ipv4-routes&amp;gt;
&amp;lt;/tables&amp;gt;
&amp;lt;/application-rib&amp;gt;
&amp;lt;/filter&amp;gt;
&amp;lt;/get-config&amp;gt;
&amp;lt;/rpc&amp;gt;]]&amp;gt;]]&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;with:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
java.lang.ClassCastException: org.opendaylight.yangtools.yang.data.impl.schema.builder.impl.ImmutableMapNodeBuilder$ImmutableMapNode cannot be &lt;span class=&quot;code-keyword&quot;&gt;cast&lt;/span&gt; to org.opendaylight.yangtools.yang.data.api.schema.ContainerNode
&#160;&#160; &#160;at org.opendaylight.netconf.mdsal.connector.ops.get.AbstractGet.transformNormalizedNode(AbstractGet.java:74) [413:org.opendaylight.netconf.mdsal-netconf-connector:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.mdsal.connector.ops.get.AbstractGet.serializeNodeWithParentStructure(AbstractGet.java:111) [413:org.opendaylight.netconf.mdsal-netconf-connector:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.mdsal.connector.ops.get.GetConfig.handleWithNoSubsequentOperations(GetConfig.java:80) [413:org.opendaylight.netconf.mdsal-netconf-connector:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.util.mapping.AbstractSingletonNetconfOperation.handle(AbstractSingletonNetconfOperation.java:26) [309:org.opendaylight.netconf.util:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.util.mapping.AbstractNetconfOperation.handle(AbstractNetconfOperation.java:104) [309:org.opendaylight.netconf.util:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl$NetconfOperationExecution.execute(NetconfOperationRouterImpl.java:173) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.executeOperationWithHighestPriority(NetconfOperationRouterImpl.java:114) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.osgi.NetconfOperationRouterImpl.onNetconfMessage(NetconfOperationRouterImpl.java:86) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.NetconfServerSessionListener.processDocument(NetconfServerSessionListener.java:124) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:89) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.impl.NetconfServerSessionListener.onMessage(NetconfServerSessionListener.java:32) [409:mdsal-netconf-impl:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:65) [297:org.opendaylight.netconf.netty-util:1.4.0]
&#160;&#160; &#160;at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35) [297:org.opendaylight.netconf.netty-util:1.4.0]
&#160;&#160; &#160;at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53) [300:org.opendaylight.netconf.protocol-framework:1.1.0]
&#160;&#160; &#160;at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:297) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:413) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) [99:io.netty.codec:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1359) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRea56d(AbstractChannelHandlerContext.java:348) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:935) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.local.LocalChannel.finishPeerRead0(LocalChannel.java:456) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.local.LocalChannel.access$400(LocalChannel.java:50) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.local.LocalChannel$5.run(LocalChannel.java:410) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) [101:io.netty.common:4.1.16.Final]
&#160;&#160; &#160;at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:403) [101:io.netty.common:4.1.16.Final]
&#160;&#160; &#160;at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) [104:io.netty.transport:4.1.16.Final]
&#160;&#160; &#160;at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [101:io.netty.common:4.1.16.Final]
&#160;&#160; &#160;at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138) [101:io.netty.common:4.1.16.Final]
&#160;&#160; &#160;at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:748) [?:?]

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Install following features: odl-restconf-all odl-netconf-connector-all odl-netconf-topology odl-netconf-mdsal&#160;odl-bgpcep-bgp&lt;/li&gt;
	&lt;li&gt;Configure BGP protocol and server (see attached postman collection).&lt;/li&gt;
	&lt;li&gt;Add application peer&lt;/li&gt;
	&lt;li&gt;Add route&lt;/li&gt;
	&lt;li&gt;Invoke &amp;lt;get-config&amp;gt; defined above.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29791">NETCONF-538</key>
            <summary>Filtered &lt;get-config&gt; fails with ClassCastException</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="mario.abraham">Mario Abraham</assignee>
                                    <reporter username="mgradzki">Marek Gradzki</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Tue, 17 Apr 2018 10:22:39 +0000</created>
                <updated>Sun, 22 Sep 2019 03:15:35 +0000</updated>
                            <resolved>Sun, 22 Sep 2019 03:15:35 +0000</resolved>
                                    <version>Oxygen</version>
                                    <fixVersion>Magnesium</fixVersion>
                    <fixVersion>Sodium SR1</fixVersion>
                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="64611" author="rovarga" created="Sat, 11 Aug 2018 11:41:55 +0000"  >&lt;p&gt;Blocks downstream issue. &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=JMorvay&quot; class=&quot;user-hover&quot; rel=&quot;JMorvay&quot;&gt;JMorvay&lt;/a&gt; can you triage this, please?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14616" name="NETCONF_538_postman_collection.json" size="5153" author="mgradzki" created="Tue, 17 Apr 2018 10:26:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03dh3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>