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
rafactor 7a8fbbe introduced an 'application.yaml' config file in springboot module.
Importing this dependency in a project having an application.yaml will mask the dependency one, so the configs in CamundaAutodeploymentProperties will be null.
This produces a NullPointer in CamundaProcessAutodeployment.deployCamundaResources(), due to auto unboxing of if (!properties.getEnabled()).
Hence, the behavior is different, depending on the project which import the dependency.
Defaults should be set in ConfigurationProperties file.
The text was updated successfully, but these errors were encountered:
ikucuze
changed the title
aaplication.yaml discouraged + NPE if no configuration
application.yaml discouraged + NPE if no configuration
Jul 24, 2024
rafactor 7a8fbbe introduced an 'application.yaml' config file in springboot module.
Importing this dependency in a project having an application.yaml will mask the dependency one, so the configs in CamundaAutodeploymentProperties will be null.
This produces a NullPointer in CamundaProcessAutodeployment.deployCamundaResources(), due to auto unboxing of
if (!properties.getEnabled())
.Hence, the behavior is different, depending on the project which import the dependency.
Defaults should be set in ConfigurationProperties file.
The text was updated successfully, but these errors were encountered: