<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:01:41 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>[HONEYVBD-3] NPE when putting certain data into WriteTransaction</title>
                <link>https://jira.opendaylight.org/browse/HONEYVBD-3</link>
                <project id="10128" key="HONEYVBD">honeycomb-vbd</project>
                    <description>&lt;p&gt;Cannot put vlan type topology into WriteTransaction.&lt;/p&gt;

&lt;p&gt;The problem occurs when node-vbridge-vlan-augmentation is filled out&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/honeycomb-vbd/blob/master/api/src/main/yang/vlan-tunnel.yang&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/honeycomb-vbd/blob/master/api/src/main/yang/vlan-tunnel.yang&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If it&apos;s not specified, put is executed successfully.&lt;/p&gt;

&lt;p&gt;I tried this other way round by putting the data via Restconf - they were stored in datastore successfully.&lt;/p&gt;

&lt;p&gt;How to replicate this:&lt;/p&gt;

&lt;p&gt;build latest groupbasedpolicy distribution&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/groupbasedpolicy/tree/master/distribution-karaf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/groupbasedpolicy/tree/master/distribution-karaf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;feature:install odl-vbd-ui odl-groupbasedpolicy-vpp odl-restconf&lt;br/&gt;
PUT the following data from these collection in order&lt;br/&gt;
&lt;a href=&quot;https://www.getpostman.com/collections/d91d74158795bd60d8d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.getpostman.com/collections/d91d74158795bd60d8d5&lt;/a&gt;&lt;br/&gt;
(there is one PUT which only shows what data should be written to DS. Note, that it&apos;s possible to write them via Restconf as I mentioned above)&lt;/p&gt;

&lt;p&gt;You should see NPE in log, notice the following piece in stacktrace&lt;/p&gt;

&lt;p&gt;at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toNormalizedNode(BindingToNormalizedNodeCodec.java:132)&lt;span class=&quot;error&quot;&gt;&amp;#91;183:org.opendaylight.controller.sal-binding-broker-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.md.sal.binding.impl.AbstractWriteTransaction.put(AbstractWriteTransaction.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;183:org.opendaylight.controller.sal-binding-broker-impl:1.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.groupbasedpolicy.renderer.vpp.policy.BridgeDomainManagerImpl$2.apply(BridgeDomainManagerImpl.java:210)&lt;/p&gt;

&lt;p&gt;That line 210 where put is called fires the error.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22399">HONEYVBD-3</key>
            <summary>NPE when putting certain data into WriteTransaction</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="tcechval">Tomas Cechvala</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Jun 2016 08:08:08 +0000</created>
                <updated>Thu, 19 Oct 2017 21:27:01 +0000</updated>
                            <resolved>Tue, 21 Jun 2016 08:24:44 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="42452" author="tcechval@cisco.com" created="Tue, 21 Jun 2016 08:09:03 +0000"  >&lt;p&gt;BridgeDomainManagerImp&lt;br/&gt;
&lt;a href=&quot;https://github.com/opendaylight/groupbasedpolicy/blob/b8d10f217006b443cb01ca8d361ac1907ae0c925/renderers/vpp/src/main/java/org/opendaylight/groupbasedpolicy/renderer/vpp/policy/BridgeDomainManagerImpl.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/opendaylight/groupbasedpolicy/blob/b8d10f217006b443cb01ca8d361ac1907ae0c925/renderers/vpp/src/main/java/org/opendaylight/groupbasedpolicy/renderer/vpp/policy/BridgeDomainManagerImpl.java&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42453" author="tcechval@cisco.com" created="Tue, 21 Jun 2016 08:24:44 +0000"  >&lt;p&gt;So just after reporting this the cause was find.&lt;/p&gt;

&lt;p&gt;The class of augmentation should have been specified by NodeVbridgeVlanAugment.class and not object.getClass() because it returns NodeVbridgeVlanAugmentImpl&lt;/p&gt;

&lt;p&gt;It will be fixed in GBP.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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>6094</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=6094]]></customfieldvalue>

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

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