You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i add myList property in config.properties and AgentConfig, and default it is empty string.
agent.config.myList=
when io.sermant.core.config.utils.ConfigValueUtil#parseConfigToCollection, parse empty string, then log warn.
it cause new LogEventCollector instance created, but Config is not ready, so it cause NPE, and agent mount fail.
How can we reproduce it (as minimally and precisely as possible)?
you can try set agent.config.serviceInjectList as empty string.
Anything else we need to know?
No response
Sermant version
2.0.0
OS version
MacOS14.1
The text was updated successfully, but these errors were encountered:
@AYue-94 The cause of this problem is that when the configuration type of a configuration item is collection and the configuration content is empty, an warning log is recorded. The LogEventCollector collects and reports warning logs. However, the event configuration is not initialized, so a NullPointerException is thrown on event collection. We will fix it in the next release.
What happened?
i add myList property in config.properties and AgentConfig, and default it is empty string.
agent.config.myList=
when io.sermant.core.config.utils.ConfigValueUtil#parseConfigToCollection, parse empty string, then log warn.
it cause new LogEventCollector instance created, but Config is not ready, so it cause NPE, and agent mount fail.
How can we reproduce it (as minimally and precisely as possible)?
you can try set agent.config.serviceInjectList as empty string.
Anything else we need to know?
No response
Sermant version
2.0.0
OS version
MacOS14.1
The text was updated successfully, but these errors were encountered: