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

Concurrency issue when loading plugins #7

Open
Konijnendijk opened this issue May 3, 2018 · 0 comments
Open

Concurrency issue when loading plugins #7

Konijnendijk opened this issue May 3, 2018 · 0 comments
Labels
bug Something isn't working Dwight

Comments

@Konijnendijk
Copy link
Contributor

Summary

In recent releases Xill switched to the reflections library for classpath scanning to search for constructs in plugins. Internally, this library caches jar files, which causes problems when loading plugins for multiple Xill environments at the same time. This is a particularly big problem for XDE.

The issue is described here: ronmamo/reflections#81.

Steps to reproduce

  • Start an XDE instance and deploy the xill-connector-suite
  • Call the GetEntity robot multiple times at once (24 in my case)
  • Observe the same stack trace as described at the issue mentioned above

Possible fixes

  1. This issue is fixed in the latest reflections version, but this version is not yet released. Switch to it when a new release is made.
  2. Switch to a different library, e.g.: https://github.com/lukehutch/fast-classpath-scanner/
@Konijnendijk Konijnendijk added the bug Something isn't working label May 3, 2018
@xavier-pardonnet xavier-pardonnet changed the title Concurrency issue when loading plugins for two environments at the same time Concurrency issue when loading plugins May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Dwight
Projects
None yet
Development

No branches or pull requests

2 participants