<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:32:22 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-401] setting metadatamask is required but 0xffffffffffffffff is causing exception</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWPLUG-401</link>
                <project id="10155" key="OPNFLWPLUG">OpenFlowPlugin</project>
                    <description>&lt;p&gt;Hi Henry,&lt;br/&gt;
please file a bug and attach your fix proposal. I guess the same should be done for metadata value field in order to prevent the range check violation.&lt;/p&gt;

&lt;p&gt;If you want to speed up the fix process feel free to commit the fix.&lt;/p&gt;

&lt;p&gt;Thank you.&lt;br/&gt;
Regards,&lt;br/&gt;
Michal&lt;/p&gt;

&lt;p&gt;From: openflowplugin-dev-bounces@lists.opendaylight.org &lt;span class=&quot;error&quot;&gt;&amp;#91;openflowplugin-dev-bounces@lists.opendaylight.org&amp;#93;&lt;/span&gt; on behalf of Henry Fung &lt;span class=&quot;error&quot;&gt;&amp;#91;henry.fung@live.com&amp;#93;&lt;/span&gt;&lt;br/&gt;
Sent: Tuesday, April 14, 2015 06:51&lt;br/&gt;
To: openflowplugin-dev@lists.opendaylight.org&lt;br/&gt;
Subject: &lt;span class=&quot;error&quot;&gt;&amp;#91;openflowplugin-dev&amp;#93;&lt;/span&gt; FW: Bug in metadatamask handling&lt;/p&gt;

&lt;p&gt;Sir,&lt;/p&gt;

&lt;p&gt;Please check in the following fix in openflowplugin / src / main / java / org / opendaylight / openflowplugin / openflow / md / core / sal / convertor / OFToMDSalFlowConvertor.java&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt;&amp;lt;&lt;/p&gt;

&lt;p&gt;121&lt;br/&gt;
     writeMetadataBuilder.setMetadataMask(new BigInteger(writeMetadataCase.getWriteMetadata().getMetadataMask()));&lt;br/&gt;
&amp;gt;&amp;gt;&amp;gt;&lt;br/&gt;
121&lt;br/&gt;
     writeMetadataBuilder.setMetadataMask(new BigInteger(1, writeMetadataCase.getWriteMetadata().getMetadataMask()));&lt;/p&gt;

&lt;p&gt;Your help is appreciated.&lt;/p&gt;

&lt;p&gt;Henry&lt;br/&gt;
From: henry.fung@live.com&lt;br/&gt;
To: openflowplugin-dev@lists.opendaylight.org&lt;br/&gt;
Subject: Bug in metadatamask handling&lt;br/&gt;
Date: Mon, 13 Apr 2015 22:18:22 -0600&lt;/p&gt;

&lt;p&gt;I encountered an exception when using metadatamask 0xffffffffffffffff. It is interpreted as -1, causing the exception.&lt;/p&gt;


&lt;p&gt;015-04-13 20:37:11,169 | ERROR | OFmsgProcessor-3 | TicketProcessorFactoryImpl | 195 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | translation problem: Invalid range: -1, expected: [&lt;span class=&quot;error&quot;&gt;&amp;#91;0&#8229;18446744073709551615&amp;#93;&lt;/span&gt;].&lt;/p&gt;

&lt;p&gt;2015-04-13 20:37:11,169 | WARN | OFmsgFinisher-0 | TicketFinisherImpl | 195 - org.opendaylight.openflowplugin - 0.1.0.SNAPSHOT | processing (translate, publish) of ticket failed&lt;/p&gt;

&lt;p&gt;java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Invalid range: -1, expected: [&lt;span class=&quot;error&quot;&gt;&amp;#91;0&#8229;18446744073709551615&amp;#93;&lt;/span&gt;].&lt;/p&gt;

&lt;p&gt;              at com.google.common.util.concurrent.AbstractFuture$Sync.getValue(AbstractFuture.java:299)&lt;span class=&quot;error&quot;&gt;&amp;#91;67:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at com.google.common.util.concurrent.AbstractFuture$Sync.get(AbstractFuture.java:286)&lt;span class=&quot;error&quot;&gt;&amp;#91;67:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:116)&lt;span class=&quot;error&quot;&gt;&amp;#91;67:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.queue.TicketFinisherImpl.run(TicketFinisherImpl.java:50)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_75&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_75&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_75&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Caused by: java.lang.IllegalArgumentException: Invalid range: -1, expected: [&lt;span class=&quot;error&quot;&gt;&amp;#91;0&#8229;18446744073709551615&amp;#93;&lt;/span&gt;].&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.write.metadata._case.WriteMetadataBuilder.setMetadataMask(WriteMetadataBuilder.java:102)&lt;span class=&quot;error&quot;&gt;&amp;#91;188:org.opendaylight.openflowplugin.model.flow-base:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.OFToMDSalFlowConvertor.toSALInstruction(OFToMDSalFlowConvertor.java:121)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.FlowStatsResponseConvertor.toSALFlowStats(FlowStatsResponseConvertor.java:103)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.FlowStatsResponseConvertor.toSALFlowStatsList(FlowStatsResponseConvertor.java:49)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.core.translator.MultipartReplyTranslator.translate(MultipartReplyTranslator.java:135)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.core.translator.MultipartReplyTranslator.translate(MultipartReplyTranslator.java:106)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.queue.TicketProcessorFactoryImpl.translate(TicketProcessorFactoryImpl.java:166)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              at org.opendaylight.openflowplugin.openflow.md.queue.TicketProcessorFactoryImpl$1.run(TicketProcessorFactoryImpl.java:78)&lt;span class=&quot;error&quot;&gt;&amp;#91;195:org.opendaylight.openflowplugin:0.1.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;              ... 3 more&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27669">OPNFLWPLUG-401</key>
            <summary>setting metadatamask is required but 0xffffffffffffffff is causing exception</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="henry.fung@live.com">Henry Fung</assignee>
                                    <reporter username="henry.fung@live.com">Henry Fung</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Apr 2015 19:52:33 +0000</created>
                <updated>Mon, 27 Sep 2021 09:01:28 +0000</updated>
                            <resolved>Thu, 30 Apr 2015 20:15:29 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="56702" author="mirehak@cisco.com" created="Wed, 22 Apr 2015 15:58:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/18841&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/18841&lt;/a&gt; merged&lt;br/&gt;
please test and eventually close this bug&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>2995</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=2995]]></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_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10380"><![CDATA[Lithium-M5]]></customfieldvalue>

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

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