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

set PluginClassLoader for plugin config #1464

Closed
lilai23 opened this issue Mar 14, 2024 · 0 comments · Fixed by #1465
Closed

set PluginClassLoader for plugin config #1464

lilai23 opened this issue Mar 14, 2024 · 0 comments · Fixed by #1465
Assignees
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Milestone

Comments

@lilai23
Copy link
Collaborator

lilai23 commented Mar 14, 2024

What happened?

When using snakeyaml to transform dynamic config content to an object of config class,snakeyaml tries to search the BeanInfo of this class. It will cause stack overflow for PluginClassloader and ServiceClassloader depend on each other to find BeanInfo class. In fact,BeanInfo is not necessary.

How can we reproduce it (as minimally and precisely as possible)?

You can reproduce it when resolving dynamic config content via snakeyaml in case of the dynamic config class is defined and used only in service module

Anything else we need to know?

No response

Sermant version

1.3.1
@lilai23 lilai23 added the kind/bug Something isn't working label Mar 14, 2024
@lilai23 lilai23 added this to the v1.4.0 milestone Mar 14, 2024
@hanbingleixue hanbingleixue added the area/framework Issues or PRs releated to sermant core service label Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Issues or PRs releated to sermant core service kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants