<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:59:48 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>[GENIUS-59] NullPointerException at org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService.getDpnInterfaceList</title>
                <link>https://jira.opendaylight.org/browse/GENIUS-59</link>
                <project id="10126" key="GENIUS">genius</project>
                    <description>&lt;p&gt;I regularly hit the following NPE when &quot;playing around&quot; - I think it&apos;s when I have a running ODL &amp;amp; devstack, and stop the Karaf and restart it, something doesn&apos;t quite go the way it expects:&lt;/p&gt;

&lt;p&gt;2017-03-16 18:16:43,008 | WARN  | eChangeHandler-0 | TunnelInterfaceStateListener     | 365 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT | Exception when querying for GetDpnInterfaceList for dpnid 73240449055560&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService.getDpnInterfaceList(InterfaceManagerRpcService.java:491)&lt;span class=&quot;error&quot;&gt;&amp;#91;357:org.opendaylight.genius.interfacemanager-impl:0.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.binding.util.RpcMethodInvokerWithInput.invokeOn(RpcMethodInvokerWithInput.java:31)&lt;span class=&quot;error&quot;&gt;&amp;#91;74:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.binding.util.AbstractMappedRpcInvoker.invokeRpc(AbstractMappedRpcInvoker.java:52)&lt;span class=&quot;error&quot;&gt;&amp;#91;74:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invoke(BindingDOMRpcImplementationAdapter.java:85)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invokeRpc(BindingDOMRpcImplementationAdapter.java:72)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.GlobalDOMRpcRoutingTableEntry.invokeRpc(GlobalDOMRpcRoutingTableEntry.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRoutingTable.invokeRpc(DOMRpcRoutingTable.java:177)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.invokeRpc(DOMRpcRouter.java:102)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxy72e63eb6_e1b9_4b09_a6fc_36aa34e5f4cd.invokeRpc(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxy1ab30bfb_17bc_4868_aac8_f3c06f8608a3.invokeRpc(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.RpcServiceAdapter.invoke0(RpcServiceAdapter.java:65)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.RpcServiceAdapter.access$000(RpcServiceAdapter.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.RpcServiceAdapter$RpcInvocationStrategy.invoke(RpcServiceAdapter.java:159)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.RpcServiceAdapter.invoke(RpcServiceAdapter.java:96)&lt;span class=&quot;error&quot;&gt;&amp;#91;173:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.proxy.$Proxy135.getDpnInterfaceList(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;329:org.opendaylight.genius.interfacemanager-api:0.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener.handleTunnelEventForDPN(TunnelInterfaceStateListener.java:201)&lt;span class=&quot;error&quot;&gt;&amp;#91;365:org.opendaylight.netvirt.vpnmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener.add(TunnelInterfaceStateListener.java:136)&lt;span class=&quot;error&quot;&gt;&amp;#91;365:org.opendaylight.netvirt.vpnmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.netvirt.vpnmanager.TunnelInterfaceStateListener.add(TunnelInterfaceStateListener.java:50)&lt;span class=&quot;error&quot;&gt;&amp;#91;365:org.opendaylight.netvirt.vpnmanager-impl:0.4.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase$DataTreeChangeHandler.run(AsyncDataTreeChangeListenerBase.java:153)&lt;span class=&quot;error&quot;&gt;&amp;#91;326:org.opendaylight.genius.mdsalutil-api:0.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_121&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19840">GENIUS-59</key>
            <summary>NullPointerException at org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService.getDpnInterfaceList</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="francisco.miguel.perez@ericsson.com">Miguel Perez</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Mar 2017 17:19:45 +0000</created>
                <updated>Wed, 7 Jun 2017 09:20:07 +0000</updated>
                            <resolved>Wed, 7 Jun 2017 09:20:07 +0000</resolved>
                                    <version>(unspecified)</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="35916" author="vorburger" created="Mon, 20 Mar 2017 21:53:21 +0000"  >&lt;p&gt;&amp;gt; org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService.getDpnInterfaceList(InterfaceManagerRpcService.java:491)&lt;/p&gt;

&lt;p&gt;InterfaceManagerRpcService on current master already changed significantly, and it&apos;s hard to match the line number just a few days later.. I&apos;ll have to update this with the new line number (and immediately check what is null) when I see this happen next.&lt;/p&gt;</comment>
                            <comment id="35917" author="vorburger" created="Thu, 6 Apr 2017 14:39:04 +0000"  >&lt;p&gt;It would be great if the fix for this could be covered by a new JUnit!&lt;/p&gt;</comment>
                            <comment id="35918" author="vorburger" created="Tue, 6 Jun 2017 15:22:50 +0000"  >&lt;p&gt;Changed from Status resolved Fixed by Faesela to WORKSFORME (= can&apos;t reproduce).&lt;/p&gt;</comment>
                            <comment id="35919" author="francisco.miguel.perez@ericsson.com" created="Wed, 7 Jun 2017 09:17:19 +0000"  >&lt;p&gt;I did hit it too and pushed a change to gerrit:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/58351/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/58351/&lt;/a&gt; &lt;/p&gt;


&lt;p&gt;Now, NPE is thrown from line 403:&lt;/p&gt;

&lt;p&gt;  return Futures.immediateFuture(rpcResultBuilder.build());&lt;/p&gt;

&lt;p&gt;There are other sentences like that in the class that are potential NPEs too.&lt;/p&gt;


