ort icon indicating copy to clipboard operation
ort copied to clipboard

Reporter: ERROR org.ossreviewtoolkit.plugins.commands.reporter.ReporterCommand - Could not create 'SpdxDocument'

Open dimitris-iliou opened this issue 1 year ago • 1 comments

15:25:53.400 [main] ERROR org.ossreviewtoolkit.plugins.commands.reporter.ReporterCommand - Could not create 'SpdxDocument' report in 2.568317933s: IllegalArgumentException: The entries in licenseInfoInFiles must each be either an SpdxExpression, 'NONE' or 'NOASSERTION', but found GPL-2.0-or-later WITH NOASSERTION.

Creation of Notice files have started to fail with weird error. https://github.com/oss-review-toolkit/ort/blame/main/utils/spdx/src/main/kotlin/model/SpdxFile.kt#L193 is the related line

dimitris-iliou avatar Nov 16 '23 15:11 dimitris-iliou

NOASSERTION is not a valid operand for WITH, as WITH only accepts names of exceptions. You are required to curate this license finding in order to proceed.

sschuberth avatar Nov 16 '23 16:11 sschuberth

Closing this in favor of https://github.com/oss-review-toolkit/ort/issues/8052.

sschuberth avatar Jun 24 '24 09:06 sschuberth