Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

robertpanzer
Copy link
Contributor

Some CDI tests destroy CDI managed beans retrieved from an Instance at the wrong Instance, so that TomEE/OWB throws a NullPointerException.
This PR fixes this by destroying the beans at the Instances where they were got from.

@arjantijms
Copy link
Contributor

Looks good, sorry that this had been left open for such a long time.

@arjantijms arjantijms merged commit afe0405 into javaee-samples:master Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants