<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:56:28 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-1793] Exceptions in listener threads are going to stdout instead of karaf.log</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1793</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;The following exceptions are being seen in the stdout of the JVM instead of karaf.log&lt;br/&gt;
&lt;a href=&quot;https://gist.githubusercontent.com/smalleni/4cf2e299dbe96ee76c44f3d2f1ba2f8d/raw/6277b1632d8ed1eeaab19314408e220c12354000/gistfile1.txt&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.githubusercontent.com/smalleni/4cf2e299dbe96ee76c44f3d2f1ba2f8d/raw/6277b1632d8ed1eeaab19314408e220c12354000/gistfile1.txt&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="28798">CONTROLLER-1793</key>
            <summary>Exceptions in listener threads are going to stdout instead of karaf.log</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="vorburger">Michael Vorburger</assignee>
                                    <reporter username="smalleni">Sai Sindhur  Malleni</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Nov 2017 17:04:34 +0000</created>
                <updated>Fri, 24 Nov 2017 13:17:11 +0000</updated>
                            <resolved>Fri, 24 Nov 2017 13:17:11 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="60081" author="vorburger" created="Fri, 17 Nov 2017 17:59:50 +0000"  >&lt;p&gt;&amp;gt; &lt;a href=&quot;https://gist.github.com/smalleni/f896c79a388779ed1f7d82d795f85e05&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gist.github.com/smalleni/f896c79a388779ed1f7d82d795f85e05&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;now attached as gistfile1.txt here so that its JIRA indexed...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1792&quot; title=&quot;IllegalStateException: Illegal state - listener for org.opendaylight.controller.md.sal.trace.dom.impl.TracingTransactionChain@... was invoked for incorrect chain org.opendaylight.controller.cluster.databroker.DOMBrokerTransactionChain@...&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1792&quot;&gt;&lt;del&gt;MDSAL-296&lt;/del&gt;&lt;/a&gt; will see about doing something about exceptions cause; this issue is (only) about getting them into the ODL log instead STDOUT.&lt;/p&gt;

&lt;p&gt;This is, of course, caused by new threads somewhere not having this kind of thing:&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;setUncaughtExceptionHandler(LoggingThreadUncaughtExceptionHandler.toLogger(logger()));&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which e.g. the &lt;tt&gt;org.opendaylight.yangtools.util.concurrent.ThreadFactoryProvider&lt;/tt&gt; (from &lt;tt&gt;org.opendaylight.infrautils.utils.concurrent.ThreadFactoryProvider&lt;/tt&gt;) enforces every new Thread of having, and which the new non-deprecated methods in &lt;tt&gt;org.opendaylight.yangtools.util.concurrent.SpecialExecutors&lt;/tt&gt; now correctly set.&lt;/p&gt;

&lt;p&gt;But WHERE exactly is this missing? It&apos;s not immediately apparent from the attachment... &lt;/p&gt;</comment>
                            <comment id="60118" author="vorburger" created="Tue, 21 Nov 2017 16:30:34 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/65805/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/65805/&lt;/a&gt; is part of resolving this in general, although I&apos;m not 100% certain it will make the particular case in this log go into logging, but I&apos;ll probably fix this one anyway in &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1792&quot; title=&quot;IllegalStateException: Illegal state - listener for org.opendaylight.controller.md.sal.trace.dom.impl.TracingTransactionChain@... was invoked for incorrect chain org.opendaylight.controller.cluster.databroker.DOMBrokerTransactionChain@...&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1792&quot;&gt;&lt;del&gt;MDSAL-296&lt;/del&gt;&lt;/a&gt;, so it won&apos;t matter; let&apos;s use this bug for the general case and do c/65805 instead of the narrow down to only the specific IllegalStateException attached.&lt;/p&gt;</comment>
                            <comment id="60140" author="vorburger" created="Fri, 24 Nov 2017 13:17:11 +0000"  >&lt;p&gt;Done (but only on master and will only become active up once projects switch to yangtools 2.0.0).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14263" name="gistfile1.txt" size="32678" author="vorburger" created="Fri, 17 Nov 2017 17:54:31 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i037w7:</customfieldvalue>

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