<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:03 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>[CONTROLLER-52] NPE throw in AbstractDataBroker.readOperationalData with Augmented Node</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-52</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Root issue:  In inventory-managers NodeChangeCommiter.onNodeUpdate we eventually&lt;br/&gt;
hit an NPE that is difficult to trace.  I have traced it as far as a call to &lt;br/&gt;
AbstractDataBroker.readOperationalData... but at that point the debugger gets lost.&lt;/p&gt;

&lt;p&gt;Note:  This only happens when a FlowCapableNode is updated, not when a simple Node is updated.  &lt;br/&gt;
Note: This happens whether the Node is being created or updated.&lt;/p&gt;


&lt;p&gt;Stacktrace from debugger as far as it gets:&lt;br/&gt;
Thread &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-16-thread-2&amp;#93;&lt;/span&gt; (Suspended (breakpoint at line 182 in AbstractDataModification))	&lt;br/&gt;
	DataTransactionImpl(AbstractDataModification&amp;lt;P,D&amp;gt;).hasOperationalOriginal(P) line: 182	&lt;br/&gt;
	DataTransactionImpl(AbstractDataModification&amp;lt;P,D&amp;gt;).putOperationalData(P, D) line: 77	&lt;br/&gt;
	DataTransactionImpl(AbstractDataModification&amp;lt;P,D&amp;gt;).putRuntimeData(P, D) line: 86	&lt;br/&gt;
	NodeChangeCommiter.onNodeUpdated(NodeUpdated) line: 104	&lt;br/&gt;
	NodeChangeCommiter$$Broker$ListenerInvoker.onNotification(Notification) line: not available	&lt;br/&gt;
	NotifyTask.call() line: 46	&lt;br/&gt;
	FutureTask$Sync.innerRun() line: 334	&lt;br/&gt;
	FutureTask&amp;lt;V&amp;gt;.run() line: 166	&lt;br/&gt;
	ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) line: 1145	&lt;br/&gt;
	ThreadPoolExecutor$Worker.run() line: 615	&lt;br/&gt;
	Thread.run() line: 724	&lt;/p&gt;

&lt;p&gt;path: [org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.Nodes, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node[key=NodeKey [_id=Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=openflow:1&amp;#93;&lt;/span&gt;]]]&lt;/p&gt;

&lt;p&gt;Setup:&lt;/p&gt;

&lt;p&gt;This was found using the distribution from openflowplugin/distributions/base&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/2797/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/2797/2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using a controller built from:&lt;br/&gt;
Macintosh-3:controller hagbard$ git log -1&lt;br/&gt;
commit 8b84c5a210d5bf688fde0eb0db1b7f21f78a4f0b&lt;br/&gt;
Merge: b76ceb5 0533bdd&lt;br/&gt;
Author: Jason Ye &amp;lt;yisye@cisco.com&amp;gt;&lt;br/&gt;
Date:   Sun Nov 17 19:45:23 2013 +0000&lt;/p&gt;

&lt;p&gt;Breakpoints I&apos;ve found useful:&lt;br/&gt;
AbstractDataBroker &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 79&amp;#93;&lt;/span&gt; - readOperationalData(P)	&lt;br/&gt;
AbstractDataModification &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 182&amp;#93;&lt;/span&gt; - hasOperationalOriginal(P)	&lt;br/&gt;
AbstractDataReadRouter &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 37&amp;#93;&lt;/span&gt; - readOperationalData(P)	&lt;br/&gt;
ConnectionConductorImpl &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 196&amp;#93;&lt;/span&gt; - onMultipartReplyMessage(MultipartReplyMessage)	&lt;br/&gt;
NodeChangeCommiter &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 58&amp;#93;&lt;/span&gt; - onNodeConnectorUpdated(NodeConnectorUpdated)	&lt;br/&gt;
NodeChangeCommiter &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 104&amp;#93;&lt;/span&gt; - onNodeUpdated(NodeUpdated)	&lt;br/&gt;
NotifyTask &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 49&amp;#93;&lt;/span&gt; - call()	&lt;br/&gt;
AbstractDataBroker.xtend &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 56&amp;#93;&lt;/span&gt;	&lt;br/&gt;
FlowCapableInventoryProvider.xtend &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 96&amp;#93;&lt;/span&gt;	&lt;br/&gt;
FlowCapableInventoryProvider.xtend &lt;span class=&quot;error&quot;&gt;&amp;#91;line: 109&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24606">CONTROLLER-52</key>
            <summary>NPE throw in AbstractDataBroker.readOperationalData with Augmented Node</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="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Nov 2013 10:07:56 +0000</created>
                <updated>Tue, 25 Jul 2023 08:22:48 +0000</updated>
                            <resolved>Wed, 20 Nov 2013 08:49:33 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="47384" author="tony.tkacik@gmail.com" created="Wed, 20 Nov 2013 08:49:33 +0000"  >&lt;p&gt;Implentation of offending component was updated ans fixed. Fix is merged in master.&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>148</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=148]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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