SBOM Upload along with Child Project failing UUID too long for Parent Project #4422
Kalyan-Alamuru
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have requirement to create Multiple Child Projects in Parent Project which are passed as Map of List. It is bit weird to understand what's happening as when I create a New Parent and Child along with it, The Set Creates without any issues. But when I try to second child under Existting Parent with a Child it fails with following Error :
Uncaught internal server error [requestId=e56c80b1-374c-4ae0-a3ea-161faabde9a1]
java.lang.IllegalArgumentException: UUID string too large
at java.base/java.util.UUID.fromString1(Unknown Source)
at java.base/java.util.UUID.fromString(Unknown Source)
I checked both my Parent UUID and Child UUID that is going to be created and I can't see an issue with it as they both agree to format of
// Validate the parent UUID format
if (!parentUuid.matches("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}")) {
println "Invalid UUID format for parent: ${parentUuid}"
failedToCreateParentProjectList.add(parentChildMap)
projectsNotCreated.add(parentChildMap)
return
}
My Parent UUD is : 38b62b24-f823-4fa7-9a1e-e51a1569f6a1
I'm running Dependency Track as local deployment in docker container in Ubuntu 20.04 LTS and My D Track version is : v4.12.1
Beta Was this translation helpful? Give feedback.
All reactions