[CONTROLLER-1118] NPE - ControllerContext in toQName method Created: 21/Jan/15  Updated: 09/Feb/15  Resolved: 09/Feb/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Bug
Reporter: Vaclav Demcak Assignee: Vaclav Demcak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log     Text File opendaylight.log    
Issue Links:
Blocks
is blocked by NETCONF-14 Upgrade JAXRS / Jersey to support JAX... Confirmed
External issue ID: 2616

 Description   

2015-01-21 04:00:31,655 | ERROR | qtp2032275313-60 | ContainerResponse | 108 - com.sun.jersey.jersey-server - 1.17.0 | The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at org.opendaylight.controller.sal.restconf.impl.ControllerContext.toQName(ControllerContext.java:768)[227:org.opendaylight.controller.sal-rest-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.restconf.impl.ControllerContext.getRpcDefinition(ControllerContext.java:777)[227:org.opendaylight.controller.sal-rest-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.restconf.impl.RestconfImpl.resolveIdentifierInInvokeRpc(RestconfImpl.java:570)[227:org.opendaylight.controller.sal-rest-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.restconf.impl.RestconfImpl.invokeRpc(RestconfImpl.java:459)[227:org.opendaylight.controller.sal-rest-connector:1.2.0.SNAPSHOT]
at org.opendaylight.controller.sal.restconf.impl.StatisticsRestconfServiceWrapper.invokeRpc(StatisticsRestconfServiceWrapper.java:72)[227:org.opendaylight.controller.sal-rest-connector:1.2.0.SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_67]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[:1.7.0_67]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[:1.7.0_67]
at java.lang.reflect.Method.invoke(Unknown Source)[:1.7.0_67]



 Comments   
Comment by Vaclav Demcak [ 21/Jan/15 ]

Attachment karaf.log has been added with description: log file

Comment by Vaclav Demcak [ 21/Jan/15 ]

Attachment opendaylight.log has been added with description: Server log

Comment by Vaclav Demcak [ 21/Jan/15 ]

Hotfix - add validation only
master: https://git.opendaylight.org/gerrit/#/c/14326/

Full fix HTTP response NPE needs Upgrade Jersey (https://java.net/jira/browse/JERSEY-1658)

Generated at Wed Feb 07 19:54:44 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.