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
The method ApplicationManifestUtilsV3#write uses a static snakeyaml Yaml dumper to write all manifests into a byte array. This operation is inheritly not threadsafe, as the deserializer is not.
This in itself may not a be problem. However, when using Applications#pushManifestv3 to push multiple Apps in parallel this can cause issues that manifest in the form of
Bad request: Manifest does not support Anchors and Aliases or
java.lang.NullPointerException: Nodes must be provided.
The method
ApplicationManifestUtilsV3#write
uses a static snakeyamlYaml
dumper to write all manifests into a byte array. This operation is inheritly not threadsafe, as the deserializer is not.This in itself may not a be problem. However, when using
Applications#pushManifestv3
to push multiple Apps in parallel this can cause issues that manifest in the form ofBad request: Manifest does not support Anchors and Aliases
orjava.lang.NullPointerException: Nodes must be provided.
Snakeyaml recommends to create a singe instance per thread.
The text was updated successfully, but these errors were encountered: