<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:55:53 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-1346] IAE in StatementContextBase.childCopyOf()</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1346</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I cloned the latest repo of transportpce from the master branch and tried to connect to my NE device via ODL but I was not able to. Upon checking the logs , I found the below errors:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;21:18:08.669 WARN [remote-connector-processing-executor-12] Unexpected error processing source RevisionSourceIdentifier [name=tailf-ncs-plan@2019-11-28]. Please file an issue with this model attached.
java.lang.IllegalArgumentException: Unsupported statement ReplicaStatementContext{definition=StatementDefinitionContext{statement=(http://tail-f.com/yang/common?revision=2019-11-30)action}, rawArgument=get-modifications, refCount=0}
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:219) ~[bundleFile:?]
        at org.opendaylight.yangtools.yang.parser.stmt.reactor.StatementContextBase.childCopyOf(StatementContextBase.java:809) ~[bundleFile:?]
        at org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext$Mutable.childCopyOf(StmtContext.java:259) ~[bundleFile:?]
        at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.augment.AugmentInferenceAction.copyStatement(AugmentInferenceAction.java:136) ~[bundleFile:?]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
	&lt;li&gt;21:17:57.862 WARN &lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-cluster-data-notification-dispatcher-58&amp;#93;&lt;/span&gt;&#160;&lt;b&gt;Could not find node ncs-vikrant in portmapping.&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;21:17:57.862 ERROR &lt;span class=&quot;error&quot;&gt;&amp;#91;opendaylight-cluster-data-notification-dispatcher-58&amp;#93;&lt;/span&gt; member-1-shard-topology-operational: Error notifying listener&lt;/b&gt;&#160;org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter@736c9cc9 java.lang.NullPointerException: null&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;On silicon, it used to work fine but on the latest version i.e. after consuming Phosphorus dependencies, there seems to be some issue. Attaching karaf logs, file&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/attachment/16704/16704_tailf-ncs-plan.yang&quot; title=&quot;tailf-ncs-plan.yang attached to YANGTOOLS-1346&quot;&gt;tailf-ncs-plan.yang&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.opendaylight.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;and its dependencies for further investigation.&lt;/p&gt;

&lt;p&gt;PS: I am relatively new to this environment so let me know if you need any specific info on the issue and I hope this issue gets resolved quickly as it seems to be a showstopper for us.&lt;/p&gt;</description>
                <environment></environment>
        <key id="34647">YANGTOOLS-1346</key>
            <summary>IAE in StatementContextBase.childCopyOf()</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="rovarga">Robert Varga</assignee>
                                    <reporter username="shanth21">Shanth K Gaitonde</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Sun, 10 Oct 2021 18:10:49 +0000</created>
                <updated>Wed, 20 Oct 2021 20:24:11 +0000</updated>
                            <resolved>Mon, 11 Oct 2021 17:45:03 +0000</resolved>
                                    <version>7.0.0</version>
                    <version>7.0.8</version>
                                    <fixVersion>8.0.0</fixVersion>
                    <fixVersion>7.0.9</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="69709" author="rovarga" created="Sun, 10 Oct 2021 20:46:23 +0000"  >&lt;p&gt;So let&apos;s start with the first warning and see where it gets us. For that the problematic method is:&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;
    @Override
    &lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; Mutable&amp;lt;?, ?, ?&amp;gt; childCopyOf(&lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; StmtContext&amp;lt;?, ?, ?&amp;gt; stmt, &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; CopyType type,
            &lt;span class=&quot;code-keyword&quot;&gt;final&lt;/span&gt; QNameModule targetModule) {
        checkEffectiveModelCompleted(stmt);
        checkArgument(stmt &lt;span class=&quot;code-keyword&quot;&gt;instanceof&lt;/span&gt; StatementContextBase, &lt;span class=&quot;code-quote&quot;&gt;&quot;Unsupported statement %s&quot;&lt;/span&gt;, stmt);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; childCopyOf((StatementContextBase&amp;lt;?, ?, ?&amp;gt;) stmt, type, targetModule);
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I believe the checkArgument() statement was broken by introduction of ReactorStmtCtx and ReplicaStatementContext in &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-1184&quot; title=&quot;Release InferredStatementContext&amp;#39;s effective statements after build&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-1184&quot;&gt;&lt;del&gt;YANGTOOLS-1184&lt;/del&gt;&lt;/a&gt;. We are hitting this for tailf:action, which has always been problematic because it is assumed to interact with YANG in ways extensions cannot be assumed to work.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="69711" author="JIRAUSER14101" created="Tue, 12 Oct 2021 11:07:23 +0000"  >&lt;p&gt;Hi Robert,&lt;/p&gt;

&lt;p&gt;I see this issue has been resolved, if I git pull the master branch of transportpce, would the fix be available on the latest fetch?&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="69712" author="rovarga" created="Tue, 12 Oct 2021 12:41:19 +0000"  >&lt;p&gt;Hey Shanth, not yet. This will be part of yangtools-7.0.9, which will be released in about a week or two and then it will need to be integrated down (which may take up to a week).&lt;/p&gt;</comment>
                            <comment id="69732" author="rovarga" created="Wed, 20 Oct 2021 20:24:11 +0000"  >&lt;p&gt;So yangtools-7.0.9 is out there, integration should take less then a week, I think.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10300">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="34648">TRNSPRTPCE-547</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16701" name="Karaf Logs.docx" size="18006" author="shanth21" created="Sun, 10 Oct 2021 18:08:48 +0000"/>
                            <attachment id="16707" name="tailf-ncs-common.yang" size="4371" author="shanth21" created="Sun, 10 Oct 2021 18:20:43 +0000"/>
                            <attachment id="16706" name="tailf-ncs-devices.yang" size="216968" author="shanth21" created="Sun, 10 Oct 2021 18:20:45 +0000"/>
                            <attachment id="16705" name="tailf-ncs-log.yang" size="4303" author="shanth21" created="Sun, 10 Oct 2021 18:20:43 +0000"/>
                            <attachment id="16704" name="tailf-ncs-plan.yang" size="53140" author="shanth21" created="Sun, 10 Oct 2021 18:20:44 +0000"/>
                            <attachment id="16703" name="tailf-ncs-services.yang" size="42310" author="shanth21" created="Sun, 10 Oct 2021 18:20:43 +0000"/>
                            <attachment id="16702" name="tailf-ncs.yang" size="11008" author="shanth21" created="Sun, 10 Oct 2021 18:20:43 +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|i0404n:</customfieldvalue>

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