<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:52: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>[CONTROLLER-121] Exception when accessing Topology via RESTCONF</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-121</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When running the openflowplugin distribution and &lt;/p&gt;

&lt;p&gt; sudo mn --topo tree,2  --controller &apos;remote,ip=10.0.2.2:6633&apos; --switch ovsk,protocols=OpenFlow13&lt;/p&gt;

&lt;p&gt;I can see the Topology via the Adapter to the AD-SAL, but &lt;/p&gt;

&lt;p&gt;When I attempt to access &lt;br/&gt;
GET&lt;br/&gt;
&lt;a href=&quot;http://localhost:8080/restconf/operational/network-topology:network-topology/topology/flow:1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operational/network-topology:network-topology/topology/flow:1/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I get an exception:&lt;/p&gt;

&lt;p&gt;java.lang.NullPointerException&lt;br/&gt;
	org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.writeValueByType(XmlDocumentUtils.java:157)&lt;br/&gt;
	org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.createXmlRootElement(XmlDocumentUtils.java:89)&lt;br/&gt;
	org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.createXmlRootElement(XmlDocumentUtils.java:110)&lt;br/&gt;
	org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.createXmlRootElement(XmlDocumentUtils.java:110)&lt;br/&gt;
	org.opendaylight.yangtools.yang.data.impl.codec.xml.XmlDocumentUtils.toDocument(XmlDocumentUtils.java:73)&lt;br/&gt;
	org.opendaylight.controller.sal.rest.impl.XmlMapper.write(XmlMapper.java:58)&lt;br/&gt;
	org.opendaylight.controller.sal.rest.impl.StructuredDataToXmlProvider.writeTo(StructuredDataToXmlProvider.java:61)&lt;br/&gt;
	org.opendaylight.controller.sal.rest.impl.StructuredDataToXmlProvider.writeTo(StructuredDataToXmlProvider.java:33)&lt;br/&gt;
	com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)&lt;br/&gt;
	javax.servlet.http.HttpServlet.service(HttpServlet.java:848)&lt;br/&gt;
	org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:440)&lt;br/&gt;
	org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:179)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="24675">CONTROLLER-121</key>
            <summary>Exception when accessing Topology via RESTCONF</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</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="lborak@cisco.com">Ladislav Borak</assignee>
                                    <reporter username="hagbard">Ed Warnicke</reporter>
                        <labels>
                    </labels>
                <created>Sun, 19 Jan 2014 13:59:49 +0000</created>
                <updated>Tue, 25 Jul 2023 08:23:00 +0000</updated>
                            <resolved>Thu, 23 Jan 2014 15:58:08 +0000</resolved>
                                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="47551" author="vdemcak@cisco.com" created="Wed, 22 Jan 2014 16:43:24 +0000"  >&lt;p&gt;Sorry, but I&apos;m not able to reproduce same behavior.&lt;/p&gt;

&lt;p&gt;(tested builds from today morning and today evening&lt;span class=&quot;error&quot;&gt;&amp;#91;16:45&amp;#93;&lt;/span&gt; of openflowplugin distribution &lt;span class=&quot;error&quot;&gt;&amp;#91;proj. synchr. yangtools, openflowjava, controller, openflowplugin&amp;#93;&lt;/span&gt;)&lt;/p&gt;

&lt;p&gt;(Env. debian7, Open vSwitch 2.0.0, Mininet 2.0.1, postman v.0.8.4.3, all run in localhost and both controller&apos;s ports have been tested &lt;span class=&quot;error&quot;&gt;&amp;#91;6633 and 6653&amp;#93;&lt;/span&gt;)&lt;/p&gt;</comment>
                            <comment id="47552" author="lborak@cisco.com" created="Thu, 23 Jan 2014 15:55:05 +0000"  >&lt;p&gt;I am not able to reproduce this bug. All rest operations work correctly.&lt;/p&gt;</comment>
                            <comment id="47553" author="msunal@cisco.com" created="Thu, 23 Jan 2014 15:58:08 +0000"  >&lt;p&gt;It has been fixed in &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/4452/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/4452/&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>326</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=326]]></customfieldvalue>

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

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