<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:48 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-1541] UnmarshalException: unexpected element (uri:&quot;urn:opendaylight:netvirt:aclservice-config&quot;, local:&quot;aclservice-config&quot;). Expected elements are &lt;{}snapshot&gt;</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1541</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;2016-08-25 19:01:07,757 | WARN  | r - ConfigPusher | AbstractFeatureWrapper           | 141 - config-persister-feature-adapter - 0.6.0.SNAPSHOT | Unable to parse configuration snapshot. Config from &apos;etc/opendaylight/datastore/initial/config/netvirt-aclservice-config.xml&apos; will be IGNORED. Note that subsequent config files may fail due to this problem. Xml markup in this file needs to be fixed, for detailed information see enclosed exception.&lt;br/&gt;
javax.xml.bind.UnmarshalException&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;with linked exception:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;javax.xml.bind.UnmarshalException: unexpected element (uri:&amp;quot;urn:opendaylight:netvirt:aclservice-config&amp;quot;, local:&amp;quot;aclservice-config&amp;quot;). Expected elements are &amp;lt;{}snapshot&amp;gt;&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:468)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:402)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:371)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.FeatureConfigSnapshotHolder.&amp;lt;init&amp;gt;(FeatureConfigSnapshotHolder.java:74)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.AbstractFeatureWrapper.getFeatureConfigSnapshotHolder(AbstractFeatureWrapper.java:75)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.AbstractFeatureWrapper.getFeatureConfigSnapshotHolders(AbstractFeatureWrapper.java:60)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.ChildAwareFeatureWrapper.getFeatureConfigSnapshotHolders(ChildAwareFeatureWrapper.java:85)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.FeatureConfigPusher.pushConfig(FeatureConfigPusher.java:83)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.FeatureConfigPusher.pushConfigs(FeatureConfigPusher.java:67)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.ConfigPushingRunnable.processFeatureEvent(ConfigPushingRunnable.java:65)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.controller.configpusherfeature.internal.ConfigPushingRunnable.run(ConfigPushingRunnable.java:47)&lt;span class=&quot;error&quot;&gt;&amp;#91;141:config-persister-feature-adapter:0.6.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at java.lang.Thread.run(Thread.java:745)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:&quot;urn:opendaylight:netvirt:aclservice-config&quot;, local:&quot;aclservice-config&quot;). Expected elements are &amp;lt;{}snapshot&amp;gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:726)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:247)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:242)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:109)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1131)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:556)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:538)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:60)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStreamConnector.java:231)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:165)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:400)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_101&amp;#93;&lt;/span&gt;&lt;br/&gt;
	... 10 more&lt;br/&gt;
Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:&quot;urn:opendaylight:netvirt:aclservice-config&quot;, local:&quot;aclservice-config&quot;). Expected elements are &amp;lt;{}snapshot&amp;gt;&lt;br/&gt;
	... 21 more&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26095">CONTROLLER-1541</key>
            <summary>UnmarshalException: unexpected element (uri:&quot;urn:opendaylight:netvirt:aclservice-config&quot;, local:&quot;aclservice-config&quot;). Expected elements are &lt;{}snapshot&gt;</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="-1">Unassigned</assignee>
                                    <reporter username="vorburger">Michael Vorburger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Aug 2016 17:10:06 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:11 +0000</updated>
                            <resolved>Mon, 27 Mar 2017 11:38:36 +0000</resolved>
                                                                    <component>config</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="51487" author="vorburger" created="Thu, 25 Aug 2016 17:11:04 +0000"  >&lt;p&gt;Copy/paste of my analysis of this problem from private email exchange:&lt;/p&gt;

&lt;p&gt;From what I gathered it seems Karaf has some concept of XML configuration files per feature, yes? Those files can be any kind of XML, not just ODL CSS config XML, yes? If that&apos;s so, then it is simply wrong of AbstractFeatureWrapper to view the world as simple as it&apos;s current implementation does - note its CONFIG_FILE_SUFFIX = &quot;xml&quot; and Files.getFileExtension(c.getFinalname()).equals(CONFIG_FILE_SUFFIX) and then it tries to unmarshal that XML using  JAXB, on the off chance that this XML is a CSS XML for it to handle with its schema.. and it then makes a dumb assumption that catch (JAXBException e) catches problems in CSS config, which it logs as warn with message pretending the file in a question is a bad CSS config file (which e.g. aclservice-config_aclservice-config.xml isn&apos;t at all, right? It seems to be ... whatever else; not important here, right?), and with catch (XMLStreamException e) wants to catch (inline comment in code) &quot;Files that cannot be loaded are ignored as non config subsystem files e.g. jetty.xml&quot; - that&apos;s... naive, and not working for you here.&lt;/p&gt;

&lt;p&gt;IMHO AbstractFeatureWrapper should be made smarter about finding out if a Karaf Feature XML configuration file is for ODL Config CSS. Not 100% sure how I would do that, Controller Configuration folks may have a better idea. One way would be to perhaps peek at the XML file to see it&apos;s root element, using DOM instead of JAXB? It&apos;s been a while since I did stuff like that. Some sort of XML file name convention, or directory placement, would perhaps be an alternative?&lt;/p&gt;</comment>
                            <comment id="51488" author="vorburger" created="Thu, 25 Aug 2016 17:11:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44185/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44185/&lt;/a&gt; was to take care of this problem, but had to be reverted it seems.&lt;/p&gt;</comment>
                            <comment id="51489" author="vorburger" created="Fri, 26 Aug 2016 13:39:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44669/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44669/&lt;/a&gt; is the new Gerrit from Tom about this.&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>6535</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=6535]]></customfieldvalue>

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

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