https://pulumi.com logo
#dotnet
Title
# dotnet
w

worried-city-86458

07/01/2021, 8:56 PM
I've been hitting a few issues lately that look like race conditions as they come and go...
Copy code
Diagnostics:
  pulumi:pulumi:Stack (aws-eks-alpha):
    error: Running program 'D:\Devel\Mps\devops-gemini-pulumi\Gemini\bin\Debug\gemini.dll' failed with an unhandled exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Task<HashSet<string>> Pulumi.Deployment.GetAllTransitivelyReferencedCustomResourceUrnsAsync(HashSet<Resource> resources)+(CustomResource r) => { } in /_/sdk/dotnet/Pulumi/Deployment/Deployment_Prepare.cs:line 152
       at bool System.Linq.Enumerable+SelectEnumerableIterator<TSource, TResult>.MoveNext()
       at Task<TResult[]> System.Threading.Tasks.Task.WhenAll<TResult>(IEnumerable<Task<TResult>> tasks)
       at async Task<HashSet<string>> Pulumi.Deployment.GetAllTransitivelyReferencedCustomResourceUrnsAsync(HashSet<Resource> resources) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_Prepare.cs:line 153
       at async Task<PrepareResult> Pulumi.Deployment.PrepareResourceAsync(string label, Resource res, bool custom, bool remote, ResourceArgs args, ResourceOptions options) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_Prepare.cs:line 80
       at async Task<(string urn, string id, Struct data, ImmutableDictionary<string, ImmutableHashSet<Resource>> dependencies)> Pulumi.Deployment.RegisterResourceAsync(Resource resource, bool remote, Func<string, Resource> newDependency, ResourceArgs args, ResourceOptions options) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_RegisterResource.cs:line 27
       at async Task<(string urn, string id, Struct data, ImmutableDictionary<string, ImmutableHashSet<Resource>> dependencies)> Pulumi.Deployment.ReadOrRegisterResourceAsync(Resource resource, bool remote, Func<string, Resource> newDependency, ResourceArgs args, ResourceOptions options) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_ReadOrRegisterResource.cs:line 73
       at async Task Pulumi.Deployment.CompleteResourceAsync(Resource resource, bool remote, Func<string, Resource> newDependency, ResourceArgs args, ResourceOptions options, ImmutableDictionary<string, IOutputCompletionSource> completionSources) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_ReadOrRegisterResource.cs:line 89
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass10_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) x 2 in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 137
       at async Task<int> Pulumi.Deployment+Runner.WhileRunningAsync() in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 177
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass10_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) x 2 in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 137
       at void System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
Copy code
Diagnostics:
  pulumi:pulumi:Stack (k8s-alpha):
    error: Running program 'D:\Devel\Mps\devops-gemini-pulumi\Gemini\bin\Debug\gemini.dll' failed with an unhandled exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Output<T> Pulumi.Input<T>.op_Implicit(Input<T> input) in /_/sdk/dotnet/Pulumi/Core/Input.cs:line 43
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8)+GetData(?) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 328
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 318
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 254
       at async Task<bool> Pulumi.Utilities.OutputUtilities.GetIsKnownAsync<T>(Output<T> output) in /_/sdk/dotnet/Pulumi/Core/OutputUtilities.cs:line 53
       at async Task<ImmutableHashSet<Resource>> Pulumi.Output<T>.Pulumi.IOutput.GetResourcesAsync() in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 159
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8)+GetData(?) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 329
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) x 2 in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 314
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func) x 2 in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 254
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<object>> Pulumi.Output<T>.Pulumi.IOutput.GetDataAsync() in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 164
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<object> Pulumi.Serialization.Serializer.SerializeAsync(string ctx, object prop, bool keepResources) in /_/sdk/dotnet/Pulumi/Serialization/Serializer.cs:line 138
       at async Task<SerializationResult> Pulumi.Deployment.SerializeFilteredPropertiesAsync(string label, IDictionary<string, object> args, Predicate<string> acceptKey, bool keepResources) in /_/sdk/dotnet/Pulumi/Deployment/Deployment_Serialization.cs:line 53
Copy code
Diagnostics:
  pulumi:pulumi:Stack (k8s-alpha):
    error: Running program 'D:\Devel\Mps\devops-gemini-pulumi\Gemini\bin\Debug\gemini.dll' failed with an unhandled exception:
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Output<T> Pulumi.Input<T>.op_Implicit(Input<T> input) in /_/sdk/dotnet/Pulumi/Core/Input.cs:line 43
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8)+GetData(?) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 328
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 318
       at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 254
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) x 2 in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<bool> Pulumi.Utilities.OutputUtilities.GetIsKnownAsync<T>(Output<T> output) in /_/sdk/dotnet/Pulumi/Core/OutputUtilities.cs:line 53
       at async Task<OutputData<ValueTuple<T1, T2, T3, T4, T5, T6, T7, ValueTuple<T8>>>> Pulumi.Output<T>.TupleHelperAsync<T1, T2, T3, T4, T5, T6, T7, T8>(Input<T1> item1, Input<T2> item2, Input<T3> item3, Input<T4> item4, Input<T5> item5, Input<T6> item6, Input<T7> item7, Input<T8> item8) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 314
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) x 2 in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 254
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<U>> Pulumi.Output<T>.ApplyHelperAsync<U>(Task<OutputData<T>> dataTask, Func<T, Output<U>> func) in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 254
       at async void Pulumi.Deployment+Runner+<>c__DisplayClass13_0.<WhileRunningAsync>g__HandleCompletion|0(?)+HandleCompletion(?) in /_/sdk/dotnet/Pulumi/Deployment/Deployment.Runner.cs:line 141
       at async Task<OutputData<object>> Pulumi.Output<T>.Pulumi.IOutput.GetDataAsync() in /_/sdk/dotnet/Pulumi/Core/Output.cs:line 164
       at void System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
I haven't had time to dig into them yet but if anyone has any ideas let me know
I'll update everything to latest and see if they persist
t

tall-librarian-49374

07/02/2021, 7:53 AM
That sounds bad… Could you please open an issue?
w

worried-city-86458

07/02/2021, 8:42 PM
e

enough-garden-22763

07/08/2021, 1:41 PM
It’s in my queue as P1 🙂 I will have some more questions when I get started in a few days. Thanks for reporting!
👍 1
2 Views