Error when deploying packages to azure


(nitin) #1

System.NullReferenceException: Object reference not set to an instance of an object.
at Calamari.Azure.Integration.Websites.Publishing.ResourceManagerPublishProfileProvider.<>c__DisplayClass0_0.<GetPublishProperties>b__2(Site x)
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source, Func2 predicate)
at Calamari.Azure.Integration.Websites.Publishing.ResourceManagerPublishProfileProvider.GetPublishProperties(String subscriptionId, String resourceGroupName, String siteName, String tenantId, String applicationId, String password, String resourceManagementEndpoint, String activeDirectoryEndPoint)
Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.GetPublishProfile(VariableDictionary variables)
at Calamari.Azure.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment)
at Calamari.Deployment.ConventionProcessor.RunInstallConventions()
at Calamari.Deployment.ConventionProcessor.RunConventions()

Running rollback conventions…


(nitin) #2

Im trying to deploy a nuget package to an azure webapp,but this fails sometimes and succeeds sometimes.

sometimes the error is
System.AggregateException: One or more errors occurred. —> Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference


(John Simons) #3

Hi,

We have received quite a few support cases with the same error, and it seems there was an outage in Azure that caused this issue, see https://azure.microsoft.com/en-us/status/history/
We actually got some customers reporting it via our slack channel as well, see https://octopususergroup.slack.com/archives/C6UGLUWMQ/p1539809978000100?thread_ts=1539793406.000100&cid=C6UGLUWMQ

So it seems Azure is all good now, are you able to retry these deployments ?

Regards