I am meeting the same issue using Felix Framework. The problem comes from the Class Loading as the current bundle class loader is used while referring to a resource path from another bundle.
Probably the same issue as under: Classloading issues running flowable 6.4.0 on Karaf