[ABSTRA] Abstraction of RDF data dos not work in the Studio but does work in Abstra
Hello @mmohanty @x-TGaliz @x-SEbel
@x-TGaliz valiantly attacked the GitLab Package Registry deployement task and succeeded very well!
Everything works except abstractions of RDF data.
This issue is meant for reporting our own logs/errors/configs regarding this problem.
So far (and after hard-deleting both my ~/.m2
and abstraction-work/.m2
), this is why I tested:
-
Abstractions of RDF data works in my Intellij: log-intellij-nelly.txt
-
It also works in the command line: log-command-line-nelly.txt
-
But it leads to an
ExceptionIninitializerError
when ran in the Studio: log-studio-nelly.txt- Interesting part is below and the last line is the error that RDFQuotient raised and Abstra printed it.
********************************************************************************
25 September 2023 at 18:25:13 CEST
Executing the load operation using rdfq_cl_test19 database with saturation disabled
********************************************************************************
18:25:13,346 INFO Interface:359 - Loading graph to database
18:25:13,479 INFO CollectionGraphBuilding:345 - java.lang.ExceptionInInitializerError
The ExceptionIninitializerError error
: https://www.baeldung.com/java-exceptionininitializererror
The ExceptionInInitializerError indicates that an unexpected exception has occurred in a static initializer. Basically, when we see this exception, we should know that Java failed to evaluate a static initializer block or to instantiate a static variable.
How is RDFQuotient called in Abstra?
Interface.load(defaultLoadingPropsFilename, loadingProperties, true);
Interface.summarize(defaultSummarizationPropsFilename, summarizationProperties, true);
There is also an error after this, concerning the default configuration file not found in RDFQuotient. However, RDFQuotient already ran successfully (outside the studio) without this configuration file. So I will fix this because it is better but I don't think that is the issue here.
Other ideas that we had with @manolesc and @mmohanty:
- Java versions? Some practises may be deprecated in some Java versions, leading to errors?
- A bad interference between Servlets/Web interface and Java calls? Because this is the studio (GUI) which calls Abstra, maybe it is not the same as when we launch it on our laptop with java (e.g.
java -jar abstra.jar -i mydata.nt
) - ...
We will look into it next week with @x-TGaliz and @mmohanty