Cannot validate component-definition schema
wandmagic opened this issue · 2 comments
Describe the bug
When I run:
$oscal-cli component-definition validate ./src/examples/component-definition/xml/example-component-definition.xml
I receive:
an uncaught runtime error occurred. Cannot invoke "java.net.URL.openStream()" because "url" is null
Who is the bug affecting?
Oscal cli users
What is affected by this bug?
Cannot validate component definitions
When does this occur?
when using
oscal-cli component-definition validate $filename
How do we replicate the issue?
Run command above
Expected behavior (i.e. solution)
Display validation response.
Other Comments
This is likely due to changes of the names of oscal metaschema repository upsteam.
Hi @wandmagic can you try a development build and confirm? I believe this was fixed in the code for the related issue for this comment but a formal release has not been made yet.
Snapshots from develop can be found in the OSS Maven repo here, you are looking for the most recent in the 1.0.3-SNAPSHOT directory.
On that note will look into releasing alongside when other issues are cleaned up!
@wandmagic were you able to test the development snapshot version and confirm the bug is resolved for you?