[MDSAL-259] Uninstall feature api and then install features api,impl and bundle state of impl is failure Created: 25/May/17  Updated: 09/Mar/18  Resolved: 18/Jul/17

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: GU Min Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8546

 Description   

I uninstalled the features and then intstalled them , and found the error :

feature uninstall ***api
feature uninstall ***impl

feature install ***api
feature install ***impl

there is an error occured :java.lang.IllegalStateException: Rpc defined in model does not have representation in generated class.

The log is as following:

Caused by: java.lang.IllegalStateException: Rpc defined in model does not have representation in generated class.
at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.getRpcMethodToSchemaPath(BindingToNormalizedNodeCodec.java:286)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcProviderServiceAdapter.register(BindingDOMRpcProviderServiceAdapter.java:48)
at org.opendaylight.controller.md.sal.binding.impl.BindingDOMRpcProviderServiceAdapter.registerRpcImplementation(BindingDOMRpcProviderServiceAdapter.java:39)
at org.opendaylight.controller.md.sal.binding.compat.HeliumRpcProviderRegistry.addRpcImplementation(HeliumRpcProviderRegistry.java:42)
at Proxyd35340b6_2330_4158_bcfd_db70ebbd5f3c.addRpcImplementation(Unknown Source)
at Proxycb029c6a_c05f_41fd_a908_b2fa369aea5e.addRpcImplementation(Unknown Source)
at org.opendaylight.bierman.impl.BierManagerProvider.init(BierManagerProvider.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_25]
at java.lang.reflect.Method.invoke(Method.java:483)[:1.8.0_25]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)
... 55 more
Caused by: java.lang.NoSuchMethodException: org.opendaylight.yang.gen.v1.urn.bier.topology.api.rev161102.BierTopologyApiService.deleteSubdomain(org.opendaylight.yang.gen.v1.urn.bier.topology.api.rev161102.DeleteSubdomainInput)
at java.lang.Class.getMethod(Class.java:1778)[:1.8.0_25]
at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.findRpcMethod(BindingToNormalizedNodeCodec.java:331)
at org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec.getRpcMethodToSchemaPath(BindingToNormalizedNodeCodec.java:282)
... 68 more



 Comments   
Comment by Robert Varga [ 18/Jul/17 ]

Feature uninstallation are not supported.

Generated at Wed Feb 07 20:09:15 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.