<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:22 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>[YANGTOOLS-808] IllegalArgumentExcetion while transform OpenFlow model normalizednode to Json</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-808</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I want to transform OpenFlow Models (Flow, Group, Meter, e.g) to JsonObjects String. I have made NormalizedNode from Flow successfully, but when I use JSONNormalizedNodeStreamWriter as a streamWriter (to write JsonString from Normalized), I got IllegalArgumentExcetion. I want to know if the OF Models are supported to translate to JsonObject already, and would you give correct suggestions to operate?&lt;/p&gt;

&lt;p&gt;Following is the exception logs:&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: List item is not appropriate&lt;br/&gt;
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)&lt;span class=&quot;error&quot;&gt;&amp;#91;41:com.google.guava:18.0.0&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.impl.codec.SchemaTracker.startListItem(SchemaTracker.java:144)&lt;span class=&quot;error&quot;&gt;&amp;#91;57:org.opendaylight.yangtools.yang-data-impl:1.0.4.Boron-SR4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.codec.gson.JSONNormalizedNodeStreamWriter.startMapEntryNode(JSONNormalizedNodeStreamWriter.java:174)&lt;span class=&quot;error&quot;&gt;&amp;#91;60:org.opendaylight.yangtools.yang-data-codec-gson:1.0.4.Boron-SR4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter$OrderedNormalizedNodeWriter.writeMapEntryNode(NormalizedNodeWriter.java:267)&lt;span class=&quot;error&quot;&gt;&amp;#91;56:org.opendaylight.yangtools.yang-data-api:1.0.4.Boron-SR4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.wasProcessedAsCompositeNode(NormalizedNodeWriter.java:208)&lt;span class=&quot;error&quot;&gt;&amp;#91;56:org.opendaylight.yangtools.yang-data-api:1.0.4.Boron-SR4&amp;#93;&lt;/span&gt;&lt;br/&gt;
        at org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.write(NormalizedNodeWriter.java:100)&lt;span class=&quot;error&quot;&gt;&amp;#91;56:org.opendaylight.yangtools.yang-data-api:1.0.4.Boron-SR4&amp;#93;&lt;/span&gt;&lt;br/&gt;
....&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23228">YANGTOOLS-808</key>
            <summary>IllegalArgumentExcetion while transform OpenFlow model normalizednode to Json</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="dongwenying@chinamobile.com">DongWenying</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Aug 2017 07:49:55 +0000</created>
                <updated>Sun, 10 Apr 2022 18:36:01 +0000</updated>
                            <resolved>Tue, 20 Feb 2018 10:26:47 +0000</resolved>
                                    <version>1.0.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44524" author="dongwenying@chinamobile.com" created="Thu, 24 Aug 2017 07:50:53 +0000"  >&lt;p&gt;My test case is using version Boron-SR4&lt;/p&gt;</comment>
                            <comment id="44525" author="pkajsa" created="Fri, 13 Oct 2017 09:31:28 +0000"  >&lt;p&gt;Does this bug still persist ? Can you please retest with newer version of Yangtools, because there is no further Boron SR planned...&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;</comment>
                            <comment id="60566" author="dongwenying" created="Wed, 27 Dec 2017 01:27:56 +0000"  >&lt;p&gt;I am sorry that I didn&apos;t verify this bug in newer versions, because our team is developing controller based on ODL Boron SR4.&lt;/p&gt;</comment>
                            <comment id="61123" author="rovarga" created="Tue, 20 Feb 2018 10:26:47 +0000"  >&lt;p&gt;Boron SR4 is desupported, feel free to reopen if it reproduces on Nitrogen/Oxygen (1.2.1+, 2.0.1+).&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>9042</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=9042]]></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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i029if:</customfieldvalue>

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