[CONTROLLER-797] sal-binding-broker-impl: classloader+javassist issue when registering NotificationListener Created: 09/Sep/14  Updated: 29/Apr/15  Resolved: 29/Apr/15

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

Type: Bug
Reporter: Michal Rehak Assignee: Tony Tkacik
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 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.



 Comments   
Comment by Tony Tkacik [ 24/Apr/15 ]

https://git.opendaylight.org/gerrit/#/c/18838/

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