&lt;p&gt;017-06-06 15:53:35,773 | TRACE | eChangeHandler-0 | TunnelInterfaceStateListener     | 450 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT | ITM Tunnel ,type VXLAN ,added between src: 121158375352128 and dest: 20779713299791&lt;br/&gt;
2017-06-06 15:53:35,775 | TRACE | eChangeHandler-0 | TunnelInterfaceStateListener     | 450 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT | Handle tunnel event for srcDpn 121158375352128 SrcTepIp 192.168.2.3 DestTepIp 192.168.2.4&lt;br/&gt;
2017-06-06 15:53:35,775 | TRACE | eChangeHandler-0 | TunnelInterfaceStateListener     | 450 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT | tunTypeVal is 1&lt;br/&gt;
2017-06-06 15:53:35,775 | TRACE | eChangeHandler-0 | TunnelInterfaceStateListener     | 450 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT |  Tunnel ADD event received for Dpn 121158375352128 VTEP Ip 192.168.2.3&lt;br/&gt;
2017-06-06 15:53:35,776 | TRACE | nPool-2-worker-0 | edEgressServicesConfigBindHelper | 442 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.SNAPSHOT | Installing egress dispatcher table entry for existing service BoundServices{getServiceName=default.tunf0c1711eb97, getServicePriority=9, getServiceType=class org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.ServiceTypeFlowBased, augmentations={interface org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.StypeOpenflow=StypeOpenflow{getFlowCookie=134217735, getFlowPriority=9, getInstruction=[Instruction{getInstruction=ApplyActionsCase{getApplyActions=ApplyActions{getAction=[Action{getAction=OutputActionCase{getOutputAction=OutputAction{getMaxLength=0, getOutputNodeConnector=Uri &lt;span class=&quot;error&quot;&gt;&amp;#91;_value=1&amp;#93;&lt;/span&gt;, augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}], augmentations={}}, augmentations={}}, getOrder=0, augmentations={}}]}}} service match on service index 9 update with service index 10&lt;br/&gt;
2017-06-06 15:53:35,776 | DEBUG | nPool-2-worker-0 | FlowBasedServicesUtils           | 442 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.SNAPSHOT | Installing Egress Dispatcher Flows on dpn : 121158375352128, for interface : tunf0c1711eb97&lt;br/&gt;
2017-06-06 15:53:35,776 | DEBUG | nPool-2-worker-0 | FlowBasedServicesUtils           | 442 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.SNAPSHOT | Installing Egress Dispatcher Flow for interface : tunf0c1711eb97, with flow-ref : 121158375352128220.tunf0c1711eb97.9&lt;br/&gt;
2017-06-06 15:53:35,777 | TRACE | nPool-2-worker-0 | edEgressServicesConfigBindHelper | 442 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.SNAPSHOT | Installing egress dispatcher table entry for new service match on service index 0 update with service index 9&lt;br/&gt;
2017-06-06 15:53:35,777 | DEBUG | nPool-2-worker-0 | FlowBasedServicesUtils           | 442 - org.opendaylight.genius.interfacemanager-impl - 0.2.0.SNAPSHOT | Installing Egress Dispatcher Flows on dpn : 121158375352128, for interface : tunf0c1711eb97&lt;br/&gt;
2017-06-06 15:53:35,779 | WARN  | eChangeHandler-0 | TunnelInterfaceStateListener     | 450 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.0.SNAPSHOT | Exception when querying for GetDpnInterfaceList for dpnid 121158375352128&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService.getDpnInterfaceList(InterfaceManagerRpcService.java:403)&lt;span class=&quot;error&quot;&gt;&amp;#91;442:org.opendaylight.genius.interfacemanager-impl:0.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.binding.util.RpcMethodInvokerWithInput.invokeOn(RpcMethodInvokerWithInput.java:31)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.binding.util.AbstractMappedRpcInvoker.invokeRpc(AbstractMappedRpcInvoker.java:52)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.mdsal.yang-binding:0.10.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invoke(BindingDOMRpcImplementationAdapter.java:83)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcImplementationAdapter.invokeRpc(BindingDOMRpcImplementationAdapter.java:70)&lt;span class=&quot;error&quot;&gt;&amp;#91;213:org.opendaylight.controller.sal-binding-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.GlobalDOMRpcRoutingTableEntry.invokeRpc(GlobalDOMRpcRoutingTableEntry.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;211:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRoutingTable.invokeRpc(DOMRpcRoutingTable.java:177)&lt;span class=&quot;error&quot;&gt;&amp;#91;211:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.controller.md.sal.dom.broker.impl.DOMRpcRouter.invokeRpc(DOMRpcRouter.java:102)&lt;span class=&quot;error&quot;&gt;&amp;#91;211:org.opendaylight.controller.sal-broker-impl:1.5.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxyc1bb3bf6_2294_4a57_bf59_2bea9dc23080.invokeRpc(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at Proxyde4d7a0c_2be9_44cb_87a4_e5948d28e6c1.invokeRpc(Unknown Source)&lt;span class=&quot;error&quot;&gt;&amp;#91;:&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="35920" author="faseela.k@ericsson.com" created="Wed, 7 Jun 2017 09:20:07 +0000"  >&lt;p&gt;Thanks Miguel..will review the changes.&lt;br/&gt;
Edwin was not able to reproduce the issue and hence the bug status was changed&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>8008</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=8008]]></customfieldvalue>

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

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