<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:04 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-457] OSGi errors after starting controller and mininet of10 simulation: ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@51f1a91e</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-457</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;After starting the controller and mininet of10 simulation, I get this error:&lt;/p&gt;

&lt;p&gt;1. Link to latest controller: &lt;a href=&quot;https://jenkins.opendaylight.org/integration/job/integration-project-centralized-integration/lastSuccessfulBuild/artifact/distributions/base/target/distributions-base-0.1.2-SNAPSHOT-osgipackage.zip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.opendaylight.org/integration/job/integration-project-centralized-integration/lastSuccessfulBuild/artifact/distributions/base/target/distributions-base-0.1.2-SNAPSHOT-osgipackage.zip&lt;/a&gt;&lt;br/&gt;
2. Start the controller ./run.sh -of13 -Xmx1G&lt;br/&gt;
3. Start the mininet: sudo mn --topo tree,2  --controller &apos;remote,ip=10.125.136.38,port=6633&apos;&lt;/p&gt;


&lt;p&gt;2014-05-06 17:41:57.190 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-notification-1384&amp;#93;&lt;/span&gt; ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@51f1a91e&lt;br/&gt;
java.lang.NullPointerException: Null values are not supported!&lt;br/&gt;
	at org.infinispan.CacheImpl.assertValueNotNull(CacheImpl.java:193) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.infinispan.CacheImpl.replaceInternal(CacheImpl.java:963) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.infinispan.CacheImpl.replace(CacheImpl.java:957) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.infinispan.CacheImpl.replace(CacheImpl.java:1361) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.infinispan.CacheImpl.replace(CacheImpl.java:250) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.switchmanager.internal.SwitchManager.addNode(SwitchManager.java:1039) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.switchmanager.internal.SwitchManager.updateNode(SwitchManager.java:1137) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.implementation.internal.Inventory.updateNode(Inventory.java:115) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.publishNodeUpdate(InventoryAndReadAdapter.java:1035) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:635) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker.onNotification(InventoryAndReadAdapter$$Broker$ListenerInvoker.java) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.sal.binding.impl.NotifyTask.call(NotifyTask.java:59) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.FutureTask.run(FutureTask.java:166) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:724) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_25&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2014-05-06 17:41:57.366 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-15-thread-1&amp;#93;&lt;/span&gt; ERROR o.o.c.m.s.b.i.ForwardedBackwardsCompatibleDataBroker - Tx: DOM-2570 Rollback - Datastore commit failed.&lt;br/&gt;
2014-05-06 17:41:57.366 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-15-thread-1&amp;#93;&lt;/span&gt; ERROR o.o.m.c.t.m.FlowCapableTopologyExporter - Topology export failed for Tx:DOM-2570&lt;br/&gt;
2014-05-06 17:41:57.993 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-12-1&amp;#93;&lt;/span&gt; INFO  o.o.o.p.i.c.PublishingChannelInitializer - Incoming connection from (remote address): /10.125.136.39:33256 --&amp;gt; :6633&lt;br/&gt;
2014-05-06 17:41:57.994 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-12-1&amp;#93;&lt;/span&gt; INFO  o.o.o.p.i.c.PublishingChannelInitializer - Incoming connection accepted - building pipeline&lt;br/&gt;
2014-05-06 17:41:58.002 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-12-1&amp;#93;&lt;/span&gt; INFO  o.o.o.p.i.c.ConnectionAdapterImpl - Hello received / branch&lt;br/&gt;
2014-05-06 17:41:58.049 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-15-thread-1&amp;#93;&lt;/span&gt; INFO  o.o.c.m.s.d.b.i.DOMDataBrokerImpl$CommitCoordination - Tx: DOM-2583 Did not pass canCommit phase.&lt;br/&gt;
2014-05-06 17:41:58.049 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-15-thread-1&amp;#93;&lt;/span&gt; ERROR o.o.c.m.s.b.i.ForwardedBackwardsCompatibleDataBroker - Tx: DOM-2583 Rollback - Datastore commit failed.&lt;br/&gt;
2014-05-06 17:41:58.049 PDT &lt;span class=&quot;error&quot;&gt;&amp;#91;pool-15-thread-1&amp;#93;&lt;/span&gt; ERROR o.o.m.c.t.m.FlowCapableTopologyExporter - Topology export failed for Tx:DOM-2583&lt;/p&gt;



&lt;p&gt;In the topology GUI, I see the following for the first time:&lt;/p&gt;

&lt;p&gt;Node ID        -      Ports&lt;br/&gt;
MD_SAL|openflow:1	0&lt;br/&gt;
MD_SAL|openflow:3	3&lt;br/&gt;
MD_SAL|openflow:2	3&lt;/p&gt;


&lt;p&gt;If I try to attempt again, everything works fine, even I could not see any OSGi errors as well.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Madhusudhan&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Windows&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25011">CONTROLLER-457</key>
            <summary>OSGi errors after starting controller and mininet of10 simulation: ERROR o.o.c.sal.binding.impl.NotifyTask - Unhandled exception thrown by listener: org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter$$Broker$ListenerInvoker@51f1a91e</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="gmeo@cisco.com">Giovanni Meo</assignee>
                                    <reporter username="madhusudhan.opendaylight@yahoo.com">Madhusudhan Ananderi</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 May 2014 00:57:36 +0000</created>
                <updated>Thu, 19 May 2016 18:41:52 +0000</updated>
                            <resolved>Thu, 19 May 2016 18:41:52 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="48261" author="tony.tkacik@gmail.com" created="Tue, 10 Jun 2014 14:01:24 +0000"  >&lt;p&gt;After small analysis it seems SwitchManager implementation is not thread-safe,&lt;br/&gt;
and if two events occured for node at a same time, it is possible to create a race&lt;br/&gt;
in:&lt;/p&gt;

&lt;p&gt;org.opendaylight.controller.switchmanager.internal.SwitchManager.addNode()&lt;/p&gt;

&lt;p&gt;nodePropsCurr (retieved from nodeProps field) are null when method start executing&lt;/p&gt;

&lt;p&gt;nodeProps.putIfAbsent(node,nodeProps) returns non-null (other thread updated nodeProps for particular key),&lt;br/&gt;
which triggers&lt;br/&gt;
nodeProps.replace(node,nodePropsCurr,nodeProps) with nodePropsCurr which was null at start and this leads to nullpointerexception.&lt;/p&gt;</comment>
                            <comment id="48262" author="tony.tkacik@gmail.com" created="Mon, 14 Jul 2014 10:44:27 +0000"  >&lt;p&gt;Implementation of addNode is not thread-safe, it captures stated of shared concurrent map at begining of addNode and then assumes same state for that&lt;br/&gt;
map during whole call of method.. Failure is caused because other thread&lt;br/&gt;
also invoked addNode concurrently and during one run of addNode underlying map was modified.&lt;/p&gt;</comment>
                            <comment id="48263" author="carolsand@gmail.com" created="Mon, 4 May 2015 20:16:09 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL&lt;/p&gt;</comment>
                            <comment id="48264" author="rovarga" created="Thu, 19 May 2016 18:41:52 +0000"  >&lt;p&gt;AD-SAL has been removed, this issue will not be fixed.&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>965</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=965]]></customfieldvalue>

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

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