-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HOCON substitution not working #1
Comments
Thanks for the report. Would you mind writing up a quick unit test that fails for what you expect to happen? |
Hi Jason, I wrote a small TestApplication including a JUnit Test, available at https://github.com/mschaefers/hocon-bug Steps to reproduce: check out repository :) one test without substitution will pass, the other one with substitution will lead to a NullPointerException that currently hides the ConfigException I opened this Issue for. For The NullPointerException I will send you a pull request shortly. |
I'm seeing something similar with an environment variable substitution: { hides the following ConfigException: |
ok for the substitution you just need a more recent version of your hocon-jackson-dataformat library (1.1.0 appears to work properly) |
I am currently using the dropwizardry-config-hocon bundle to parse a HOCON configuration.
While parsing
works like a charm, substituting values does not. This example
leads to a
ConfigException
sayingAm I missing something here or is value substitution not supported?
The text was updated successfully, but these errors were encountered: