<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:44 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>[MDSAL-136] NPE in BA-&gt;BI serialization</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-136</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-3-1&amp;#93;&lt;/span&gt; ERROR org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl - Exception caught in BMP Session.&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
	at org.opendaylight.yangtools.yang.model.util.EffectiveAugmentationSchema.&amp;lt;init&amp;gt;(EffectiveAugmentationSchema.java:43)&lt;br/&gt;
	at org.opendaylight.yangtools.sal.binding.generator.util.BindingRuntimeContext.getResolvedAugmentationSchema(BindingRuntimeContext.java:222)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataObjectCodecContext.getAugmentationPrototype(DataObjectCodecContext.java:319)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataObjectCodecContext.reloadAllAugmentations(DataObjectCodecContext.java:137)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataObjectCodecContext.&amp;lt;init&amp;gt;(DataObjectCodecContext.java:125)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.ContainerNodeCodecContext.&amp;lt;init&amp;gt;(ContainerNodeCodecContext.java:19)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecPrototype.createInstance(DataContainerCodecPrototype.java:126)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecPrototype.get(DataContainerCodecPrototype.java:112)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataObjectCodecContext.streamChild(DataObjectCodecContext.java:150)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingToNormalizedStreamWriter.enter(BindingToNormalizedStreamWriter.java:113)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingToNormalizedStreamWriter.startContainerNode(BindingToNormalizedStreamWriter.java:190)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.open.message.bgp.parameters.optional.capabilities.CParameters$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.open.message.bgp.parameters.OptionalCapabilities$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev130919.open.message.BgpParameters$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev150512.peer.up.ReceivedOpen$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry$DataObjectSerializerProxy.serialize(BindingNormalizedNodeCodecRegistry.java:295)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.writeAsNormalizedNode(DataContainerCodecContext.java:202)&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.serialize(DataContainerCodecContext.java:195)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterPeerImpl.createPeerSessionUp(BmpRouterPeerImpl.java:263)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterPeerImpl.createPeerEntry(BmpRouterPeerImpl.java:317)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterPeerImpl.&amp;lt;init&amp;gt;(BmpRouterPeerImpl.java:147)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterPeerImpl.createRouterPeer(BmpRouterPeerImpl.java:158)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterImpl.onPeerUp(BmpRouterImpl.java:186)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.app.BmpRouterImpl.onMessage(BmpRouterImpl.java:108)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl.handleMessage(BmpSessionImpl.java:119)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl.channelRead0(BmpSessionImpl.java:48)&lt;br/&gt;
	at org.opendaylight.protocol.bmp.impl.session.BmpSessionImpl.channelRead0(BmpSessionImpl.java:1)&lt;br/&gt;
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)&lt;br/&gt;
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)&lt;br/&gt;
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)&lt;br/&gt;
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:276)&lt;br/&gt;
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:263)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:318)&lt;br/&gt;
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:304)&lt;br/&gt;
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)&lt;br/&gt;
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)&lt;br/&gt;
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)&lt;br/&gt;
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)&lt;br/&gt;
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26958">MDSAL-136</key>
            <summary>NPE in BA-&gt;BI serialization</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="filip.gregor@pantheon.tech">Filip Gregor</assignee>
                                    <reporter username="milos.fabian@pantheon.tech">Milos Fabian</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Mar 2016 11:35:36 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:13 +0000</updated>
                            <resolved>Tue, 19 Apr 2016 11:37:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="54268" author="milos.fabian@pantheon.tech" created="Tue, 15 Mar 2016 12:46:44 +0000"  >&lt;p&gt;NPE appears when serializing BA DTO to BI Node in following case:&lt;br/&gt;
Three models are involved:&lt;/p&gt;

&lt;p&gt;1. bgp-message.yang:&lt;br/&gt;
    notification open &lt;/p&gt;
{ &amp;lt;&amp;lt;-- BA DTO represented by this model
        uses open-message;
    }
