Skip to content

validate does not handle Special Constants for UnsignedMSB4 #1294

@msbentley

Description

@msbentley

Checked for duplicates

Yes, this looks similar to #674 (already solved)

🐛 Describe the bug

When validating a product with a 3D array of UnsignedMSB4 and Special_Constants declared I see the error:

FATAL_ERROR  [error.array.bad_file_read]   array THEMIS image or index 1: Error occurred while reading data file: class com.google.common.primitives.UnsignedInteger cannot be cast to class java.math.BigInteger (com.google.common.primitives.UnsignedInteger is in unnamed module of loader 'app'; java.math.BigInteger is in module java.base of loader 'bootstrap')

This looks very similar to the issue raised in #674.

🕵️ Expected behavior

I expected validate to process these data, checking for special constants as needed.

📜 To Reproduce

Validate this example: special_constants_array_test.zip

🖥 Environment Info

  • Version of this software: 3.7.1
  • Operating System: MacOS

📚 Version of Software Used

  • openjdk 17.0.4

🩺 Test Data / Additional context

No response

🦄 Related requirements

🦄 #xyz

⚙️ Engineering Details

No response

🎉 Integration & Test

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

Status

🏁 Done

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions