<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:56 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>[NETCONF-802] Restconf reports status 500 when stream does not exist</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-802</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;This was found while investigating &lt;a href=&quot;https://jira.opendaylight.org/browse/NETCONF-800&quot; title=&quot;Incorrect parsing of stream name&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NETCONF-800&quot;&gt;&lt;del&gt;NETCONF-800&lt;/del&gt;&lt;/a&gt;: when requesting a non-existent stream using:&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;curl -u admin:admin http://127.0.0.1:8181/rests/data/ietf-restconf-monitoring:restconf-state/streams/stream/data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;we end up with a HTTP status 500. This boils down to a IAE being thrown and not wrapped:&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;11:52:49.327 WARN [qtp348753156-382] /rests/data/ietf-restconf-monitoring:restconf-state/streams/stream/data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE
javax.servlet.ServletException: javax.servlet.ServletException: java.lang.IllegalArgumentException: Listener doesn&apos;t exist : data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:90) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[?:?]

[snip]

Caused by: javax.servlet.ServletException: java.lang.IllegalArgumentException: Listener doesn&apos;t exist : data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:432) ~[?:?]

[snip]

Caused by: java.lang.IllegalArgumentException: Listener doesn&apos;t exist : data-change-event-subscription/opendaylight-inventory:nodes/datastore=CONFIGURATION/scope=BASE
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at com.google.common.base.Preconditions.checkArgument(Preconditions.java:142) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.restconf.nb.rfc8040.rests.services.impl.SubscribeToStreamUtil.subscribeToDataStream(SubscribeToStreamUtil.java:201) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfStreamsSubscriptionServiceImpl.subscribeToStream(RestconfStreamsSubscriptionServiceImpl.java:104) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.restconf.nb.rfc8040.services.wrapper.ServicesWrapper.subscribeToStream(ServicesWrapper.java:164) ~[?:?]

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="34305">NETCONF-802</key>
            <summary>Restconf reports status 500 when stream does not exist</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="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Wed, 11 Aug 2021 09:57:04 +0000</created>
                <updated>Wed, 11 Aug 2021 14:21:35 +0000</updated>
                            <resolved>Wed, 11 Aug 2021 14:21:35 +0000</resolved>
                                                    <fixVersion>1.13.4</fixVersion>
                    <fixVersion>2.0.3</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|i03z3z:</customfieldvalue>

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