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
When enabling spring-modulith-observability, Kotlin bean properties are unexpectedly initialized as null. For example, after enabling this module, properties such as hisHttpClient and medicalInstitutionCode are null. Disabling the module resolves the problem.
Expected behavior:
Kotlin bean properties should be correctly initialized when observability is enabled.
Actual behavior:
When spring-modulith-observability is enabled, the properties in the Kotlin bean are null as seen in the following screenshots.
Screenshots:
Bean initialization with null values:
CGLIB proxy details showing null for constructor-injected properties: