The thing is that the method getTypesAnnotatedWith should return empty collection but instead it breaks existing contract and returns a wrong exception.
I think, it would be good to downgrade reflections to 0.9.11 till the bug isn't fixed. After that, it would be better to avoid 0.9.12 version and upgrade directly to the version where it is fixed (i.e. 0.9.13 or later).
In
reflections
version0.9.12
there is a bug which may indirectly be a problem when Ferma is used with JanusGraph. Here in JanusGraph we retrievePreInitializeConfigOptions
even if there is no scanUrls. https://github.com/JanusGraph/janusgraph/blob/677a57aa985a7ea47af70d0eaba30171d765c79d/janusgraph-core/src/main/java/org/janusgraph/core/util/ReflectiveConfigOptionLoader.java#L248This works fine till reflections version
0.9.12
which introduces the next bug: https://github.com/ronmamo/reflections/issues/273The thing is that the method
getTypesAnnotatedWith
should return empty collection but instead it breaks existing contract and returns a wrong exception.I think, it would be good to downgrade
reflections
to0.9.11
till the bug isn't fixed. After that, it would be better to avoid0.9.12
version and upgrade directly to the version where it is fixed (i.e.0.9.13
or later).