<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08: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>[MDSAL-159] Unable to generate sources with CodeGeneratorImpl generator, Types$ParametrizedTypeImpl cannot be cast to GeneratedTransferObject</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-159</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Error when generating sources in SFC project with yang files in attachment. Files were present in sfc-netconf module.&lt;/p&gt;

&lt;p&gt;LOG:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://pastebin.com/j2ARMAxm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/j2ARMAxm&lt;/a&gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Linux&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26981">MDSAL-159</key>
            <summary>Unable to generate sources with CodeGeneratorImpl generator, Types$ParametrizedTypeImpl cannot be cast to GeneratedTransferObject</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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="vladimir.lavor@pantheon.sk">Vladimir Lavor</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Apr 2016 12:48:58 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:14 +0000</updated>
                            <resolved>Tue, 12 Jul 2016 12:35:41 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="54301" author="vladimir.lavor@pantheon.sk" created="Thu, 21 Apr 2016 12:48:58 +0000"  >&lt;p&gt;Attachment netconfyangs.zip has been added with description: yang module capabilities for CSR device&lt;/p&gt;</comment>
                            <comment id="54299" author="martin.ciglan" created="Fri, 22 Apr 2016 07:59:47 +0000"  >&lt;p&gt;will be solved by Binding specification v2, &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-40&quot; title=&quot;Milestone: Implement Binding Specification v2&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-40&quot;&gt;&lt;del&gt;MDSAL-40&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54300" author="vrpolak" created="Tue, 12 Jul 2016 12:35:41 +0000"  >&lt;p&gt;I have encountered a slight variation on this; commenting so that people can map their symptom:&lt;/p&gt;

&lt;p&gt;Yang module snippet:&lt;/p&gt;

&lt;p&gt;    typedef foo-string {&lt;br/&gt;
        type string &lt;/p&gt;
{
            pattern &apos;foo.*&apos;;
        }
&lt;p&gt;    }&lt;br/&gt;
    list foo-key {&lt;br/&gt;
        key &quot;foo&quot;;&lt;br/&gt;
        leaf foo &lt;/p&gt;
{
            type foo-string;
        }
&lt;p&gt;        leaf key &lt;/p&gt;
{
            type string;
        }
&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;Leads to:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator&lt;br/&gt;
java.lang.ClassCastException: org.opendaylight.yangtools.binding.generator.util.Types$ConcreteTypeImpl cannot be cast to org.opendaylight.yangtools.sal.binding.model.api.GeneratedTransferObject&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.BuilderTemplate.generateCopyConstructor(BuilderTemplate.java:1269)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.BuilderTemplate.body(BuilderTemplate.java:369)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.BaseTemplate.generate(BaseTemplate.java:76)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.BuilderGenerator.generate(BuilderGenerator.java:65)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.GeneratorJavaFile.generateTypeToJavaFile(GeneratorJavaFile.java:170)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.java.api.generator.GeneratorJavaFile.generateToFile(GeneratorJavaFile.java:116)&lt;br/&gt;
derGenerator.java:65)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="26824">MDSAL-2</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13801" name="netconfyangs.zip" size="368174" author="vladimir.lavor@pantheon.sk" created="Thu, 21 Apr 2016 12:48:58 +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>5772</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=5772]]></customfieldvalue>

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

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