<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:53:41 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-708] Getting error pulling RESTCONF URL</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-708</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;When I pull a RESTCONF URL that refers to a top level container in a specific sub-module I&apos;m getting an error:&lt;/p&gt;

&lt;p&gt;The URL is:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/ncs/yang-ext:mount/tailf-ncs:devices/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/ncs/yang-ext:mount/tailf-ncs:devices/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The error is:&lt;/p&gt;

&lt;p&gt;HTTP Status 500 - java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method &amp;lt;init&amp;gt;(Ljava/lang/String;Ljava/lang/Throwable;)V not found&lt;/p&gt;

&lt;p&gt;type Exception report&lt;/p&gt;

&lt;p&gt;message java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method &amp;lt;init&amp;gt;(Ljava/lang/String;Ljava/lang/Throwable;)V not found&lt;/p&gt;

&lt;p&gt;description The server encountered an internal error that prevented it from fulfilling this request.&lt;/p&gt;

&lt;p&gt;exception&lt;/p&gt;

&lt;p&gt;javax.servlet.ServletException: java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method &amp;lt;init&amp;gt;(Ljava/lang/String;Ljava/lang/Throwable;)V not found&lt;br/&gt;
	com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)&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;/p&gt;

&lt;p&gt;root cause&lt;/p&gt;

&lt;p&gt;java.lang.NoSuchMethodError: javax.ws.rs.WebApplicationException: method &amp;lt;init&amp;gt;(Ljava/lang/String;Ljava/lang/Throwable;)V not found&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfDocumentedException.&amp;lt;init&amp;gt;(RestconfDocumentedException.java:90)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfDocumentedException.&amp;lt;init&amp;gt;(RestconfDocumentedException.java:105)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.BrokerFacade.readDataViaTransaction(BrokerFacade.java:186)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.BrokerFacade.readOperationalData(BrokerFacade.java:95)&lt;br/&gt;
	org.opendaylight.controller.sal.restconf.impl.RestconfImpl.readOperationalData(RestconfImpl.java:690)&lt;br/&gt;
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
	java.lang.reflect.Method.invoke(Method.java:606)&lt;br/&gt;
	com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)&lt;br/&gt;
	com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)&lt;br/&gt;
	com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.ResourceObjectRule.accept(ResourceObjectRule.java:100)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)&lt;br/&gt;
	com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)&lt;br/&gt;
	com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)&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;/p&gt;

&lt;p&gt;note The full stack trace of the root cause is available in the Apache Tomcat/7.0.32 logs.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25262">CONTROLLER-708</key>
            <summary>Getting error pulling RESTCONF URL</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="tony.tkacik@gmail.com">Tony Tkacik</assignee>
                                    <reporter username="giheron@cisco.com">Giles Heron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Aug 2014 09:47:52 +0000</created>
                <updated>Tue, 25 Jul 2023 08:24:06 +0000</updated>
                            <resolved>Thu, 21 Aug 2014 13:16:20 +0000</resolved>
                                                                    <component>restconf</component>
                        <due>Thu, 21 Aug 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="48908" author="giheron@cisco.com" created="Wed, 20 Aug 2014 09:47:52 +0000"  >&lt;p&gt;Attachment opendaylight.zip has been added with description: zipped opendaylight.log&lt;/p&gt;</comment>
                            <comment id="48905" author="tony.tkacik@gmail.com" created="Wed, 20 Aug 2014 15:36:43 +0000"  >&lt;p&gt;Are you experiencing this in distribution of Opendaylight with original bundled tomcat?&lt;/p&gt;

&lt;p&gt;This seems that &lt;br/&gt;
javax.ws.rs.WebApplicationException: method &amp;lt;init&amp;gt;(Ljava/lang/String;Ljava/lang/Throwable;)V not found&lt;/p&gt;

&lt;p&gt;JAX-RS version is 1.0, but Opendaylight uses and requires 2.0&lt;/p&gt;</comment>
                            <comment id="48906" author="giheron@cisco.com" created="Wed, 20 Aug 2014 16:39:11 +0000"  >&lt;p&gt;Yes - I&apos;m using the bundled Tomcat...&lt;/p&gt;</comment>
                            <comment id="48907" author="tony.tkacik@gmail.com" created="Thu, 21 Aug 2014 12:07:30 +0000"  >&lt;p&gt;Underlaying bug was in YANGTools processing single quoted strings.&lt;br/&gt;
Fix is present in &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/10131&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/10131&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13406" name="opendaylight.zip" size="140834" author="giheron@cisco.com" created="Wed, 20 Aug 2014 09:47:52 +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>1586</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=1586]]></customfieldvalue>

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

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