You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when omitted, a NullPointerException occurs:
Exception in thread "main" java.lang.NullPointerException
at org.acoli.fintan.rdf.RDFUpdaterFactory.buildFromJsonConf(RDFUpdaterFactory.java:114)
at org.acoli.fintan.rdf.RDFUpdaterFactory.buildFromJsonConf(RDFUpdaterFactory.java:34)
at org.acoli.fintan.core.FintanManager.buildComponent(FintanManager.java:423)
at org.acoli.fintan.core.FintanManager.buildDefaultPipeline(FintanManager.java:243)
at org.acoli.fintan.core.FintanManager.buildComponentStack(FintanManager.java:157)
at org.acoli.fintan.core.FintanManager.main(FintanManager.java:110)
at org.acoli.fintan.FintanCLIManager.main(FintanCLIManager.java:27)
Hi,
this is indeed a small bug, probably due to a minimal change in the jackson API. Currently the UpdaterFactory checks whether the textual representation of "graph" in the config file equals an empty string. However this seems to return null instead of an empty string when "graph" is not included in the file.
As a workaround, you could adjust your config file as follows:
The documentation for the
RDFUpdater
states that thegraph
parameter is optional:https://github.com/acoli-repo/fintan-doc/blob/46e795e1fc078d5904519711de06e93cc9afb464/3a-core-components.md?plain=1#L118C148-L118C148
However when omitted, a NullPointerException occurs:
Used Configuration
The text was updated successfully, but these errors were encountered: