Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deal with bundle refresh [PAXEXAM-922] #1003

Open
ops4j-issues opened this issue Nov 20, 2018 · 1 comment
Open

Deal with bundle refresh [PAXEXAM-922] #1003

ops4j-issues opened this issue Nov 20, 2018 · 1 comment

Comments

@ops4j-issues
Copy link

Jean-Baptiste Onofre created PAXEXAM-922

In Karaf, it's "classic" to see some features refreshing bundles. Unfortunately, Pax Exam is not able to deal with those refresh and it often fails with:

java.lang.IllegalStateException: Invalid BundleContext.

It would be great to find a way to handle the refresh.


Affects: 4.12.0
Votes: 0, Watches: 2

@ops4j-issues
Copy link
Author

Christoph Läubrich commented

The root-cause of this is the usage of the various "swissbox" helper methods that do not handle dynamics very well, IMO we should either rework the swissbox thing or throw it completely away 😉 I have started to refactor several things in this area for the exam-5 line together wit API celanups and improvements in the master branch, but have stopped for now since it is completely unclear how we will proceed with pax-exam 5.
There is a branch from Harald Wellmann but I havent heared from him a long time how we could proceed to integrate that branch with the current master development and bugfixes in the 4.x line ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant