<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:42:18 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>[TRNSPRTPCE-121] Unreachable catch in ServicehandlerTxRxCheck</title>
                <link>https://jira.opendaylight.org/browse/TRNSPRTPCE-121</link>
                <project id="10178" key="TRNSPRTPCE">transportpce</project>
                    <description>&lt;p&gt;In the method check in class&#160;ServicehandlerTxRxCheck the&#160;NullPointerException catch is unreachable&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (serviceEnd != &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
    &lt;span class=&quot;code-keyword&quot;&gt;try&lt;/span&gt; {
        &lt;span class=&quot;code-object&quot;&gt;Long&lt;/span&gt; serviceRate = serviceEnd.getServiceRate();
        ServiceFormat serviceformat = serviceEnd.getServiceFormat();
        &lt;span class=&quot;code-object&quot;&gt;String&lt;/span&gt; clli = serviceEnd.getClli();
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((serviceRate == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) || (serviceRate &amp;lt;= 0)) {
            result = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
            message = &lt;span class=&quot;code-quote&quot;&gt;&quot;Service &quot;&lt;/span&gt; + endpointType + &lt;span class=&quot;code-quote&quot;&gt;&quot; rate is not set&quot;&lt;/span&gt;;
            LOG.debug(message);
        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (serviceformat == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;) {
            result = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
            message = &lt;span class=&quot;code-quote&quot;&gt;&quot;Service &quot;&lt;/span&gt; + endpointType + &lt;span class=&quot;code-quote&quot;&gt;&quot; format is not set&quot;&lt;/span&gt;;
            LOG.debug(message);
        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!checkString(clli)) {
            result = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
            message = &lt;span class=&quot;code-quote&quot;&gt;&quot;Service&quot;&lt;/span&gt; + endpointType + &lt;span class=&quot;code-quote&quot;&gt;&quot; clli format is not set&quot;&lt;/span&gt;;
            LOG.debug(message);
        } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
            ComplianceCheckResult complianceCheckResult
                    = checkTxOrRxInfo(serviceEnd.getTxDirection(), serviceEnd.getRxDirection());
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!complianceCheckResult.hasPassed()) {
                result = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
                message = complianceCheckResult.getMessage();
            }
        }
    } &lt;span class=&quot;code-keyword&quot;&gt;catch&lt;/span&gt; (NullPointerException e) {
        message = &lt;span class=&quot;code-quote&quot;&gt;&quot;Service &quot;&lt;/span&gt; + endpointType + &lt;span class=&quot;code-quote&quot;&gt;&quot; rate, format or clli is not set&quot;&lt;/span&gt;;
        LOG.error(message, e);
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; ComplianceCheckResult(&lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;, message);
    }
} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
    result = &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
    message = endpointType + &lt;span class=&quot;code-quote&quot;&gt;&quot; is not set&quot;&lt;/span&gt;;
    LOG.debug(message);
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31684">TRNSPRTPCE-121</key>
            <summary>Unreachable catch in ServicehandlerTxRxCheck</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="5" iconUrl="https://jira.opendaylight.org/images/icons/priorities/trivial.svg">Lowest</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ramy1313">Rami Mohamed</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 May 2019 07:17:56 +0000</created>
                <updated>Mon, 13 Sep 2021 09:29:16 +0000</updated>
                                                                                <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_10002" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>TRNSPRTPCE-501</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzzu5:y</customfieldvalue>

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