In our case we tried all of the above notes but unfortunately these didn't worked for us.
This below note was helped to sort out the adapter issues.
SAP note 2000681 - JRA: NullPointerException in CallbackConnectionFactory
I think it would be helpful if any of you can face this kind of issues.
Thanks
Sri