<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:17 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>[CONTROLLER-949] RPC register exception when rpc has no input</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-949</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Working with RPCs defined in the yang I got tis exception:&lt;/p&gt;

&lt;p&gt;2014-10-19 16:36:43.877 CEST &lt;span class=&quot;error&quot;&gt;&amp;#91;config-pusher&amp;#93;&lt;/span&gt; ERROR o.o.c.s.b.i.RpcProviderRegistryImpl  - Unhandled exception during invoking listener {}&lt;br/&gt;
java.util.NoSuchElementException: null&lt;/p&gt;

&lt;p&gt;&amp;lt;&amp;lt; FIND ATTACHED THE FULL STACK TRACE &amp;gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;After some tests I discovered that the exception is thrown when defining a RPC without an input. Output is optional and everything works well if there isn&apos;t an output declared.&lt;/p&gt;

&lt;p&gt;Let me show you some examples:&lt;br/&gt;
rpc nothing { } DOESN&apos;T WORK&lt;br/&gt;
rpc only-output { output { leaf foo &lt;/p&gt;
{ type string;}
&lt;p&gt; } } DOESN&apos;T WORK&lt;br/&gt;
rpc empty-input { input { } } WORKS&lt;/p&gt;

&lt;p&gt;Notice that input doesn&apos;t have to contain anything. When calling this RPC from java, just use the input builder for building an empty input object. When calling it from RESTconf, just post { input: { } }.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25503">CONTROLLER-949</key>
            <summary>RPC register exception when rpc has no input</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="10000">Done</resolution>
                                        <assignee username="jhajnar@cisco.com">Jan Hajnar</assignee>
                                    <reporter username="oscarfernandz@gmail.com">Oscar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 Oct 2014 17:44:45 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:13 +0000</updated>
                            <resolved>Sun, 9 Nov 2014 19:28:04 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due>Fri, 31 Oct 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="49597" author="oscarfernandz@gmail.com" created="Tue, 21 Oct 2014 17:44:45 +0000"  >&lt;p&gt;Attachment ERROR.TXT has been added with description: Full stack trace&lt;/p&gt;</comment>
                            <comment id="49596" author="jhajnar@cisco.com" created="Fri, 31 Oct 2014 13:51:25 +0000"  >&lt;p&gt;fix:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/12401/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/12401/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13451" name="ERROR.TXT" size="6513" author="oscarfernandz@gmail.com" created="Tue, 21 Oct 2014 17:44:45 +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>2233</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=2233]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10316"><![CDATA[Helium-1]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02njz:</customfieldvalue>

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