<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:51 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>[OPNFLWPLUG-580] IllegalArgumentException in statistics manager getGeneratedUUIDForNode() call</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-580</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;The current code meant to avoid NPE for the getGeneratedUUIDForNode() call  leads to IllegalArgumentException because the UUID class is unhappy with string &quot;invalid-uuid&quot;. So, might as well return null instead of doing bad workaround.&lt;/p&gt;

&lt;p&gt;Following exception was thrown on my screen.&lt;/p&gt;


&lt;p&gt;Exception in thread &quot;pool-30-thread-1&quot; java.lang.RuntimeException: java.lang.IllegalArgumentException: Invalid UUID string: invalid-uuid&lt;br/&gt;
        at com.lmax.disruptor.FatalExceptionHandler.handleEventException(FatalExceptionHandler.java:45)&lt;br/&gt;
        at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:147)&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;br/&gt;
Caused by: java.lang.IllegalArgumentException: Invalid UUID string: invalid-uuid&lt;br/&gt;
        at java.util.UUID.fromString(UUID.java:194)&lt;br/&gt;
        at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatisticsManagerImpl.getGeneratedUUIDForNode(StatisticsManagerImpl.java:399)&lt;br/&gt;
        at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatListenCommitGroup$2.generatedUUIDForNode(StatListenCommitGroup.java:206)&lt;br/&gt;
        at org.opendaylight.openflowplugin.applications.statistics.manager.StatisticsManager$StatDataStoreOperation.&amp;lt;init&amp;gt;(StatisticsManager.java:85)&lt;br/&gt;
        at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatListenCommitGroup$2.&amp;lt;init&amp;gt;(StatListenCommitGroup.java:167)&lt;br/&gt;
        at org.opendaylight.openflowplugin.applications.statistics.manager.impl.StatListenCommitGroup.onGroupFeaturesUpdated(StatListenCommitGroup.java:167)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.binding.util.NotificationListenerInvoker.invokeNotification(NotificationListenerInvoker.java:91)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMNotificationListenerAdapter.onNotification(BindingDOMNotificationListenerAdapter.java:44)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouterEvent.deliverNotification(DOMNotificationRouterEvent.java:50)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:68)&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMNotificationRouter$1.onEvent(DOMNotificationRouter.java:65)&lt;br/&gt;
        at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:128)&lt;br/&gt;
        ... 3 more&lt;br/&gt;
Exception in thread &quot;Thread-1216&quot; java.util.concurrent.RejectedExecutionException: Task org.opendaylight.openflowplugin.openflow.md.core.HandshakeStepWrapper@10e0fdcd rejected from org.opendaylight.openflowplugin.openflow.md.core.ThreadPoolLoggingExecutor@14df6b09&lt;span class=&quot;error&quot;&gt;&amp;#91;Shutting down, pool size = 0, active threads = 0, queued tasks = 1, completed tasks = 0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2047)&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)&lt;br/&gt;
        at org.opendaylight.openflowplugin.openflow.md.core.ConnectionConductorImpl.onConnectionReady(ConnectionConductorImpl.java:456)&lt;br/&gt;
        at org.opendaylight.openflowjava.protocol.impl.core.connection.ConnectionAdapterImpl$3.run(ConnectionAdapterImpl.java:472)&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27848">OPNFLWPLUG-580</key>
            <summary>IllegalArgumentException in statistics manager getGeneratedUUIDForNode() call</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="shivani.pathak@tcs.com">Shivani Pathak</assignee>
                                    <reporter username="srini.seetharaman@gmail.com">Srini Seetharaman</reporter>
                        <labels>
                    </labels>
                <created>Tue, 8 Dec 2015 12:13:25 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:41 +0000</updated>
                            <resolved>Mon, 19 Jun 2017 12:48:44 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="57430" author="shivani.pathak@tcs.com" created="Thu, 17 Dec 2015 11:07:36 +0000"  >&lt;p&gt;String passed in the fromString() method of java.util.UUID should be in a particular format to avoid the exception.&lt;/p&gt;

&lt;p&gt;ex. Hexadecimal representation of the plain string should be formatted into a UUID formatted string (standardized to 8-4-4-4-12 hex digits) and then passed to fromString() method.&lt;/p&gt;

&lt;p&gt;Instead of invalid-uuid, UUID formatted string should be passed.&lt;/p&gt;</comment>
                            <comment id="57431" author="srini.seetharaman@gmail.com" created="Thu, 17 Dec 2015 15:46:03 +0000"  >&lt;p&gt;When the UUID is indeed unavailable, there is no way to use a valid UUID. So, might as well return null.&lt;/p&gt;

&lt;p&gt;Here is a simple patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30975/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30975/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57432" author="shivani.pathak@tcs.com" created="Fri, 18 Dec 2015 10:04:38 +0000"  >&lt;p&gt;(In reply to Srini Seetharaman from comment #2)&lt;br/&gt;
&amp;gt; When the UUID is indeed unavailable, there is no way to use a valid UUID.&lt;br/&gt;
&amp;gt; So, might as well return null.&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; Here is a simple patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30975/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30975/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;UUID (java.util.UUID) is a class name so how can it be unavailable ?&lt;/p&gt;</comment>
                            <comment id="57433" author="shivani.pathak@tcs.com" created="Mon, 11 Jan 2016 08:22:52 +0000"  >&lt;p&gt;Submitted a patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/32333&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/32333&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="57434" author="jozef.bacigal@pantheon.tech" created="Mon, 19 Jun 2017 12:48:44 +0000"  >&lt;p&gt;He-desing won&apos;t be updated anymore. Closing&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>4738</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=4738]]></customfieldvalue>

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

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