<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:11 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-103] RestPerfClient spits NumberFormatException and hangs</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-103</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Tested with &lt;a href=&quot;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/1.0.0-SNAPSHOT/netconf-testtool-1.0.0-20151201.153854-78-rest-perf-client.jar&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/org/opendaylight/netconf/netconf-testtool/1.0.0-SNAPSHOT/netconf-testtool-1.0.0-20151201.153854-78-rest-perf-client.jar&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tested also with build 71 (no longer available in Nexus).&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;

&lt;p&gt;1. touch edit.txt # so that some &quot;edit content&quot; can be read&lt;/p&gt;

&lt;p&gt;2. java -Xmx1G -XX:MaxPermSize=256M -jar netconf-testtool-1.0.0-20151201.153854-78-rest-perf-client.jar --ip 10.25.2.9 --port 8181 --edits 10 --destination network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount&lt;/p&gt;

&lt;p&gt;You will see (timestamps will vary):&lt;/p&gt;

&lt;p&gt;11:06:38.924 &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; INFO  o.o.n.t.t.c.http.perf.RestPerfClient - thread amount: 1&lt;br/&gt;
11:06:38.930 &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; INFO  o.o.n.t.t.c.http.perf.RestPerfClient - requestsPerThread: 10&lt;br/&gt;
11:06:38.930 &lt;span class=&quot;error&quot;&gt;&amp;#91;main&amp;#93;&lt;/span&gt; INFO  o.o.n.t.t.c.http.perf.RestPerfClient - leftoverRequests: 0&lt;br/&gt;
Exception in thread &quot;main&quot; java.lang.NumberFormatException: For input string: &quot;8181network-topology:network-topology&quot;&lt;br/&gt;
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)&lt;br/&gt;
	at java.lang.Integer.parseInt(Integer.java:492)&lt;br/&gt;
	at java.lang.Integer.parseInt(Integer.java:527)&lt;br/&gt;
	at com.ning.http.client.uri.UriParser.computeRegularHostPort(UriParser.java:197)&lt;br/&gt;
	at com.ning.http.client.uri.UriParser.parseAuthority(UriParser.java:275)&lt;br/&gt;
	at com.ning.http.client.uri.UriParser.parse(UriParser.java:336)&lt;br/&gt;
	at com.ning.http.client.uri.Uri.create(Uri.java:30)&lt;br/&gt;
	at com.ning.http.client.uri.Uri.create(Uri.java:25)&lt;br/&gt;
	at com.ning.http.client.RequestBuilderBase.setUrl(RequestBuilderBase.java:307)&lt;br/&gt;
	at com.ning.http.client.AsyncHttpClient$BoundRequestBuilder.setUrl(AsyncHttpClient.java:308)&lt;br/&gt;
	at com.ning.http.client.AsyncHttpClient.requestBuilder(AsyncHttpClient.java:596)&lt;br/&gt;
	at com.ning.http.client.AsyncHttpClient.preparePost(AsyncHttpClient.java:442)&lt;br/&gt;
	at org.opendaylight.netconf.test.tool.client.http.perf.PerfClientCallable.&amp;lt;init&amp;gt;(PerfClientCallable.java:39)&lt;br/&gt;
	at org.opendaylight.netconf.test.tool.client.http.perf.RestPerfClient.main(RestPerfClient.java:128)&lt;/p&gt;

&lt;p&gt;and the RestPerfClient then hangs.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21116">NETCONF-103</key>
            <summary>RestPerfClient spits NumberFormatException and hangs</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="jmorvay@cisco.com">Jakub Morvay</assignee>
                                    <reporter username="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Dec 2015 10:12:16 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:17 +0000</updated>
                            <resolved>Fri, 11 Dec 2015 13:22:33 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="39094" author="jbehran@cisco.com" created="Wed, 2 Dec 2015 13:58:16 +0000"  >&lt;p&gt;It turns out the problem is here:&lt;/p&gt;

&lt;p&gt;--destination network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount&lt;/p&gt;

&lt;p&gt;(note the missing leading slash in the argument)&lt;/p&gt;

&lt;p&gt;This causes the restperfclient to attempt to use this URL:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://10.25.2.9:8181network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://10.25.2.9:8181network-topology:network-topology/topology/topology-netconf/node/17830-sim-device/yang-ext:mount&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(which is broken - note the missing &quot;/&quot; between the port number and the path), which causes it to crash in the URL handling code with the exception described in the bug (note the &quot;8181network-topology:network-topology&quot; string in the exception which is spanning exactly from the start of the port number to the first &quot;/&quot; in the broken URL).&lt;/p&gt;</comment>
                            <comment id="39095" author="jmorvay@cisco.com" created="Wed, 9 Dec 2015 16:18:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/31083/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/31083/&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4700</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=4700]]></customfieldvalue>

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

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

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