Skip to content

Java Error when Running jar-with-dependencies #164

@michaelrowe01

Description

@michaelrowe01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions