<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:05 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-712] Yang parser tries to process unknown character like &apos;#&apos; as a Yang statement and crashes with NPE</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-712</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Yang parser tries to process unknown character like &apos;#&apos; as a Yang statement and crashes with NullPointerException. This needs to be handled and proper exception thrown.&lt;/p&gt;

&lt;p&gt;Example YANG snippet:&lt;/p&gt;

&lt;p&gt;module aug-second {&lt;br/&gt;
   .&lt;br/&gt;
   .&lt;br/&gt;
   . &lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;With Bug present, this works just because tf is not involved.&lt;br/&gt;
  augment &quot;/ts:target&quot; 
{
    .
    .
    . 
  }&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;Error stack:&lt;/p&gt;

&lt;p&gt;java.lang.NullPointerException&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.YangStatementSourceImpl.writePreLinkage(YangStatementSourceImpl.java:101)&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.loadStatements(SourceSpecificContext.java:349)&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.loadPhaseStatements(BuildGlobalContext.java:241)&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext.buildEffective(BuildGlobalContext.java:199)&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.parser.stmt.reactor.CrossSourceStatementReactor$BuildAction.buildEffective(CrossSourceStatementReactor.java:128)&lt;br/&gt;
13:12:47 	at org.opendaylight.yangtools.yang.stmt.Bug6150Test.effectiveAugmentFirstTest(Bug6150Test.java:39)&lt;br/&gt;
13:12:47 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
13:12:47 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)&lt;br/&gt;
13:12:47 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23132">YANGTOOLS-712</key>
            <summary>Yang parser tries to process unknown character like &apos;#&apos; as a Yang statement and crashes with NPE</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="ifoltin">Igor Foltin</assignee>
                                    <reporter username="martin.ciglan">Martin Ciglan</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 Nov 2016 14:52:05 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:56 +0000</updated>
                            <resolved>Tue, 6 Dec 2016 09:28:22 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="44242" author="ifoltin" created="Wed, 23 Nov 2016 14:30:54 +0000"  >&lt;p&gt;fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/48631/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/48631/&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>7146</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=7146]]></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="10321"><![CDATA[Carbon]]></customfieldvalue>

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

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