Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-259

Uninstall feature api and then install features api,impl and bundle state of impl is failure

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            gu.min1@zte.com.cn GU Min
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: