-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java Error when Running jar-with-dependencies #164
Comments
Thanks, I will have a look. It may be due to a wrong path in the config.yaml. The OpenAPI creation should at least work if the ontology provided is valid. |
The code couldn't contain the default prefix
|
Thanks @mosoriob, |
Thanks @dgarijo Will update and confirm. |
adding the additional "root" prefix worked...; however the output that was created in the yaml doesn't really provide what I was expecting.. |
The output is indeed incorrect. |
I am trying to generate a OAS Schema based on a rdf/xml definition. I am getting the following error when running the command line.
target % java -jar oba-3.6.0-jar-with-dependencies.jar -c config.yaml SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. outputs/rqm-test/ontology0.owl <http://jazz.net/ns/qm/rqm#Category> <http://jazz.net/ns/qm/rqm#CategoryType> <http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/Priority> <http://jazz.net/xmlns/prod/jazz/rqm/process/1.0/WorkflowState> <http://open-services.net/ns/core#Property> <http://open-services.net/ns/core#ResourceShape> [2022-07-05 10:37:34] [SEVERE ] Error while creating the API specification: null java.lang.NullPointerException at edu.isi.oba.Mapper.add_owlclass_to_openapi(Mapper.java:156) at edu.isi.oba.Mapper.createSchemas(Mapper.java:126) at edu.isi.oba.Oba.main(Oba.java:71)
I am attaching both the config.yaml and the qm.xml files in the attached ZIP file - files.zip
The text was updated successfully, but these errors were encountered: