<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:25:29 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>[NEUTRON-72] Null pointer exception at org.opendaylight.neutron.spi.NeutronNetwork.addSubnet</title>
                <link>https://jira.opendaylight.org/browse/NEUTRON-72</link>
                <project id="10145" key="NEUTRON">neutron</project>
                    <description>&lt;p&gt;When a tempest test for UPDATE NETWORK is executed, the test fails with the following exception. Few subnets will not be deleted&lt;/p&gt;


&lt;p&gt;2015-09-28 08:40:32,999 | WARN  | qtp133087245-648 | ServletHandler                   | 165 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.15.v20140411 | /controller/nb/v2/neutron/subnets&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
        at org.opendaylight.neutron.spi.NeutronNetwork.addSubnet(NeutronNetwork.java:197)&lt;span class=&quot;error&quot;&gt;&amp;#91;155:org.opendaylight.neutron.spi:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.neutron.transcriber.NeutronSubnetInterface.addSubnet(NeutronSubnetInterface.java:118)&lt;br/&gt;
        at org.opendaylight.neutron.northbound.api.NeutronSubnetsNorthbound.createSubnets(NeutronSubnetsNorthbound.java:218)&lt;span class=&quot;error&quot;&gt;&amp;#91;219:org.opendaylight.neutron.northbound-api:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_79&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:606)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.7.0_79&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;span class=&quot;error&quot;&gt;&amp;#91;218:com.sun.jersey.jersey-server:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;span class=&quot;error&quot;&gt;&amp;#91;216:com.sun.jersey.servlet:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;span class=&quot;error&quot;&gt;&amp;#91;216:com.sun.jersey.servlet:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;span class=&quot;error&quot;&gt;&amp;#91;216:com.sun.jersey.servlet:1.17.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)&lt;span class=&quot;error&quot;&gt;&amp;#91;159:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)&lt;span class=&quot;error&quot;&gt;&amp;#91;165:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411&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="26634">NEUTRON-72</key>
            <summary>Null pointer exception at org.opendaylight.neutron.spi.NeutronNetwork.addSubnet</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="10002">Duplicate</resolution>
                                        <assignee username="raveek@hp.com">Ravindra Kenchappa</assignee>
                                    <reporter username="rijilabraham@gmail.com">Rijil Abraham</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Sep 2015 10:42:39 +0000</created>
                <updated>Wed, 30 Sep 2015 04:35:00 +0000</updated>
                            <resolved>Wed, 30 Sep 2015 04:35:00 +0000</resolved>
                                    <version>master</version>
                                                    <component>neutron-spi</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53451" author="rijilabraham@gmail.com" created="Tue, 29 Sep 2015 10:44:46 +0000"  >&lt;p&gt;Attachment tempest_log.txt has been added with description: Tempest log&lt;/p&gt;</comment>
                            <comment id="53450" author="raveek@hp.com" created="Wed, 30 Sep 2015 04:11:37 +0000"  >&lt;p&gt;This issue is because when a network is modified the existing network is read from MD and here the new instance of NeutronNetwork is created and will be populate with the values read form MD. When the Network is created the SUBNET list is initialized (subnets []) but when the network is read from the MD the SUBET list is set to NULL. So what we have to do is, when the new instance of NeutronNetwork is created in NeutronNetworkInterface.fromMd(Network) call its init() method to set its members to default value, so the SUBNET will be empty list instead of NULL. If for some reason when we read the network info fromMd() the subnet is null then network.subnet[] list will be empty. &lt;/p&gt;

&lt;p&gt;With the above two fix/ code changes most of the tempest API test suite (around 250 test cases) are passing.  If all of the testcases in API suite pass then only we can move on next test suite where we test end-to-end.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26625">NEUTRON-63</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13749" name="tempest_log.txt" size="30028" author="rijilabraham@gmail.com" created="Tue, 29 Sep 2015 10:44:46 +0000"/>
                    </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>4365</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=4365]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02ujb:</customfieldvalue>

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