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
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `java.lang.String[]`: no String-argument constructor/factory method to deserialize from String value ('[
undefined,
"two"
]')
at [Source: (String)""[\n undefined,\n \"two\"\n]""; line: 1, column: 1]
at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from([InvalidDefinitionException.java:67](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.DeserializationContext.reportBadDefinition([DeserializationContext.java:1904](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition([DatabindContext.java:400](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator([DeserializationContext.java:1344](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.deser.std.StdDeserializer._deserializeFromString([StdDeserializer.java:311](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.handleNonArray([StringArrayDeserializer.java:317](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.deserialize([StringArrayDeserializer.java:141](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.deser.std.StringArrayDeserializer.deserialize([StringArrayDeserializer.java:25](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue([DefaultDeserializationContext.java:323](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose([ObjectMapper.java:4674](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.ObjectMapper.readValue([ObjectMapper.java:3629](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at com.fasterxml.jackson.databind.ObjectMapper.readValue([ObjectMapper.java:3597](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at org.mgb.pm.gdh.extract.vcf.TestNullArray.testArray([TestNullArray.java:35](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at java.base/java.util.ArrayList.forEach([ArrayList.java:1541](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
at java.base/java.util.ArrayList.forEach([ArrayList.java:1541](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html))
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Variant.asJsonString() produces invalid JSON when array contains null values
SNOW-1348543: Variant.asJsonString() produces invalid JSON when array contains null values
Apr 26, 2024
The
Variant.asJsonString()
outputsundefined
for null values instead ofnull
.The following test:
Produces the following error:
The text was updated successfully, but these errors were encountered: