<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:28:44 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>[OPNFLWJAVA-14] ActionsSerializer#computeLengthOfActions throws NullPointerException</title>
                <link>https://jira.opendaylight.org/browse/OPNFLWJAVA-14</link>
                <project id="10154" key="OPNFLWJAVA">openflowjava</project>
                    <description>&lt;p&gt;2014-01-16 14:48:19.226 PST &lt;span class=&quot;error&quot;&gt;&amp;#91;nioEventLoopGroup-8-1&amp;#93;&lt;/span&gt; ERROR o.o.o.protocol.impl.core.OFEncoder - null&lt;br/&gt;
java.lang.NullPointerException: null&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.util.ActionsSerializer.computeLengthOfActions(ActionsSerializer.java:325) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.util.InstructionsSerializer.computeInstructionsLength(InstructionsSerializer.java:169) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.serialization.factories.FlowModInputMessageFactory.computeLength(FlowModInputMessageFactory.java:69) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.serialization.factories.FlowModInputMessageFactory.computeLength(FlowModInputMessageFactory.java:28) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.util.ByteBufUtils.writeOFHeader(ByteBufUtils.java:114) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.serialization.factories.FlowModInputMessageFactory.messageToBuffer(FlowModInputMessageFactory.java:50) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.serialization.factories.FlowModInputMessageFactory.messageToBuffer(FlowModInputMessageFactory.java:28) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.serialization.SerializationFactory.messageToBuffer(SerializationFactory.java:36) ~&lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.core.OFEncoder.encode(OFEncoder.java:39) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at org.opendaylight.openflowjava.protocol.impl.core.OFEncoder.encode(OFEncoder.java:25) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:111) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.channel.DefaultChannelHandlerContext.invokeWrite(DefaultChannelHandlerContext.java:644) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.channel.DefaultChannelHandlerContext.access$2000(DefaultChannelHandlerContext.java:28) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.channel.DefaultChannelHandlerContext$WriteTask.run(DefaultChannelHandlerContext.java:891) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:354) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:348) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&amp;#93;&lt;/span&gt;&lt;br/&gt;
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:101) &lt;span class=&quot;error&quot;&gt;&amp;#91;bundlefile:na&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;/p&gt;


&lt;p&gt;It looks like an element in the list (which is another list) is null and that is why this happens.&lt;/p&gt;


&lt;p&gt;It looks like the NPE happens quite often but when it is invoked from OFEncoder#encode it is not being properly logged (I mean the stack trace is not being logged). &lt;/p&gt;


&lt;p&gt;We need to ensure that the logging is prominent to ensure that such problems are identified faster.&lt;/p&gt;


&lt;p&gt;To reproduce this problem do the following,&lt;/p&gt;

&lt;p&gt;1. Build a controller distribution from the openflow plugin&lt;br/&gt;
2. Add a topology with mininet&lt;br/&gt;
3. h1 ping h2&lt;/p&gt;

&lt;p&gt;You should see a NPE occur&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="24244">OPNFLWJAVA-14</key>
            <summary>ActionsSerializer#computeLengthOfActions throws NullPointerException</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="michal.polkorab@gmail.com">Michal Polkorab</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Jan 2014 23:09:50 +0000</created>
                <updated>Sat, 18 Jan 2014 22:31:57 +0000</updated>
                            <resolved>Sat, 18 Jan 2014 22:31:57 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="46781" author="michal.polkorab@gmail.com" created="Fri, 17 Jan 2014 13:56:12 +0000"  >&lt;p&gt;Hi Moiz,&lt;/p&gt;

&lt;p&gt;I have tried to reproduce this issue, but I was unable to do so.&lt;/p&gt;

&lt;p&gt;There was an issue with the drop action (in instruction structure, which is used in FlowMod message), where this error was occuring. However it has been fixed with &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/4303/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/4303/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please try pulling new code and let me know if it helped.&lt;/p&gt;

&lt;p&gt;Regards&lt;br/&gt;
Michal Polkorab&lt;/p&gt;</comment>
                            <comment id="46782" author="michal.polkorab@gmail.com" created="Sat, 18 Jan 2014 22:31:57 +0000"  >&lt;p&gt;Issue fixed in OFPlugin and after further communication it was agreed that this issue should be closed (and the funcionality should remain the same)&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>315</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=315]]></customfieldvalue>

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

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