<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:14 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>[MDSAL-255] IllegalArgumentException thrown since parentTypeForBuilder was not set to some kind of schema nodes</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-255</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;IllegalArgumentException thrown since parentTypeForBuilder was not set to some kinds of schema nodes&#65292;such as notification&#65292;augmentation in uses.&lt;/p&gt;



&lt;p&gt;java.lang.IllegalArgumentException: Type parameter MUST be specified and cannot be NULL!&lt;/p&gt;

&lt;p&gt;        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:122)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.renderers.BaseRenderer.putTypeIntoImports(BaseRenderer.java:150)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.renderers.BaseRenderer.importedName(BaseRenderer.java:72)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.renderers.BuilderRenderer.body(BuilderRenderer.java:256)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.renderers.BaseRenderer.generateTemplate(BaseRenderer.java:363)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.BuilderGenerator.generate(BuilderGenerator.java:39)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.GeneratorJavaFile.generateTypeToJavaFile(GeneratorJavaFile.java:192)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.GeneratorJavaFile.generateToFile(GeneratorJavaFile.java:106)&lt;br/&gt;
        at org.opendaylight.mdsal.binding.javav2.java.api.generator.GeneratorJavaFileTest.myGeneratedFilesTest(GeneratorJavaFileTest.java:39)&lt;/p&gt;


&lt;p&gt;The&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="27077">MDSAL-255</key>
            <summary>IllegalArgumentException thrown since parentTypeForBuilder was not set to some kind of schema nodes</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="han.jie@zte.com.cn">Jie Han</assignee>
                                    <reporter username="han.jie@zte.com.cn">Jie Han</reporter>
                        <labels>
                    </labels>
                <created>Tue, 23 May 2017 02:00:56 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:20 +0000</updated>
                            <resolved>Thu, 1 Mar 2018 09:12:11 +0000</resolved>
                                                                    <component>Binding V2 codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="54679" author="han.jie@zte.com.cn" created="Tue, 23 May 2017 02:49:57 +0000"  >&lt;p&gt;a new patch has committed:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57615/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57615/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54680" author="han.jie@zte.com.cn" created="Tue, 23 May 2017 06:41:10 +0000"  >&lt;p&gt;Hi, Martin, &lt;br/&gt;
   I have one question, which parentTypeBuilder should be set to notification type? As for list type &#65292;the parentTypeBuilder would be set to &lt;/p&gt;
{moudle}
&lt;p&gt;Data type,  but is it the same way to notifications ?&lt;/p&gt;</comment>
                            <comment id="54681" author="martin.ciglan" created="Tue, 23 May 2017 07:02:25 +0000"  >&lt;p&gt;in general as name of this field says, it needs to be set for data types when builder template is used to generate *Builder classes.&lt;/p&gt;</comment>
                            <comment id="54682" author="han.jie@zte.com.cn" created="Tue, 23 May 2017 07:22:42 +0000"  >&lt;p&gt;(In reply to Martin Ciglan from comment #3)&lt;br/&gt;
&amp;gt; in general as name of this field says, it needs to be set for data types&lt;br/&gt;
&amp;gt; when builder template is used to generate *Builder classes.&lt;/p&gt;

&lt;p&gt;As before if there are no data nodes like leaf,list , but only notification ,then the &lt;/p&gt;
{module}
&lt;p&gt;Data type would not be generated, should we create it without any getter ? &lt;br/&gt;
How to use &quot;Item&amp;lt;&amp;gt; treeIdentifier()&quot; ?&lt;/p&gt;</comment>
                            <comment id="54683" author="han.jie@zte.com.cn" created="Wed, 24 May 2017 09:12:52 +0000"  >&lt;p&gt;The patch &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57615/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57615/&lt;/a&gt;  has been abondoned&#65292;&lt;/p&gt;

&lt;p&gt;Here is a new relative patch&#65306;&lt;br/&gt;
&lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-255&quot; title=&quot;IllegalArgumentException thrown since parentTypeForBuilder was not set to some kind of schema nodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-255&quot;&gt;&lt;del&gt;MDSAL-255&lt;/del&gt;&lt;/a&gt; IllegalArgumentException thrown since parentTypeForBuilder was not set&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/57748/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/57748/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="59739" author="jiehan2017" created="Fri, 20 Oct 2017 07:43:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/58012&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/58012&lt;/a&gt;&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>8530</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=8530]]></customfieldvalue>

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

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