Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-797

sal-binding-broker-impl: classloader+javassist issue when registering NotificationListener

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • mdsal
    • None
    • Operating System: Linux
      Platform: PC

    • 1773

    Description

      In case where the registrator class resides in different bundle as the listener implementation class, we get following exception while registering at:

      org.opendaylight.controller.sal.binding.codegen.impl.AbstractRuntimeCodeGenerator.invokeFor():
      RuntimeGeneratedInvoker.create(instance, prototype);

      CannotCompileException: by java.lang.NoClassDefFoundError: org/opendaylight/controller/sal/binding/api/NotificationListener

      Similar behavior was reported while reloading OFPlugin/samples/learning-switch bundle using osgi commands.

      Attachments

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

        Activity

          People

            tony.tkacik@gmail.com Tony Tkacik
            michal.rehak Michal Rehak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: