-
Notifications
You must be signed in to change notification settings - Fork 94
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
[BUG] Calling Notifications from other plugins results in ClassLoader error #37
Comments
https://discuss.elastic.co/t/how-to-share-classloader-bewteen-different-plugins/181076/ looks to be the same issue |
It looks like there's a cookbook for solving this exact issue in https://discuss.elastic.co/t/how-to-share-classloader-bewteen-different-plugins/181076/6 - have you tried it? |
As the forum post above explains, this may be caused by "optimization to avoid serialization" for local request between plugins. Possible solutions include:
Will reproduce the issue and do a PoC for Option 4 first which seems not hacky and little impact on current architecture. |
Describe the bug
common-utils/src/main/kotlin/org/opensearch/commons/notifications/NotificationsPluginInterface.kt
Line 199 in 4d8fb67
Tested in reporting plugin. When reporting calls this function, the following error will show up.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: