You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serialising out a Profile with boolean values set, I get an IllegalArgumentException:
Exception in thread "main" java.lang.IllegalArgumentException: Class 'java.lang.Boolean' does not represent a Metaschema definition since it is missing a 'gov.nist.secauto.metaschema.binding.model.annotations.MetaschemaAssembly' or 'gov.nist.secauto.metaschema.binding.model.annotations.MetaschemaField' annotation.
Who is the bug affecting?
What is affected by this bug?
Breaks profile creation with Merge::setAsIs() and Import::setIncludeAll() calls.
When does this occur?
On serialisation.
How do we replicate the issue?
Serialise out a Merge.
Expected behavior (i.e. solution)
Should serialise out cleanly.
Other Comments
{Add any other context about the problem here.}
The text was updated successfully, but these errors were encountered:
java.lang.IllegalArgumentException: Class 'java.lang.Boolean' does not represent a Metaschema definition since it is missing a 'gov.nist.secauto.metaschema.binding.model.annotations.MetaschemaAssembly' or 'gov.nist.secauto.metaschema.binding.model.annotations.MetaschemaField' annotation.
at gov.nist.secauto.oscal.java.BooleanSerialiseTest.testSerialiseMerge(BooleanSerialiseTest.java:65)
Describe the bug
When serialising out a Profile with boolean values set, I get an IllegalArgumentException:
Who is the bug affecting?
What is affected by this bug?
Breaks profile creation with
Merge::setAsIs()
andImport::setIncludeAll()
calls.When does this occur?
On serialisation.
How do we replicate the issue?
Expected behavior (i.e. solution)
Should serialise out cleanly.
Other Comments
{Add any other context about the problem here.}
The text was updated successfully, but these errors were encountered: