Hi Mark,
[FORG0006] Invalid arguments for com.avatar_reality.ai.OntologyManager.save(...) method. [...] May kindly I suggest embedding the original cause in the error message? That would save a ton of time figuring out what exactly is the matter.
A good point. I've revised the Java bindings to give better feedback for invocation target exceptions. As an example, the following query...
declare namespace fis = "java:java.io.FileInputStream"; fis:new("non-existing-file")
…now returns:
[FORG0006] Java call failed: non-existing-file (File cannot be found).
The updated code can be found in the repository and will be part of the next minor release (to be expected in Feb).
Christian