<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:09:00 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>[AAA-235] StackOverflowError in aaa-filterchain</title>
                <link>https://jira.opendaylight.org/browse/AAA-235</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;NETCONF throws this error after adopting aaa-0.16.2:&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;2022-09-19T16:57:01,087 | WARN  | qtp710793964-460 | HttpChannel                      | 145 - org.eclipse.jetty.util - 9.4.48.v20220622 | /rests/data/network-topology:network-topology
java.lang.StackOverflowError: null
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:57) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:91) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:75) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:57) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:91) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:75) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:57) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:91) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:75) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:57) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:91) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.CustomFilterAdapter.doFilter(CustomFilterAdapter.java:75) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:57) ~[?:?]
        at org.opendaylight.aaa.filterchain.filters.AAAFilterChain.doFilter(AAAFilterChain.java:91) ~[?:?]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="36210">AAA-235</key>
            <summary>StackOverflowError in aaa-filterchain</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</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="rovarga">Robert Varga</assignee>
                                    <reporter username="sangwookha">Sangwook Ha</reporter>
                        <labels>
                            <label>pt</label>
                            <label>regression</label>
                    </labels>
                <created>Tue, 20 Sep 2022 03:32:38 +0000</created>
                <updated>Wed, 19 Oct 2022 10:29:42 +0000</updated>
                            <resolved>Thu, 22 Sep 2022 10:24:11 +0000</resolved>
                                    <version>0.16.0</version>
                    <version>0.16.1</version>
                    <version>0.16.2</version>
                                    <fixVersion>0.16.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="71509" author="rovarga" created="Thu, 22 Sep 2022 08:41:41 +0000"  >&lt;p&gt;The reason for this is that CustomFilterAdapter ends up self-referencing itself after being notified of the change. See aaa-235-self-reference.png and see how InstanceFilterDTO&apos;s getInstance() returns the same object as the listener being registered.&lt;/p&gt;

&lt;p&gt;Also see aaa235-update.png to see the self-reference being injected upon init.&lt;/p&gt;</comment>
                            <comment id="71510" author="rovarga" created="Thu, 22 Sep 2022 08:59:51 +0000"  >&lt;p&gt;And that in turn is caused by the CustomFilterAdapter being published to OSGi registry for HTTP Whiteboard&apos;s use &#8211; hence it gets confused with a plain instance filter.&lt;/p&gt;

&lt;p&gt;So what needs to happen is that CustomFilterAdapterConfigurationImpl must ignore all filters &lt;a href=&quot;https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html#d0e121055&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;marked for HTTP Whiteboard&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="71511" author="ivanhrasko" created="Thu, 22 Sep 2022 09:41:36 +0000"  >&lt;p&gt;Yes, we have come to the same conclusion.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="36211">AAA-236</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10300">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="36212">AAA-237</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="18102" name="aaa235-self-reference.png" size="580822" author="rovarga" created="Thu, 22 Sep 2022 08:37:10 +0000"/>
                            <attachment id="18103" name="aaa235-update.png" size="518811" author="rovarga" created="Thu, 22 Sep 2022 08:41:48 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0430f:</customfieldvalue>

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