<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52:47 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-340] ODL OSGi BundleException&apos;s  don&apos;t go into logs, no stacktrace reported</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-340</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;How to reproduce:&lt;/p&gt;

&lt;p&gt;1. Create simple bundle extended from org.opendaylight.controller.sal.binding.api.AbstractBindingAwareConsumer&lt;br/&gt;
2. Use some class in Activator declaration which doesn&apos;t exist in ODL and mark it as resolution:=optional in MANIFEST.MF . For example, I made &apos;Activator implements SomeInterface&apos; from other bundle which haven&apos;t been loaded in ODL. In MANIFEST.MF it was mentioned as &apos;Import-Package: some.package.SomeInterface;resolution:=optional&apos;&lt;br/&gt;
3. Run without  some.package.SomeInterface loaded into the ODL.&lt;/p&gt;

&lt;p&gt;Expected:&lt;br/&gt;
1. BundleException with stack trace identifying the issue&lt;br/&gt;
2. BundleException with stack trace recorded into opendaylight.log&lt;/p&gt;

&lt;p&gt;Got:&lt;br/&gt;
1. stdout: &apos;BundleException: The activator is invalid&apos;&lt;br/&gt;
2. no stack trace&lt;br/&gt;
3. no corresponding log record in opendaylight.log&lt;/p&gt;


&lt;p&gt;Workaround:&lt;br/&gt;
Connect with a debugger, read stack trace.&lt;/p&gt;

&lt;p&gt;Version:&lt;/p&gt;

&lt;p&gt;org.opendaylight.controller.version = 0.1&lt;br/&gt;
org.opendaylight.controller.build.scm.version = b43cbaf25e664bff8b211d13018d7487e5235a90&lt;br/&gt;
org.opendaylight.controller.build.user = jenkins-controller&lt;br/&gt;
org.opendaylight.controller.build.workspace = **********&lt;br/&gt;
org.opendaylight.controller.build.timestamp = 1397752540201&lt;br/&gt;
org.opendaylight.controller.build.machine = **********&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24894">CONTROLLER-340</key>
            <summary>ODL OSGi BundleException&apos;s  don&apos;t go into logs, no stacktrace reported</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vmayamsi@cisco.com">Valentin Mayamsin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Apr 2014 20:02:45 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:31 +0000</updated>
                            <resolved>Wed, 27 Jan 2016 14:00:42 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="48043" author="rovarga" created="Wed, 4 Feb 2015 14:29:37 +0000"  >&lt;p&gt;Is this still present in the Helium release? I suspect Karaf has fixed the problem...&lt;/p&gt;</comment>
                            <comment id="48044" author="vmayamsi@cisco.com" created="Wed, 4 Feb 2015 18:38:07 +0000"  >&lt;p&gt;I&apos;m not sure about this particular one, but I do still experience missing exceptions in logs and missing log entries.&lt;/p&gt;</comment>
                            <comment id="48045" author="carolsand@gmail.com" created="Mon, 4 May 2015 19:31:17 +0000"  >&lt;p&gt;This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.&lt;/p&gt;</comment>
                            <comment id="48046" author="tony.tkacik@gmail.com" created="Wed, 27 Jan 2016 14:00:42 +0000"  >&lt;p&gt;This is issue of custom OSGI runtime present in Hydrogen, custom OSGI runtime was replaced with Karaf in Helium.&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>778</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=778]]></customfieldvalue>

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

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