<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:21 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-168] NotSupportedException thrown by ConnectionManager when adding nodes</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-168</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;To reproduce,&lt;/p&gt;

&lt;p&gt;1. Get the openflowplugin repo&lt;br/&gt;
2. mvn clean install from root&lt;br/&gt;
3. Got to the distribution folder and run it.&lt;br/&gt;
4. Once the controller has started using mininet add topology using the following command. You should see the following exception,&lt;/p&gt;

&lt;p&gt;2014-02-19 17:39:57.359 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-notification-0&amp;#93;&lt;/span&gt; ERROR o.o.c.c.scheme.AbstractScheme - Excepion in adding Controller to a Node&lt;br/&gt;
javax.transaction.NotSupportedException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!&lt;br/&gt;
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:72) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManager.tbegin(ClusterManager.java:594) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManager.tbegin(ClusterManager.java:571) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.clustering.services_implementation.internal.ClusterManagerCommon.tbegin(ClusterManagerCommon.java:255) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.putNodeToController(AbstractScheme.java:244) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.addNode(AbstractScheme.java:298) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.connectionmanager.scheme.AbstractScheme.addNode(AbstractScheme.java:305) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.connectionmanager.internal.ConnectionManager.updateNode(ConnectionManager.java:215) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile: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;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.publishNodeUpdate(InventoryAndReadAdapter.java:1031) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.controller.sal.compatibility.InventoryAndReadAdapter.onNodeUpdated(InventoryAndReadAdapter.java:631) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile: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;bundlefile: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;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.util.concurrent.FutureTask.run(FutureTask.java:262) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_45&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_45&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_45&amp;#93;&lt;/span&gt;&lt;br/&gt;
at java.lang.Thread.run(Thread.java:744) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_45&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: java.lang.IllegalStateException: BaseTransaction.checkTransactionState - ARJUNA016051: thread is already associated with a transaction!&lt;br/&gt;
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.checkTransactionState(BaseTransaction.java:266) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.begin(BaseTransaction.java:68) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
... 16 common frames omitted&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="24722">CONTROLLER-168</key>
            <summary>NotSupportedException thrown by ConnectionManager when adding nodes</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="-1">Unassigned</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Feb 2014 02:14:49 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:07 +0000</updated>
                            <resolved>Thu, 19 May 2016 18:32:34 +0000</resolved>
                                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47667" author="jameshall03885@gmail.com" created="Fri, 7 Mar 2014 09:58:50 +0000"  >&lt;p&gt;Hi Moiz,&lt;/p&gt;

&lt;p&gt;I&apos;m trying to reproduce this bug.  What command you use to add nodes?&lt;/p&gt;

&lt;p&gt;I just tried this:&lt;/p&gt;

&lt;p&gt;sudo mn --top tree,2 --controller &apos;remote,ip=192.168.130.184,port=6633&apos; --switch ovskk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;and I&apos;m seeing a very different exception.&lt;/p&gt;


&lt;p&gt;2014-03-07 04:26:08.852 EST &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-notification-1&amp;#93;&lt;/span&gt; ERROR o.o.o.t.OpenflowpluginTestCommandProvider - Error notification  flow Xid.........................106&lt;br/&gt;
2014-03-07 04:26:08.986 EST &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-10-2&amp;#93;&lt;/span&gt; WARN  i.n.channel.DefaultChannelPipeline - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.&lt;br/&gt;
java.lang.NullPointerException: null&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.match.MatchConvertorImpl.fromOFMatchToSALMatch(MatchConvertorImpl.java:546) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.translator.PacketInTranslator.translate(PacketInTranslator.java:99) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at&lt;/p&gt;</comment>
                            <comment id="47668" author="moraja@cisco.com" created="Fri, 7 Mar 2014 17:02:40 +0000"  >&lt;p&gt;James, The command I used was similar to what you used.&lt;/p&gt;</comment>
                            <comment id="47669" author="carolsand@gmail.com" created="Mon, 4 May 2015 20:11:33 +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="47670" author="rovarga" created="Thu, 19 May 2016 18:32:34 +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>437</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=437]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02iqf:</customfieldvalue>

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