&lt;p&gt;    grouping open-message {&lt;br/&gt;
    ...&lt;br/&gt;
    list bgp-parameters {&lt;br/&gt;
        list optional-capabilities {&lt;br/&gt;
            reference &quot;http://tools.ietf.org/html/rfc5492#section-4&quot;;&lt;br/&gt;
                container c-parameters { &lt;br/&gt;
...&lt;/p&gt;

&lt;p&gt;2. bgp-multiprotocol.yang:&lt;br/&gt;
    grouping mp-capabilities &lt;/p&gt;
{
        ...
    }

&lt;p&gt;augment &quot;/bgp-msg:open/bgp-msg:bgp-parameters/bgp-msg:optional-capabilities/bgp-msg:c-parameters&quot; &lt;/p&gt;
{
        uses mp-capabilities; &amp;lt;&amp;lt;-- BA DTO includes this augmentation, that&apos;s the point where NPE occurs when serializing
    }

&lt;p&gt;3. bmp-message.yang:&lt;br/&gt;
    grouping open-msg {&lt;br/&gt;
        uses bgp-msg:open-message {&lt;br/&gt;
            augment &quot;bgp-parameters/optional-capabilities/c-parameters&quot; &lt;/p&gt;
{
                uses bgp-mp:mp-capabilities;
            }
&lt;p&gt;        }&lt;br/&gt;
    }&lt;br/&gt;
    grouping peer-up {&lt;br/&gt;
        ...&lt;br/&gt;
        container sent-open &lt;/p&gt;
{ &amp;lt;&amp;lt;-- the output (BI normalized node) represents this container
            uses open-msg;
            description
                &quot;The full OPEN message transmitted by the
                 monitored router to its peer.&quot;;
        }
&lt;p&gt;        ...&lt;/p&gt;

&lt;p&gt;Note: Serialization is working as expected when the augmentation is not present in the DTO&lt;/p&gt;</comment>
                            <comment id="54269" author="milos.fabian@pantheon.tech" created="Tue, 15 Mar 2016 12:48:20 +0000"  >&lt;p&gt;Proposed change in BGPCEP project ( with failing test) &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/36246&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/36246&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54274" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:44:38 +0000"  >&lt;p&gt;Attachment opendaylight-bug-5524-module1.yang has been added with description: yang file 1&lt;/p&gt;</comment>
                            <comment id="54275" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:45:14 +0000"  >&lt;p&gt;Attachment opendaylight-bug-5524-module2.yang has been added with description: yang file 2&lt;/p&gt;</comment>
                            <comment id="54276" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:45:29 +0000"  >&lt;p&gt;Attachment opendaylight-bug-5524-module3.yang has been added with description: yang file 3&lt;/p&gt;</comment>
                            <comment id="54270" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:46:19 +0000"  >&lt;p&gt;I have unsuccessfully tried to replicate this Bug with attached yang files.&lt;br/&gt;
Can you please specify version master/berilium, and verify this bug with attached yang files or provide your own&lt;/p&gt;</comment>
                            <comment id="54277" author="milos.fabian@pantheon.tech" created="Wed, 23 Mar 2016 12:41:23 +0000"  >&lt;p&gt;Attachment bug5524.zip has been added with description: bug5524&lt;/p&gt;</comment>
                            <comment id="54271" author="milos.fabian@pantheon.tech" created="Wed, 23 Mar 2016 12:45:06 +0000"  >&lt;p&gt;My apologies, in fact there are 4 yang data models involved. Please, see attached zip file including the yang data models and &quot;failing&quot; unit test.&lt;br/&gt;
Tested with latest master branch artifacts.&lt;/p&gt;</comment>
                            <comment id="54272" author="filip.gregor@pantheon.tech" created="Mon, 11 Apr 2016 06:29:13 +0000"  >&lt;p&gt;proposed fix &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/37312/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/37312/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54273" author="rovarga" created="Wed, 13 Apr 2016 11:37:27 +0000"  >&lt;p&gt;beryllium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/37538&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/37538&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23591">BGPCEP-351</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13800" name="bug5524.zip" size="2777" author="milos.fabian@pantheon.tech" created="Wed, 23 Mar 2016 12:41:23 +0000"/>
                            <attachment id="13797" name="opendaylight-bug-5524-module1.yang" size="418" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:44:38 +0000"/>
                            <attachment id="13798" name="opendaylight-bug-5524-module2.yang" size="485" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:45:14 +0000"/>
                            <attachment id="13799" name="opendaylight-bug-5524-module3.yang" size="702" author="filip.gregor@pantheon.tech" created="Mon, 21 Mar 2016 15:45:29 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5524</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=5524]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10338"><![CDATA[Boron-M3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02wjb:</customfieldvalue>

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