<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:20 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-469] NullPointerException when including a submodule of a more recent revision than the module</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-469</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Attached are two yang files, a simple module which includes a submodule. When parsing them a NullPointerException occurs: &lt;/p&gt;


&lt;p&gt;java.lang.NullPointerException&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.builder.impl.GroupingUtils.getTargetGroupingFromModules(GroupingUtils.java:59)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.resolveUsesTargetGrouping(YangParserImpl.java:1083)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.build(YangParserImpl.java:707)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.parseYangModelSources(YangParserImpl.java:354)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.impl.YangParserImpl.parseSources(YangParserImpl.java:195)&lt;/p&gt;


&lt;p&gt;It only happens when the submodule has a more recent revision date than the module. The include statement in the model specifies no revision date.&lt;/p&gt;

&lt;p&gt;When debugging I can see that&lt;br/&gt;
org.opendaylight.yangtools.yang.parser.builder.impl.BuilderUtils.findModule(QName, Map&amp;lt;URI, TreeMap&amp;lt;Date, ModuleBuilder&amp;gt;&amp;gt;) is unable to find the correct module.&lt;/p&gt;

&lt;p&gt;The Yangtools version is 0.6.5-Helium-SR3.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22889">YANGTOOLS-469</key>
            <summary>NullPointerException when including a submodule of a more recent revision than the module</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="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="claudia.hwang@ontology.com">Claudia Hwang</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jun 2015 13:44:34 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:34 +0000</updated>
                            <resolved>Tue, 20 Oct 2015 12:46:19 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="43418" author="claudia.hwang@ontology.com" created="Thu, 18 Jun 2015 13:44:34 +0000"  >&lt;p&gt;Attachment test_yang.zip has been added with description: Yang files demonstrating the problem&lt;/p&gt;</comment>
                            <comment id="43415" author="martin.ciglan" created="Thu, 30 Jul 2015 12:43:37 +0000"  >&lt;p&gt;I was able to replicate this bug, we will look into it and come back to you.&lt;/p&gt;</comment>
                            <comment id="43416" author="pkajsa" created="Wed, 9 Sep 2015 07:39:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/26622/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/26622/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43417" author="martin.ciglan" created="Mon, 5 Oct 2015 13:54:05 +0000"  >&lt;p&gt;cherry-pick to stable/lithium&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/27806/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/27806/2&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13021" name="test_yang.zip" size="742" author="claudia.hwang@ontology.com" created="Thu, 18 Jun 2015 13:44:34 +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>3799</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=3799]]></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="10351"><![CDATA[Beryllium-M5]]></customfieldvalue>

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

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