<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:13 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>[YANGTOOLS-431] Yang Data Codec Gson: null pointer exception when trying to deserialize leafref value</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-431</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;When trying to call Rpc with input that has extended types referencing leafref nodes from another module, parsing of Json fails with null pointer exception. &lt;/p&gt;

&lt;p&gt;example model:&lt;br/&gt;
(nt is network-topology module) &lt;br/&gt;
        leaf node &lt;/p&gt;
{
            mandatory true;
            type nt:node-ref;
            description &quot;Network node end point.&quot;;
        }
&lt;p&gt;        leaf-list supporting-tp &lt;/p&gt;
{
            type nt:tp-ref;
            description
                &quot;List of termination points that support end point TP.
                If forwarding adjacency announcement triggers termination point
                creation, this list is used to fill tp-ref attribute.&quot;;
        }
&lt;p&gt;        leaf tp-id &lt;/p&gt;
{
            type nt:tp-id;
            description
                &quot;Forwarding adjacency interface unique identifier.
                If forwarding adjacency announcement triggers termination point
                creation, this id is used for TP creation.&quot;;
        }

&lt;p&gt;Bug can be reproduced by calling this rpc from topoproccessing project: &lt;a href=&quot;http://127.0.0.1:8181/restconf/operations/multilayer-topology:forwarding-adj-announce&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://127.0.0.1:8181/restconf/operations/multilayer-topology:forwarding-adj-announce&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;input:&lt;br/&gt;
{&lt;br/&gt;
    &quot;input&quot;: {&lt;br/&gt;
        &quot;head-end&quot;: &lt;/p&gt;
{
            &quot;node&quot;: &quot;A&quot;,
            &quot;supporting-tp&quot;: [
                &quot;/network-topology/topology[topology-id=&apos;TOPO&apos;]/node[node-id=&apos;1&apos;]/termination-point[network-topology:tp-id=&apos;1:3&apos;]&quot;
            ],
            &quot;tp-id&quot;: &quot;A:1&quot;
        }
&lt;p&gt;,&lt;br/&gt;
        &quot;tail-end&quot;: &lt;/p&gt;
{
            &quot;node&quot;: &quot;B&quot;,
            &quot;supporting-tp&quot;: [
                &quot;/network-topology/topology[topology-id=&apos;TOPO&apos;]/node[node-id=&apos;2&apos;]/termination-point[network-topology:tp-id=&apos;2:3&apos;]&quot;
            ],
        &quot;tp-id&quot;: &quot;B:1&quot;           
        }
&lt;p&gt;,&lt;br/&gt;
        &quot;bidirectional&quot; : {}&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22851">YANGTOOLS-431</key>
            <summary>Yang Data Codec Gson: null pointer exception when trying to deserialize leafref value</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="-1">Unassigned</assignee>
                                    <reporter username="jhajnar@cisco.com">Jan Hajnar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 25 Mar 2015 12:42:19 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:30 +0000</updated>
                            <resolved>Fri, 27 Mar 2015 08:16:03 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43343" author="jhajnar@cisco.com" created="Wed, 25 Mar 2015 12:47:28 +0000"  >&lt;p&gt;patch:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/17105/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/17105/&lt;/a&gt;&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>2894</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=2894]]></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="10380"><![CDATA[Lithium-M5]]></customfieldvalue>

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

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