Skip to content

Commit

Permalink
Fix NPE on ConfigValue#getSourceName
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez committed Oct 15, 2024
1 parent d06184c commit ef49586
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void reportUnknown(final List<String> ignoredPaths) {
if (!ignoredProperties.hasRootValue(name)) {
ConfigValue configValue = config.getConfigValue(name);
// TODO - https://github.com/quarkusio/quarkus/issues/38479
if (configValue.getSourceName().startsWith(EnvConfigSource.NAME)) {
if (configValue.getSourceName() != null && configValue.getSourceName().startsWith(EnvConfigSource.NAME)) {
continue;
}
problems.add(new Problem(
Expand Down

0 comments on commit ef49586

Please sign in to comment.