I was trying to change a consumed service and undeployed the older version and trying to deploy the new version. Post deployment , The queue wasnt able to connect to the queue details and it was showing the below error in the karaf file.
Error : java.lang.IllegalArgumentException: object is not an instance of declaring class.
I have checked everything and it seems to be fine. Please help.