Skip to content

NumberFormatException when parsing SPDXID larger than MaxInt #103

@raleigh04

Description

@raleigh04

When faced with with an SPDXID larger than java's max int, tools-java throws a NumberFormatException:

Example:

"SPDXID": "SPDXRef-6996049013223528",

Throws:

Error converting: Error converting SPDX file: class java.lang.NumberFormatException For input string: "6996049013223528"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions