<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:39 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>[BGPCEP-977] Graph fails with NPE</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-977</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;CSIT run here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/bgpcep-csit-1node-bgp-ingest-all-phosphorus/110/odl_1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/bgpcep-csit-1node-bgp-ingest-all-phosphorus/110/odl_1/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;shows this nasty:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;2021-07-26T03:51:15,484 | ERROR | Framework stop - Equinox Container: a89c8372-1e32-4c35-8320-2e341d4c405f | ConnectedGraphServer &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 250 - org.opendaylight.bgpcep.graph-impl - 0.16.1 | bundle org.opendaylight.bgpcep.graph-impl:0.16.1 (250)[org.opendaylight.graph.impl.ConnectedGraphServer(130)] : The close method has thrown an exception
java.lang.NullPointerException: null
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.graph.impl.ConnectedGraphImpl.clear(ConnectedGraphImpl.java:299) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.graph.impl.ConnectedGraphServer.destroyOperationalGraphModel(ConnectedGraphServer.java:146) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.graph.impl.ConnectedGraphServer.close(ConnectedGraphServer.java:87) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:244) ~[bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) ~[bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:685) ~[bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:529) [bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.manager.SingleComponentManager.disposeImplementationObject(SingleComponentManager.java:421) [bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.manager.SingleComponentManager.deleteComponent(SingleComponentManager.java:165) [bundleFile:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.apache.felix.scr.impl.manager.AbstractComponentManager.doDeactivate(AbstractComponentManager.java:853) [bundleFile:?]&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="34226">BGPCEP-977</key>
            <summary>Graph fails with NPE</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="odd22">Olivier Dugeon</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Jul 2021 09:58:41 +0000</created>
                <updated>Sun, 14 Nov 2021 16:16:22 +0000</updated>
                            <resolved>Sun, 14 Nov 2021 16:16:22 +0000</resolved>
                                    <version>0.16.1</version>
                                    <fixVersion>0.16.10</fixVersion>
                                    <component>Graph</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="70122" author="odd22" created="Tue, 9 Nov 2021 10:06:07 +0000"  >&lt;p&gt;The problem comes from the fact that graph is deleted twice:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;First, when&#160;AbstractTopologyBuilder call LinkStateGraphBuilder.clearTopology() which call ConnectedGraphImpl.clear()&#160;&lt;/li&gt;
	&lt;li&gt;Second, when ConnectedGraphServer close which call&#160;destroyOperationalGraphModel() which browse all stored graph and call again&#160;ConnectedGraphImpl.clear()&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;There is 2 solutions to solve the problem:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Verify that the graph is valid in&#160;ConnectedGraphImpl.clear()&lt;/li&gt;
	&lt;li&gt;Remove graph from ConnectedGraphServer graphs Map in clearGraph() method instead of deleteGraph() method&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Second method seems better&lt;/p&gt;

&lt;p&gt;&#160;&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03yyn:</customfieldvalue>

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