Failed to convert valid RDF type SBOM into another format
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the tools-java command-line Verify and Convert invocations described in the issue, using the attached nginx_1.27-spdx-1.rdf input. Trace the conversion failure involving isDeprecatedLicenseId and ListedLicenseException, then confirm that converting this valid RDF SBOM to JSON completes successfully without the reported error.
Written by the indexing model from the issue text.
Description
Description
There is a failure in converting the valid RFD type SBOM into another format.
During verification, it produces some license-related warnings but confirms that the SBOM is valid. However, it results in an error during conversion:
Error converting: Error converting SPDX file: class java.lang.RuntimeException org.spdx.spdxRdfStore.SpdxRdfException: http://spdx.org/rdf/terms#isDeprecatedLicenseId was not found related to class http://spdx.org/rdf/terms#ListedLicenseException
Steps to reproduce
- Download the SBOM zip and extract it -
nginx_1.27-spdx-1.zip - Verify the SBOM
java -jar ./tools-java/target/tools-java-2.0.1-jar-with-dependencies.jar Verify /Downloads/nginx_1.27-spdx-1.rdf - Convert sbom into JSON format
java -jar ./tools-java/target/tools-java-2.0.1-jar-with-dependencies.jar Convert /Downloads/nginx_1.27-spdx-1.rdf test.json
- Dominant language
- Java
- Stars
- 101
- Forks
- 46
- Avg merge
- 9h 43m
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spdx/tools-java
-
bug spdx-2.3 validation
Difficulty 4/5 3-5 days Newbie friendliness 55/100
spdx/tools-java#316 · 1 comment · 1 reaction ·
-
Release 2.0.8 Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
spdx/tools-java#313 · 1 reaction ·
-
spdx-2.x spdx-3.x
Difficulty 3/5 1-2 days Newbie friendliness 58/100
spdx/tools-java#290 · 2 comments ·
-
validation
Difficulty 3/5 1-2 days Newbie friendliness 48/100
spdx/tools-java#287 · 1 comment · 1 reaction ·
-
question test
Difficulty 3/5 1-2 days Newbie friendliness 48/100
spdx/tools-java#283 · 14 comments · 1 reaction ·
Similar issues
-
bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
opensearch-project/ml-commons#5094 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
emitter:client:csharp feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Openbug frontend maui-pilot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100