<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:40 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-914] ImmutableNodes.fromInstanceId() fails with YangInstanceIdentifier.EMPTY</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-914</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Merge of dto with create Parent set to true, will end on&#160;NoSuchElementException, when the dto path is the root.&lt;/p&gt;

&lt;p&gt;public static final InstanceIdentifier&amp;lt;RoutingPolicy&amp;gt; ROUTING_POLICY_IID&lt;br/&gt;
 = InstanceIdentifier.create(RoutingPolicy.class);&lt;/p&gt;

&lt;p&gt;wtx.merge(LogicalDatastoreType.CONFIGURATION, ROUTING_POLICY_IID, routingPolicy,&lt;br/&gt;
 WriteTransaction.CREATE_MISSING_PARENTS);&lt;/p&gt;

&lt;p&gt;can be reproduced using patch&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt; and running&lt;/p&gt;

&lt;p&gt;OpenconfigRoutingPolicyLoaderTest&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/77460/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;[0]https://git.opendaylight.org/gerrit/#/c/77460/&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;&#160;&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;
&#160;

java.util.NoSuchElementException
 at com.google.common.collect.AbstractIndexedListIterator.next(AbstractIndexedListIterator.java:75)
 at org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes.fromInstanceId(ImmutableNodes.java:199)
 at org.opendaylight.yangtools.yang.data.impl.schema.ImmutableNodes.fromInstanceId(ImmutableNodes.java:167)
 at org.opendaylight.mdsal.binding.dom.adapter.BindingToNormalizedNodeCodec.instanceIdentifierToNode(BindingToNormalizedNodeCodec.java:449)
 at org.opendaylight.mdsal.binding.dom.adapter.AbstractWriteTransaction.ensureParentsByMerge(AbstractWriteTransaction.java:125)
 at org.opendaylight.mdsal.binding.dom.adapter.AbstractWriteTransaction.merge(AbstractWriteTransaction.java:55)
 at org.opendaylight.bgpcep.config.loader.routing.policy.OpenconfigRoutingPolicyLoader.loadConfiguration(OpenconfigRoutingPolicyLoader.java:73)
 at org.opendaylight.bgpcep.config.loader.impl.ConfigLoaderImpl.handleConfigFile(ConfigLoaderImpl.java:93)
 at org.opendaylight.bgpcep.config.loader.impl.ConfigLoaderImpl.registerConfigFile(ConfigLoaderImpl.java:159)
 at org.opendaylight.bgpcep.config.loader.routing.policy.OpenconfigRoutingPolicyLoader.init(OpenconfigRoutingPolicyLoader.java:51)
 at org.opendaylight.bgpcep.config.loader.routing.policy.AbstractOpenconfigRoutingPolicyLoaderTest.setUp(AbstractOpenconfigRoutingPolicyLoaderTest.java:29)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
 at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
 at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
 at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
 at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
 at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
 at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
 at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
 at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
 at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30973">YANGTOOLS-914</key>
            <summary>ImmutableNodes.fromInstanceId() fails with YangInstanceIdentifier.EMPTY</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</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="cdgasparini">Claudio David Gasparini</reporter>
                        <labels>
                    </labels>
                <created>Fri, 2 Nov 2018 16:09:35 +0000</created>
                <updated>Sun, 4 Nov 2018 21:59:24 +0000</updated>
                            <resolved>Sun, 4 Nov 2018 21:59:24 +0000</resolved>
                                    <version>2.0.0</version>
                                    <fixVersion>2.1.3</fixVersion>
                    <fixVersion>2.0.6.5</fixVersion>
                    <fixVersion>2.0.13</fixVersion>
                                    <component>data-impl</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="65494" author="rovarga" created="Fri, 2 Nov 2018 20:38:57 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=cdgasparini&quot; class=&quot;user-hover&quot; rel=&quot;cdgasparini&quot;&gt;cdgasparini&lt;/a&gt; this is an improvement as, really, what parents do you want to create for a single-entry InstanceIdentifier?&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03k53:</customfieldvalue>

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