Skip to content

[BUG] Configuration bindings prints value but at runtime throws NullPointerException Version: 7.1.3 #409

@thiagohora

Description

@thiagohora

NullPointerException when @Inject a particular configuration property

ru.vyarus.dropwizard.guice.debug.YamlBindingsDiagnostic: Available configuration bindings = 
...

Unique sub configuration objects bindings:

  MyConfig.batchOperations
            @Config BatchOperationsConfig = BatchOperationsConfig(datasets=DatasetsConfig[test=2])
    @Inject
    public MyService(@Config @NonNull BatchOperationsConfig batchOperationsConfig) {
       ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions