sticky-airline-40485
11/25/2021, 11:21 AMSystem.InvalidOperationException: This operation cannot be performed on a default instance of ImmutableArray<T>
errors. They pop up at random places and the only thing I can do is comment code, do pulumi up
, and then uncomment the code and hopefully it will go away. Anyone coming across thiscreamy-knife-93354
11/25/2021, 4:50 PM--verbose 9
but the output just stays the same.
error: Running program '/Users/hognevevle/Projects/xxx/bin/Debug/netcoreapp3.1/Foo.dll' failed with an unhandled exception:
System.InvalidOperationException: This operation cannot be performed on a default instance of ImmutableArray<T>. Consider initializing the array, or checking the ImmutableArray<T>.IsDefault property.
at void System.Collections.Immutable.ImmutableArray<T>.ThrowInvalidOperationIfNotInitialized()
at int System.Collections.Immutable.ImmutableArray<T>.System.Collections.ICollection.get_Count()
at async Task<ImmutableArray<object>> Pulumi.Serialization.Serializer.SerializeListAsync(string ctx, IList list, bool keepResources, bool keepOutputValues)
at async Task<object> Pulumi.Serialization.Serializer.SerializeAsync(string ctx, object prop, bool keepResources, bool keepOutputValues) x 2
at async Task<RawSerializationResult> Pulumi.Deployment.SerializeFilteredPropertiesRawAsync(string label, IDictionary<string, object> args, Predicate<string> acceptKey, bool keepResources, bool keepOutputValues)
at async Task<SerializationResult> Pulumi.Deployment.SerializeFilteredPropertiesAsync(string label, IDictionary<string, object> args, Predicate<string> acceptKey, bool keepResources, bool keepOutputValues)
at async Task<Struct> Pulumi.Deployment.SerializeAllPropertiesAsync(string label, IDictionary<string, object> args, bool keepResources, bool keepOutputValues)
at async Task Pulumi.Deployment.RegisterResourceOutputsAsync(Resource resource, Output<IDictionary<string, object>> outputs)
worried-city-86458
11/25/2021, 6:42 PM