opencaesar / owl-adapter

The OML adapter for OWL
Apache License 2.0
0 stars 2 forks source link

How to slove the problem that inputResource.getContents() is null? #39

Closed username123wy closed 3 years ago

username123wy commented 3 years ago

Description

my environment: JDK version:11.0.8 Gradle version: 6.5.1 The program throws an NullPointerException because the inputResource.getContents() is null. However, the inputResource is not null.

Exception in thread "main" java.lang.NullPointerException at io.opencaesar.oml2owl.Oml2OwlApp.run(Oml2OwlApp.java:164) at io.opencaesar.oml2owl.Oml2OwlApp.main(Oml2OwlApp.java:111)

Additional Context

The input oml folder :E:/input/vocabulary-1.oml . I don't think it's the OML file.

Relevant screenshots

image

melaasar commented 3 years ago

Can you please rerun this with the latest revision and let me know if you still get the NPE? If so, please copy here the whole stacktrace. Thanks.

melaasar commented 3 years ago

Closing for lack of input. If you still need to follow up on this, please reopen.