<!-- 
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-803] RESTCONF PATCH with empty body results in a NPE</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-803</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;A simple request&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 -X PATCH http://localhost:8181/rests/data/network-topology:network-topology/topology=topology-netconf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;results in&lt;/p&gt;

&lt;p&gt;&#160;&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;* &#160;&#160;Trying ::1:8181...
* Connected to localhost (::1) port 8181 (#0)
* Server auth using Basic with user &apos;admin&apos;
&amp;gt; PATCH /rests/data/network-topology:network-topology/topology=topology-netconf HTTP/1.1
&amp;gt; Host: localhost:8181
&amp;gt; Authorization: Basic YWRtaW46YWRtaW4=
&amp;gt; User-Agent: curl/7.76.1
&amp;gt; Accept: */*
&amp;gt; &#160;
* Mark bundle as not supporting multiuse
&amp;lt; HTTP/1.1 500 Server Error
&amp;lt; Set-Cookie: JSESSIONID=node0muwoo6y6g4fcpsxwwqwnqira1.node0; Path=/; HttpOnly
&amp;lt; Set-Cookie: rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Thu, 12-Aug-2021 13:49:51 GMT; SameSite=lax
&amp;lt; Connection: close
&amp;lt; &#160;
* Closing connection 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;which is caused by this splat:&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-08-13T15:47:13,449 | WARN &#160;| qtp376242490-399 | HttpChannel &#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;| 154 - org.eclipse.jetty.util - 9.4.40.v20210413 | /rests/data/network-topology:network-topology/topology=topology-netconf
javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NullPointerException
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:90) ~[?:?]

[snip]

Caused by: java.lang.NullPointerException
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at java.util.Objects.requireNonNull(Objects.java:221) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfDataServiceImpl.patchData(RestconfDataServiceImpl.java:331) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfDataServiceImpl.patchData(RestconfDataServiceImpl.java:326) ~[?:?]
 &#160;&#160;&#160;&#160;&#160;&#160;&#160;at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="34310">NETCONF-803</key>
            <summary>RESTCONF PATCH with empty body results in a 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="rovarga">Robert Varga</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Fri, 13 Aug 2021 13:50:06 +0000</created>
                <updated>Fri, 13 Aug 2021 16:53:47 +0000</updated>
                            <resolved>Fri, 13 Aug 2021 16:53:47 +0000</resolved>
                                    <version>2.0.2</version>
                                    <fixVersion>2.0.3</fixVersion>
                    <fixVersion>1.13.5</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|i03z53:</customfieldvalue>

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