<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:16 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-1334] UnsupportedOperationException occurred in data change event listener</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1334</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;I&apos;m using a controller built on the latest code on the master branch of the integration.git.&lt;br/&gt;
It means that I&apos;m using artifacts for Lithium release.&lt;/p&gt;

&lt;p&gt;When I connected OpenDaylight Controller to OpenFlow switches, I observed UnsupportedOperationException occurred on a thread calling AsyncDataChangeEvent.getCreatedData().&lt;/p&gt;

&lt;p&gt;    java.lang.UnsupportedOperationException: \&lt;br/&gt;
      Could not create Binding data representation for root \&lt;br/&gt;
      at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.deserialize(SchemaRootCodecContext.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;106:org.opendaylight.yangtools.binding-data-codec:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;At this time, inventory-manager updated nodes information.&lt;br/&gt;
As the result, a data change event (AsyncDataChangeEvent) happened, and then the above exception occurred.&lt;/p&gt;


&lt;p&gt;I&apos;ve never observed this exception before 05/20, but I frequently observed this exception after 05/20.&lt;/p&gt;


&lt;p&gt;Error message on karaf.log&lt;br/&gt;
==========================&lt;/p&gt;


&lt;p&gt;2015-05-22 05:22:57,442 | ERROR | ult-dispatcher-4 | NodeListener                     | 345 - org.opendaylight.vtn.manager.implementation - 0.3.0.SNAPSHOT | Unexpected exception in data change event listener.&lt;br/&gt;
java.lang.UnsupportedOperationException: Could not create Binding data representation for root&lt;br/&gt;
    at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.deserialize(SchemaRootCodecContext.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;106:org.opendaylight.yangtools.binding-data-codec:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.fromNormalizedNode(BindingNormalizedNodeCodecRegistry.java:190)&lt;span class=&quot;error&quot;&gt;&amp;#91;106:org.opendaylight.yangtools.binding-data-codec:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toBinding(BindingToNormalizedNodeCodec.java:194)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker.toBinding(AbstractForwardedDataBroker.java:80)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker$TranslatedDataChangeEvent.getCreatedData(AbstractForwardedDataBroker.java:164)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.vtn.manager.internal.util.AbstractDataChangeListener.onDataChanged(AbstractDataChangeListener.java:301)&lt;span class=&quot;error&quot;&gt;&amp;#91;345:org.opendaylight.vtn.manager.implementation:0.3.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker$TranslatingDataChangeInvoker.onDataChanged(AbstractForwardedDataBroker.java:134)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.datastore.DataChangeListener.dataChanged(DataChangeListener.java:66)&lt;span class=&quot;error&quot;&gt;&amp;#91;179:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.datastore.DataChangeListener.handleReceive(DataChangeListener.java:39)&lt;span class=&quot;error&quot;&gt;&amp;#91;179:org.opendaylight.controller.sal-distributed-datastore:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.cluster.common.actor.AbstractUntypedActor.onReceive(AbstractUntypedActor.java:34)&lt;span class=&quot;error&quot;&gt;&amp;#91;171:org.opendaylight.controller.sal-clustering-commons:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.actor.Actor$class.aroundReceive(Actor.scala:467)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.actor.ActorCell.invoke(ActorCell.scala:487)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.dispatch.Mailbox.run(Mailbox.scala:221)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at akka.dispatch.Mailbox.exec(Mailbox.scala:231)&lt;span class=&quot;error&quot;&gt;&amp;#91;164:com.typesafe.akka.actor:2.3.10&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)&lt;span class=&quot;error&quot;&gt;&amp;#91;161:org.scala-lang.scala-library:2.10.4.v20140209-180020-VFINAL-b66a39653b&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25888">CONTROLLER-1334</key>
            <summary>UnsupportedOperationException occurred in data change event listener</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="Hideyuki1985">Hideyuki Tai</reporter>
                        <labels>
                    </labels>
                <created>Fri, 22 May 2015 20:45:09 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:03 +0000</updated>
                            <resolved>Wed, 3 Jun 2015 18:36:46 +0000</resolved>
                                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="50695" author="hideyuki.tai@necam.com" created="Fri, 22 May 2015 21:21:28 +0000"  >&lt;p&gt;Due to this issue, VTN Manager cannot work correctly.&lt;/p&gt;</comment>
                            <comment id="50696" author="hideyuki.tai@necam.com" created="Fri, 22 May 2015 21:23:04 +0000"  >&lt;p&gt;How to reproduce the issue&lt;br/&gt;
==========================&lt;/p&gt;

&lt;p&gt; 1. Run a controller built for Lithium.&lt;/p&gt;

&lt;p&gt;    $ bin/karaf&lt;/p&gt;

&lt;p&gt; 2. Install VTN Manager features.&lt;/p&gt;

&lt;p&gt;    feature:install odl-vtn-manager-rest&lt;/p&gt;


&lt;p&gt; 3. Run Mininet and Connect it to the controller.&lt;br/&gt;
    sudo mn --controller=remote,ip=192.168.2.62  --topo tree,3&lt;/p&gt;

&lt;p&gt;You may observe UnsupportedOperationException in karaf.log.&lt;/p&gt;


&lt;p&gt;What I used&lt;br/&gt;
===========&lt;/p&gt;

&lt;p&gt;I used the latest code on the master branch of the integration.git on 22nd May, 2015.&lt;/p&gt;

&lt;p&gt;    $ git log --oneline | head -1&lt;br/&gt;
    687d993 Round-robin load-balancing for flow_config_blaster&lt;/p&gt;

&lt;p&gt;I executed &quot;mvn clean install&quot; in the distribution/karaf directory of the integration.git code tree.&lt;/p&gt;

&lt;p&gt;    $ cd distributions/karaf&lt;br/&gt;
    $ mvn clean install&lt;/p&gt;</comment>
                            <comment id="50697" author="tony.tkacik@gmail.com" created="Sun, 24 May 2015 13:42:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/21026&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/21026&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50698" author="hideyuki.tai@necam.com" created="Tue, 26 May 2015 17:54:24 +0000"  >&lt;p&gt;(In reply to Tony Tkacik from comment #3)&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://git.opendaylight.org/gerrit/21026&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/21026&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Hi Tony,&lt;/p&gt;

&lt;p&gt;Thank you for creating the patch (Gerrit 21026).&lt;/p&gt;

&lt;p&gt;However, it seems to me that the patch does not fix the problem.&lt;/p&gt;

&lt;p&gt;I pulled the patch, built the sal-binding-broker-impl-1.2.0-SNAPSHOT.jar, and put the jar file into my local Karaf distribution.&lt;br/&gt;
And, I did the same steps which I mentioned above, and then I observed the same error.&lt;/p&gt;


&lt;p&gt;2015-05-26 04:25:26,068 | ERROR | lt-dispatcher-24 | NodeListener                     | 345 - org.opendaylight.vtn.manager.implementation - 0.3.0.SNAPSHOT | Unexpected exception in data change event listener.&lt;br/&gt;
java.lang.UnsupportedOperationException: Could not create Binding data representation for root&lt;br/&gt;
    at org.opendaylight.yangtools.binding.data.codec.impl.SchemaRootCodecContext.deserialize(SchemaRootCodecContext.java:154)&lt;span class=&quot;error&quot;&gt;&amp;#91;106:org.opendaylight.yangtools.binding-data-codec:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.fromNormalizedNode(BindingNormalizedNodeCodecRegistry.java:190)&lt;span class=&quot;error&quot;&gt;&amp;#91;106:org.opendaylight.yangtools.binding-data-codec:0.7.0.SNAPSHOT&amp;#93;&lt;/span&gt;                                                                                                                                                                                                    at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.toBinding(BindingToNormalizedNodeCodec.java:194)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
    at org.opendaylight.controller.md.sal.binding.impl.AbstractForwardedDataBroker.toBinding(AbstractForwardedDataBroker.java:81)&lt;span class=&quot;error&quot;&gt;&amp;#91;157:org.opendaylight.controller.sal-binding-broker-impl:1.2.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="50699" author="tony.tkacik@gmail.com" created="Wed, 27 May 2015 09:23:40 +0000"  >&lt;p&gt;Is this single node or multi-node claster?&lt;/p&gt;</comment>
                            <comment id="50700" author="yasuda" created="Wed, 27 May 2015 11:37:02 +0000"  >&lt;p&gt;(In reply to Tony Tkacik from comment #5)&lt;br/&gt;
&amp;gt; Is this single node or multi-node claster?&lt;/p&gt;

&lt;p&gt;Single node. VTN does not support multi-node cluster yet.&lt;/p&gt;

&lt;p&gt;I guess that clustering is irrelevant to this issue because this exception is sometimes observed in VTN&apos;s IT. VTN&apos;s IT uses in-memory datastore.&lt;/p&gt;</comment>
                            <comment id="50705" author="yasuda" created="Wed, 27 May 2015 11:38:48 +0000"  >&lt;p&gt;Attachment VTN-IT-backtrace.txt has been added with description: UnsupportedOperationException in VTN&apos;s IT&lt;/p&gt;</comment>
                            <comment id="50701" author="hideyuki.tai@necam.com" created="Tue, 2 Jun 2015 17:59:35 +0000"  >&lt;p&gt;This bug has not been fixed yet.&lt;/p&gt;

&lt;p&gt;I observed this bug with the latest artifacts at 10 AM on 06/02 (PDT).&lt;/p&gt;

&lt;p&gt;I did the exactly same steps which I wrote in the comment 2 of this report. I tried the steps two times, and I observed the issues all times (100%).&lt;/p&gt;


&lt;p&gt;What I used&lt;br/&gt;
===========&lt;/p&gt;

&lt;p&gt;I used the latest code on the master branch of the integration.git on 2nd June, 2015.&lt;/p&gt;

&lt;p&gt;    $ git log --oneline | head -1&lt;br/&gt;
    f82e612 Robot Test Suites for Southbound API.&lt;/p&gt;</comment>
                            <comment id="50702" author="tony.tkacik@gmail.com" created="Wed, 3 Jun 2015 15:01:16 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/21791&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/21791&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50703" author="tony.tkacik@gmail.com" created="Wed, 3 Jun 2015 15:31:18 +0000"  >&lt;p&gt;Alternate fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21795/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21795/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="50704" author="hideyuki.tai@necam.com" created="Wed, 3 Jun 2015 18:36:46 +0000"  >&lt;p&gt;I&apos;ve confirmed that after the following patch is merged, the &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-1334&quot; title=&quot;UnsupportedOperationException occurred in data change event listener&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-1334&quot;&gt;&lt;del&gt;CONTROLLER-1334&lt;/del&gt;&lt;/a&gt; is not occurred at all.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/21795/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/21795/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for the patch!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="27748">OPNFLWPLUG-480</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22879">YANGTOOLS-459</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13511" name="VTN-IT-backtrace.txt" size="2651" author="yasuda" created="Wed, 27 May 2015 11:38:48 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3344</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=3344]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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