<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:47 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-342] Statistics manager is throwing IllegalStateException</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-342</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Statistics manager throwing following exception when switch reconnect frequently.&lt;/p&gt;

&lt;p&gt;2014-04-22 03:46:37.406 IST &lt;span class=&quot;error&quot;&gt;&amp;#91;md-sal-binding-commit-0&amp;#93;&lt;/span&gt; ERROR o.o.c.m.s.c.i.service.TwoPhaseCommit - Unhandled exception when invoking listener AbstractObjectRegistration&lt;/p&gt;
{instance=org.opendaylight.controller.md.statistics.manager.FlowCapableTracker@1dfac44c}
&lt;p&gt;java.lang.IllegalStateException: Timer already cancelled.&lt;br/&gt;
	at java.util.Timer.sched(Timer.java:397) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_51&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.Timer.schedule(Timer.java:248) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_51&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.statistics.manager.NodeStatisticsHandler.start(NodeStatisticsHandler.java:295) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.statistics.manager.StatisticsProvider.startNodeHandlers(StatisticsProvider.java:151) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.statistics.manager.FlowCapableTracker.onDataChanged(FlowCapableTracker.java:107) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.md.sal.common.impl.service.TwoPhaseCommit$1.run(TwoPhaseCommit.java:228) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;na:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) &lt;span class=&quot;error&quot;&gt;&amp;#91;na:1.7.0_51&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_51&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_51&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_51&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_51&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24896">CONTROLLER-342</key>
            <summary>Statistics manager is throwing IllegalStateException</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="Avishnoi">Anil Vishnoi</assignee>
                                    <reporter username="Avishnoi">Anil Vishnoi</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Apr 2014 22:54:47 +0000</created>
                <updated>Tue, 5 May 2015 15:17:10 +0000</updated>
                            <resolved>Tue, 5 May 2015 15:17:10 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>adsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="48048" author="vishnoianil@gmail.com" created="Mon, 21 Apr 2014 23:04:07 +0000"  >&lt;p&gt;Statistics Manager create one Timer Thread for sending periodic statistics request to all the connected switches and it usages TimerTask. Currently TimerTask is not catching exceptions.So when switches reconnect frequently, openflow plugin sometime throws exception in case Statistics Manager tries to send a stats request, but meanwhile openflow plugin gets switch disconnection message. This exception is eventually cancelling the Timer thread, but statistics manager is still scheduling the thread with new tasks and that&apos;s resulting in java.lang.IllegalStateException exception.&lt;/p&gt;</comment>
                            <comment id="48049" author="vishnoianil@gmail.com" created="Mon, 21 Apr 2014 23:08:14 +0000"  >&lt;p&gt;Bug fixed through following gerrit commit&lt;/p&gt;

&lt;p&gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/6298&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/6298&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="48050" author="carolsand@gmail.com" created="Tue, 5 May 2015 15:17:10 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&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>781</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=781]]></customfieldvalue>

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

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