archaius
archaius copied to clipboard
DynamicPropertyUpdater: ClassCastException bug on line 134
Hey, there is a bug in DynamicPropertyUdpater:134
: https://github.com/Netflix/archaius/blob/master/archaius-core/src/main/java/com/netflix/config/DynamicPropertyUpdater.java#L134
When newValue
is not a String, but for instance Integer
it throws ClassCastException
@dmydlarz do you have a special use case for a non-string valued property? From the code itself, it definitely will throw exception as you said. But Archaius itself has an assumption that the root property value is always string (follow Java properties convention).
I had the same issue. It was caused by "blah: false" property in bootstrap.yml config file.
V1 is deprecated and won't be maintained anymore.