text:
Unable to Connect AWS: Object reference not set to an instance of an object

Unable to Connect AWS from Visual studio 2022

The Toolkit log might have some clues around why this happened. Are you able to share your Toolkit log from %localappdata%\AWSToolkit\logs\visualstudio\log.txt ?

awschristou here is the log
2022-06-22 16:34:25,437 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync started
2022-06-22 16:34:27,719 [1] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-06-22 16:34:27,723 [1] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\SPATI11\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-06-22 16:34:27,730 [8] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Initializing Telemetry Service
2022-06-22 16:34:27,876 [1] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-06-22 16:34:27,887 [1] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-06-22 16:34:27,893 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Creating SAWSToolkitShellProvider service
2022-06-22 16:34:27,894 [12] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\SPATI11\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-06-22 16:34:27,905 [12] INFO  Amazon.AWSToolkit.ResourceFetchers.HttpResourceFetcher - Loading resource: https://idetoolkits.amazonwebservices.com/endpoints.json
2022-06-22 16:34:27,930 [8] ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor(String accountId, String identityPoolId, String unAuthRoleArn, String authRoleArn, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\CognitoIdentity\Custom\CognitoAWSCredentials.cs:line 491
at Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager.Initialize()
2022-06-22 16:34:28,032 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Setting up Publish to AWS functionality
2022-06-22 16:34:28,048 [19] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Initializing PublishToAws Package
2022-06-22 16:34:28,049 [1] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Finished Initializing PublishToAws Package
2022-06-22 16:34:28,163 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Publish to AWS functionality initialized
2022-06-22 16:34:28,170 [1] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loading Toolkit Plugins
2022-06-22 16:34:28,173 [1] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Searching for plugins in 'c:\program files\microsoft visual studio\2022\professional\common7\ide\extensions\iupafiyp.1m1\Plugins'
2022-06-22 16:34:28,200 [9] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeArtifact from AWSToolkit.CodeArtifact, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,205 [21] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudWatch from AWSToolkit.CloudWatch, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,208 [10] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFront from AWSToolkit.CloudFront, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,208 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin DynamoDB from AWSToolkit.DynamoDB, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,209 [17] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeCommit from AWSToolkit.CodeCommit, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,215 [9] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin IdentityManagement from AWSToolkit.IdentityManagement, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,220 [20] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFormation from AWSToolkit.CloudFormation, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,233 [9] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SimpleDB from AWSToolkit.SimpleDB, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,237 [6] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin S3 from AWSToolkit.S3, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,237 [8] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SNS from AWSToolkit.SNS, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,238 [25] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Beanstalk from AWSToolkit.ElasticBeanstalk, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,238 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin RDS from AWSToolkit.RDS, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,241 [11] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SQS from AWSToolkit.SQS, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,242 [26] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin EC2 from AWSToolkit.EC2, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,243 [5] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin ECS from AWSToolkit.ECS, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,243 [21] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Lambda from AWSToolkit.Lambda, Version=1.32.0.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-06-22 16:34:28,244 [1] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Finished Loading Toolkit Plugins
2022-06-22 16:34:28,246 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - Registering Toolkit Plugins in the AWS Explorer...
2022-06-22 16:34:28,246 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFormation
2022-06-22 16:34:28,246 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFormation
2022-06-22 16:34:28,249 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFront
2022-06-22 16:34:28,249 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFront
2022-06-22 16:34:28,251 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudWatch
2022-06-22 16:34:28,251 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudWatch
2022-06-22 16:34:28,252 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeArtifact
2022-06-22 16:34:28,252 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeArtifact
2022-06-22 16:34:28,253 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeCommit
2022-06-22 16:34:28,253 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeCommit
2022-06-22 16:34:28,253 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing DynamoDB
2022-06-22 16:34:28,253 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering DynamoDB
2022-06-22 16:34:28,256 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing EC2
2022-06-22 16:34:28,256 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering EC2
2022-06-22 16:34:28,262 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing ECS
2022-06-22 16:34:28,262 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering ECS
2022-06-22 16:34:28,263 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Beanstalk
2022-06-22 16:34:28,263 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Beanstalk
2022-06-22 16:34:28,265 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing IdentityManagement
2022-06-22 16:34:28,265 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering IdentityManagement
2022-06-22 16:34:28,267 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Lambda
2022-06-22 16:34:28,267 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Lambda
2022-06-22 16:34:28,268 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing RDS
2022-06-22 16:34:28,268 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering RDS
2022-06-22 16:34:28,270 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing S3
2022-06-22 16:34:28,270 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering S3
2022-06-22 16:34:28,272 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SimpleDB
2022-06-22 16:34:28,272 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SimpleDB
2022-06-22 16:34:28,273 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SNS
2022-06-22 16:34:28,273 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SNS
2022-06-22 16:34:28,274 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SQS
2022-06-22 16:34:28,274 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SQS
2022-06-22 16:34:28,275 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - Finished Registering Toolkit Plugins in the AWS Explorer...
2022-06-22 16:34:28,288 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Initializing Lambda Tester event listener
2022-06-22 16:34:28,295 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory initialized
2022-06-22 16:34:28,295 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory SignalShellInitializationComplete
2022-06-22 16:34:28,295 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync complete
2022-06-22 16:34:28,637 [8] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-06-22 16:34:28,658 [12] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-06-22 16:34:28,670 [12] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-06-22 16:34:29,050 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Received __VSSPROPID4.VSSPROPID_ShellInitialized property change, new value True
2022-06-22 16:34:29,052 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Toolkit considers VS to be initialized now
2022-06-22 16:34:29,643 [1] DEBUG Amazon.AWSToolkit.Publish.Install.VerifyDeployCli -
Verifying AWS.Deploy.Tools.0.47.26
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
Valid from: 16-02-2021 05:30:00 to 16-05-2024 05:29:59
2022-06-22 16:34:29,686 [1] DEBUG Amazon.AWSToolkit.Publish.Install.DeployCli - Finished initializing aws.deploy.tools
2022-06-22 16:34:42,271 [20] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-06-22 16:34:42,590 [26] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-06-22 16:34:43,301 [50] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-06-22 16:34:43,316 [50] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:default
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()

Same issue I'm having.. Were you able to solve it ??

It was working last week. Even some 2 days ago.
Then I tried uploading a docker image using the publish => Docker Container Registry => Other Docker Container Registry etc..
It failed, and that error started showing even if I delete my profile and enter everything again it fails

Hi @samsahih , I would be interested in understanding what your credentials profile looked like (what type of credentials, and how it was configured). Could you please share an example of your profile, without revealing any of the secrets from it (see https://github.com/aws/aws-toolkit-visual-studio/issues/265#issuecomment-1176489049 for an example)

Hey @awschristou  thanks for answering. Here's what you're asking for (I guess):
profile name: samer
aws_access_key_id=xx
aws_secret_access_key=xx
region=us-west-1 (It's US West (N.California) from the dropdown in visual studio)

The access key and secret access key were imported from a CSV file downloaded from AWS by the company I work for

Ok, that looks pretty standard. Have you got any other profiles listed in the AWS dropdown? I'm interested in knowing if you have an entry labelled "default".
Would you be able to share the log file from your %localappdata%\AWSToolkit\logs\visualstudio folder?

No just one profile that I keep deleting and creating again to see if the issue is fixed.. It was working just 2 days ago so weird

One thing you could try is deleting the .NET Credentials profile, and only having a Shared Credential profile. Next, you could try naming your profile default, and seeing if that will connect. Aside from that, if you are able to upload your log from %localappdata%\AWSToolkit\logs\visualstudio I could see if there is any other problem that could be causing the issue.

Nothing worked unfortunately.. Tried what you suggested. This is the logs your requested:
`2022-07-28 20:19:30,278 [23] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync started
2022-07-28 20:19:33,352 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Received __VSSPROPID2.VSSPROPID_MainWindowVisibility property change, new value True
2022-07-28 20:19:33,362 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Toolkit considers VS to be initialized now
2022-07-28 20:19:33,392 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Attempting to show Telemetry Banner
2022-07-28 20:19:52,276 [26] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 20:19:52,386 [26] INFO  Amazon.AWSToolkit.ResourceFetchers.AssemblyResourceFetcher - Resource loaded from Assembly: endpoints.json (Amazon.AWSToolkit.HostedFiles.endpoints.json)
2022-07-28 20:19:52,423 [7] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Initializing Telemetry Service
2022-07-28 20:19:52,955 [26] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 20:19:53,324 [26] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 20:19:53,345 [26] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Creating SAWSToolkitShellProvider service
2022-07-28 20:19:53,518 [7] ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor(String accountId, String identityPoolId, String unAuthRoleArn, String authRoleArn, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\CognitoIdentity\Custom\CognitoAWSCredentials.cs:line 491
at Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager.Initialize()
2022-07-28 20:19:53,556 [26] INFO  Amazon.AWSToolkit.ResourceFetchers.HttpResourceFetcher - Loading resource: https://idetoolkits.amazonwebservices.com/endpoints.json
2022-07-28 20:19:55,303 [26] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 20:19:55,366 [26] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 20:20:11,146 [5] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 20:20:11,146 [5] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 20:20:12,380 [29] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Setting up Publish to AWS functionality
2022-07-28 20:20:12,581 [14] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Initializing PublishToAws Package
2022-07-28 20:20:12,599 [1] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Finished Initializing PublishToAws Package
2022-07-28 20:20:13,226 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Publish to AWS functionality initialized
2022-07-28 20:20:14,030 [31] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loading Toolkit Plugins
2022-07-28 20:20:14,086 [31] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Searching for plugins in 'c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\rq3nd0vz.odw\Plugins'
2022-07-28 20:20:14,170 [31] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SQS from AWSToolkit.SQS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,227 [31] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SNS from AWSToolkit.SNS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,464 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFormation from AWSToolkit.CloudFormation, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,486 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin DynamoDB from AWSToolkit.DynamoDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,495 [8] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudWatch from AWSToolkit.CloudWatch, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,497 [31] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SimpleDB from AWSToolkit.SimpleDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,535 [5] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFront from AWSToolkit.CloudFront, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,542 [17] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeCommit from AWSToolkit.CodeCommit, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,624 [6] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeArtifact from AWSToolkit.CodeArtifact, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,957 [29] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Beanstalk from AWSToolkit.ElasticBeanstalk, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:14,977 [26] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin ECS from AWSToolkit.ECS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,027 [26] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin RDS from AWSToolkit.RDS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,440 [29] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Lambda from AWSToolkit.Lambda, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,468 [10] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin IdentityManagement from AWSToolkit.IdentityManagement, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,491 [31] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin S3 from AWSToolkit.S3, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,528 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin EC2 from AWSToolkit.EC2, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 20:20:15,534 [27] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Finished Loading Toolkit Plugins
2022-07-28 20:20:15,734 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 20:20:15,734 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFormation
2022-07-28 20:20:15,734 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFormation
2022-07-28 20:20:15,741 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFront
2022-07-28 20:20:15,741 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFront
2022-07-28 20:20:15,747 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudWatch
2022-07-28 20:20:15,748 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudWatch
2022-07-28 20:20:15,751 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeArtifact
2022-07-28 20:20:15,752 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeArtifact
2022-07-28 20:20:15,756 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeCommit
2022-07-28 20:20:15,756 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeCommit
2022-07-28 20:20:15,756 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing DynamoDB
2022-07-28 20:20:15,757 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering DynamoDB
2022-07-28 20:20:15,784 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing EC2
2022-07-28 20:20:15,785 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering EC2
2022-07-28 20:20:15,798 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing ECS
2022-07-28 20:20:15,798 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering ECS
2022-07-28 20:20:15,803 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Beanstalk
2022-07-28 20:20:15,804 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Beanstalk
2022-07-28 20:20:15,809 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing IdentityManagement
2022-07-28 20:20:15,809 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering IdentityManagement
2022-07-28 20:20:15,816 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Lambda
2022-07-28 20:20:15,816 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Lambda
2022-07-28 20:20:15,819 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing RDS
2022-07-28 20:20:15,819 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering RDS
2022-07-28 20:20:15,869 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing S3
2022-07-28 20:20:15,869 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering S3
2022-07-28 20:20:15,874 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SimpleDB
2022-07-28 20:20:15,874 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SimpleDB
2022-07-28 20:20:15,877 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SNS
2022-07-28 20:20:15,877 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SNS
2022-07-28 20:20:15,882 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SQS
2022-07-28 20:20:15,882 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SQS
2022-07-28 20:20:15,885 [27] DEBUG Amazon.AWSToolkit.ToolkitFactory - Finished Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 20:20:16,014 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Initializing Lambda Tester event listener
2022-07-28 20:20:16,031 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Registering Debugger events
2022-07-28 20:20:16,043 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Configuring Solution with Lambda Tester
2022-07-28 20:20:16,109 [5] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 20:20:16,510 [9] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 20:20:16,793 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory initialized
2022-07-28 20:20:16,797 [27] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory SignalShellInitializationComplete
2022-07-28 20:20:16,797 [27] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync complete
2022-07-28 20:20:17,704 [5] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 20:20:17,839 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryInfoBarManager - Trying to show Telemetry Banner
2022-07-28 20:20:17,906 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryInfoBarManager - Telemetry Banner displayed
2022-07-28 20:20:19,075 [5] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:20:19,082 [5] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 20:20:19,252 [5] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Finished configuring Solution with Lambda Tester
2022-07-28 20:20:29,413 [35] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 20:20:43,633 [1] DEBUG Amazon.AWSToolkit.Publish.Install.VerifyDeployCli -
Verifying AWS.Deploy.Tools.1.0.3
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
Valid from: 2/16/2021 3:00:00 AM to 5/16/2024 2:59:59 AM
2022-07-28 20:20:43,639 [1] DEBUG Amazon.AWSToolkit.Publish.Install.DeployCli - Finished initializing aws.deploy.tools
2022-07-28 20:20:48,905 [7] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:20:48,905 [7] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 20:29:47,137 [63] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:29:47,141 [63] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 20:30:02,853 [53] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:30:02,854 [53] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 20:30:18,323 [13] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:30:18,324 [13] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 20:44:26,667 [1] ERROR Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Error configuring Lambda Tester on project. FileName: , FullName: , UniqueName:
System.Exception: Unable to determine project FileName
at Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities.d__2.MoveNext()
2022-07-28 20:46:20,197 [86] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 20:46:20,198 [86] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 20:47:04,255 [98] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 20:47:04,256 [98] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 21:08:42,824 [101] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 21:08:42,824 [101] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:37:44,819 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync started
2022-07-28 21:37:48,366 [1] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:37:48,375 [1] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\USER\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-07-28 21:37:48,383 [10] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Initializing Telemetry Service
2022-07-28 21:37:48,562 [1] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 21:37:48,617 [1] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 21:37:48,634 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Creating SAWSToolkitShellProvider service
2022-07-28 21:37:48,636 [8] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\USER\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-07-28 21:37:48,661 [8] INFO  Amazon.AWSToolkit.ResourceFetchers.HttpResourceFetcher - Loading resource: https://idetoolkits.amazonwebservices.com/endpoints.json
2022-07-28 21:37:48,685 [10] ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor(String accountId, String identityPoolId, String unAuthRoleArn, String authRoleArn, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\CognitoIdentity\Custom\CognitoAWSCredentials.cs:line 491
at Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager.Initialize()
2022-07-28 21:37:48,782 [1] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 21:37:48,782 [1] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:37:49,119 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Setting up Publish to AWS functionality
2022-07-28 21:37:49,154 [18] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Initializing PublishToAws Package
2022-07-28 21:37:49,155 [1] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Finished Initializing PublishToAws Package
2022-07-28 21:37:49,469 [8] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 21:37:49,504 [8] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 21:37:49,941 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Publish to AWS functionality initialized
2022-07-28 21:37:49,948 [1] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loading Toolkit Plugins
2022-07-28 21:37:49,973 [1] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Searching for plugins in 'c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\rq3nd0vz.odw\Plugins'
2022-07-28 21:37:50,036 [8] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudWatch from AWSToolkit.CloudWatch, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,050 [16] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFront from AWSToolkit.CloudFront, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,055 [18] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeArtifact from AWSToolkit.CodeArtifact, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,061 [29] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin ECS from AWSToolkit.ECS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,084 [26] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin IdentityManagement from AWSToolkit.IdentityManagement, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,110 [25] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin S3 from AWSToolkit.S3, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,110 [10] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFormation from AWSToolkit.CloudFormation, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,112 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin DynamoDB from AWSToolkit.DynamoDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,120 [25] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SNS from AWSToolkit.SNS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,122 [27] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SQS from AWSToolkit.SQS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,127 [26] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SimpleDB from AWSToolkit.SimpleDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,135 [14] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Lambda from AWSToolkit.Lambda, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,135 [28] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin EC2 from AWSToolkit.EC2, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,138 [29] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin RDS from AWSToolkit.RDS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,148 [23] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeCommit from AWSToolkit.CodeCommit, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,148 [8] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Beanstalk from AWSToolkit.ElasticBeanstalk, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:37:50,151 [1] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Finished Loading Toolkit Plugins
2022-07-28 21:37:50,183 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 21:37:50,183 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFormation
2022-07-28 21:37:50,183 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFormation
2022-07-28 21:37:50,188 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFront
2022-07-28 21:37:50,189 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFront
2022-07-28 21:37:50,195 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudWatch
2022-07-28 21:37:50,195 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudWatch
2022-07-28 21:37:50,197 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeArtifact
2022-07-28 21:37:50,197 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeArtifact
2022-07-28 21:37:50,200 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeCommit
2022-07-28 21:37:50,200 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeCommit
2022-07-28 21:37:50,200 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing DynamoDB
2022-07-28 21:37:50,200 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering DynamoDB
2022-07-28 21:37:50,216 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing EC2
2022-07-28 21:37:50,224 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering EC2
2022-07-28 21:37:50,238 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing ECS
2022-07-28 21:37:50,238 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering ECS
2022-07-28 21:37:50,243 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Beanstalk
2022-07-28 21:37:50,243 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Beanstalk
2022-07-28 21:37:50,247 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing IdentityManagement
2022-07-28 21:37:50,247 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering IdentityManagement
2022-07-28 21:37:50,254 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Lambda
2022-07-28 21:37:50,254 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Lambda
2022-07-28 21:37:50,256 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing RDS
2022-07-28 21:37:50,256 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering RDS
2022-07-28 21:37:50,273 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing S3
2022-07-28 21:37:50,273 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering S3
2022-07-28 21:37:50,282 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SimpleDB
2022-07-28 21:37:50,282 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SimpleDB
2022-07-28 21:37:50,285 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SNS
2022-07-28 21:37:50,285 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SNS
2022-07-28 21:37:50,289 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SQS
2022-07-28 21:37:50,289 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SQS
2022-07-28 21:37:50,291 [1] DEBUG Amazon.AWSToolkit.ToolkitFactory - Finished Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 21:37:50,355 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Initializing Lambda Tester event listener
2022-07-28 21:37:50,370 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory initialized
2022-07-28 21:37:50,371 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory SignalShellInitializationComplete
2022-07-28 21:37:50,371 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync complete
2022-07-28 21:37:50,745 [22] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:37:52,409 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Received __VSSPROPID4.VSSPROPID_ShellInitialized property change, new value True
2022-07-28 21:37:52,413 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Toolkit considers VS to be initialized now
2022-07-28 21:37:52,582 [6] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 21:37:52,590 [6] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 21:38:09,249 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Registering Debugger events
2022-07-28 21:38:09,261 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Configuring Solution with Lambda Tester
2022-07-28 21:38:20,305 [1] DEBUG Amazon.AWSToolkit.Publish.Install.VerifyDeployCli -
Verifying AWS.Deploy.Tools.1.0.3
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
Valid from: 2/16/2021 3:00:00 AM to 5/16/2024 2:59:59 AM
2022-07-28 21:38:24,713 [1] DEBUG Amazon.AWSToolkit.Publish.Install.DeployCli - Finished initializing aws.deploy.tools
2022-07-28 21:38:24,779 [29] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Finished configuring Solution with Lambda Tester
2022-07-28 21:46:41,692 [24] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 21:46:41,692 [24] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:46:42,772 [67] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 21:46:42,777 [67] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 21:46:45,092 [67] ERROR Amazon.AWSToolkit.Navigator.NavigatorControl - Error validating connection.
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
at System.Windows.Threading.Dispatcher.Invoke(Action callback)
at Amazon.AWSToolkit.Navigator.NavigatorControl.NavigatorViewModelOnPropertyChanged(Object sender, PropertyChangedEventArgs e)
at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
at Amazon.AWSToolkit.CommonUI.BaseModel.SetProperty[T](T& propertyField, T value, Expression`1 property)
at Amazon.AWSToolkit.Navigator.NavigatorControl.UpdateViewModelConnectionProperties(ConnectionState state)
at Amazon.AWSToolkit.Navigator.NavigatorControl.OnConnectionStateChanged(Object sender, ConnectionStateChangeArgs e)
2022-07-28 21:48:22,579 [12] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync started
2022-07-28 21:48:48,989 [37] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:48:49,000 [37] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\USER\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-07-28 21:48:49,002 [39] DEBUG Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Initializing Telemetry Service
2022-07-28 21:48:49,112 [37] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 21:48:49,148 [37] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 21:48:49,155 [37] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Creating SAWSToolkitShellProvider service
2022-07-28 21:48:49,163 [5] INFO  Amazon.AWSToolkit.ResourceFetchers.FileResourceFetcher - Loading resource: C:\Users\USER\AppData\Local/AWSToolkit\downloadedfiles\endpoints.json
2022-07-28 21:48:49,185 [5] INFO  Amazon.AWSToolkit.ResourceFetchers.HttpResourceFetcher - Loading resource: https://idetoolkits.amazonwebservices.com/endpoints.json
2022-07-28 21:48:49,298 [39] ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.CognitoIdentity.CognitoAWSCredentials..ctor(String accountId, String identityPoolId, String unAuthRoleArn, String authRoleArn, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\CognitoIdentity\Custom\CognitoAWSCredentials.cs:line 491
at Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager.Initialize()
2022-07-28 21:48:50,403 [5] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Updating AWS SDK with endpoints data...
2022-07-28 21:48:50,422 [39] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 21:48:50,423 [39] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:48:50,449 [5] DEBUG Amazon.AWSToolkit.Regions.RegionProvider - Finished updating AWS SDK with endpoints data
2022-07-28 21:48:50,751 [38] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Setting up Publish to AWS functionality
2022-07-28 21:48:50,842 [27] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Initializing PublishToAws Package
2022-07-28 21:48:50,844 [1] DEBUG Amazon.AWSToolkit.Publish.Package.PublishToAwsPackage - Finished Initializing PublishToAws Package
2022-07-28 21:48:51,268 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Publish to AWS functionality initialized
2022-07-28 21:48:51,278 [45] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loading Toolkit Plugins
2022-07-28 21:48:51,294 [45] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Searching for plugins in 'c:\program files\microsoft visual studio\2022\community\common7\ide\extensions\rq3nd0vz.odw\Plugins'
2022-07-28 21:48:51,333 [46] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudWatch from AWSToolkit.CloudWatch, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,335 [6] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFront from AWSToolkit.CloudFront, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,367 [43] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeArtifact from AWSToolkit.CodeArtifact, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,448 [6] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Beanstalk from AWSToolkit.ElasticBeanstalk, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,467 [46] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin ECS from AWSToolkit.ECS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,478 [45] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SQS from AWSToolkit.SQS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,518 [47] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin EC2 from AWSToolkit.EC2, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,531 [45] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SNS from AWSToolkit.SNS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,393 [23] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CodeCommit from AWSToolkit.CodeCommit, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,391 [25] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin DynamoDB from AWSToolkit.DynamoDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,389 [32] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin CloudFormation from AWSToolkit.CloudFormation, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,559 [47] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin S3 from AWSToolkit.S3, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,565 [29] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin RDS from AWSToolkit.RDS, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,565 [25] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin SimpleDB from AWSToolkit.SimpleDB, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,574 [39] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin Lambda from AWSToolkit.Lambda, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,613 [43] INFO  Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Loaded plugin IdentityManagement from AWSToolkit.IdentityManagement, Version=1.35.1.0, Culture=neutral, PublicKeyToken=8339e7e97bb08995
2022-07-28 21:48:51,617 [45] DEBUG Amazon.AWSToolkit.PluginServices.Activators.PluginActivatorUtilities - Finished Loading Toolkit Plugins
2022-07-28 21:48:51,643 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 21:48:51,643 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFormation
2022-07-28 21:48:51,643 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFormation
2022-07-28 21:48:51,650 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudFront
2022-07-28 21:48:51,650 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudFront
2022-07-28 21:48:51,656 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CloudWatch
2022-07-28 21:48:51,657 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CloudWatch
2022-07-28 21:48:51,660 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeArtifact
2022-07-28 21:48:51,661 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeArtifact
2022-07-28 21:48:51,664 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing CodeCommit
2022-07-28 21:48:51,664 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering CodeCommit
2022-07-28 21:48:51,664 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing DynamoDB
2022-07-28 21:48:51,664 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering DynamoDB
2022-07-28 21:48:51,682 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing EC2
2022-07-28 21:48:51,682 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering EC2
2022-07-28 21:48:51,695 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing ECS
2022-07-28 21:48:51,695 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering ECS
2022-07-28 21:48:51,700 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Beanstalk
2022-07-28 21:48:51,700 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Beanstalk
2022-07-28 21:48:51,704 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing IdentityManagement
2022-07-28 21:48:51,704 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering IdentityManagement
2022-07-28 21:48:51,716 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing Lambda
2022-07-28 21:48:51,716 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering Lambda
2022-07-28 21:48:51,719 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing RDS
2022-07-28 21:48:51,719 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering RDS
2022-07-28 21:48:51,738 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing S3
2022-07-28 21:48:51,738 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering S3
2022-07-28 21:48:51,743 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SimpleDB
2022-07-28 21:48:51,743 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SimpleDB
2022-07-28 21:48:51,747 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SNS
2022-07-28 21:48:51,747 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SNS
2022-07-28 21:48:51,752 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... Initializing SQS
2022-07-28 21:48:51,752 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - ... registering SQS
2022-07-28 21:48:51,756 [45] DEBUG Amazon.AWSToolkit.ToolkitFactory - Finished Registering Toolkit Plugins in the AWS Explorer...
2022-07-28 21:48:52,209 [39] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:48:52,831 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Initializing Lambda Tester event listener
2022-07-28 21:48:52,842 [1] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory initialized
2022-07-28 21:48:52,843 [45] INFO  Amazon.AWSToolkit.ToolkitFactory - ToolkitFactory SignalShellInitializationComplete
2022-07-28 21:48:52,843 [45] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - AWSToolkitPackage InitializeAsync complete
2022-07-28 21:48:52,928 [31] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 21:48:52,933 [31] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 21:48:57,715 [1] DEBUG Amazon.AWSToolkit.Publish.Install.VerifyDeployCli -
Verifying AWS.Deploy.Tools.1.0.3
Signature type: Repository
Subject Name: CN=NuGet.org Repository by Microsoft, O=NuGet.org Repository by Microsoft, L=Redmond, S=Washington, C=US
SHA256 hash: 5A2901D6ADA3D18260B9C6DFE2133C95D74B9EEF6AE0E5DC334C8454D1477DF4
Valid from: 2/16/2021 3:00:00 AM to 5/16/2024 2:59:59 AM
2022-07-28 21:48:57,719 [1] DEBUG Amazon.AWSToolkit.Publish.Install.DeployCli - Finished initializing aws.deploy.tools
2022-07-28 21:49:15,623 [1] INFO  Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Received __VSSPROPID2.VSSPROPID_MainWindowVisibility property change, new value True
2022-07-28 21:49:15,630 [1] DEBUG Amazon.AWSToolkit.VisualStudio.AWSToolkitPackage - Toolkit considers VS to be initialized now
2022-07-28 21:49:26,196 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterEventListener - Registering Debugger events
2022-07-28 21:49:26,204 [1] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Configuring Solution with Lambda Tester
2022-07-28 21:49:36,140 [31] DEBUG Amazon.AWSToolkit.VisualStudio.Lambda.LambdaTesterUtilities - Finished configuring Solution with Lambda Tester
2022-07-28 21:50:12,918 [31] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 2
2022-07-28 21:50:12,918 [31] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:50:13,924 [31] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 21:50:13,925 [31] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 21:50:30,116 [32] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-28 21:50:30,116 [32] ERROR Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - The following credentials could not be loaded:
default: Invalid region endpoint provided
2022-07-28 21:50:30,144 [38] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:50:58,038 [45] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:50:59,901 [38] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-28 21:51:00,107 [56] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 21:51:00,944 [38] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 21:51:00,944 [38] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: sdk:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 22:18:11,158 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:11,159 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:11,495 [108] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 22:18:42,033 [113] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-28 22:18:42,125 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:42,125 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:42,377 [87] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 22:18:43,044 [87] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 22:18:43,045 [87] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:default
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 22:18:47,210 [1] ERROR Amazon.AWSToolkit.Credentials.Core.ICredentialSettingsManagerExtensionMethods - Error looking up credential type for Profile:default
System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.AWSToolkit.Credentials.IO.CredentialFileReader.GetCredentialProfile(String profileName)
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Credentials.Core.ICredentialSettingsManagerExtensionMethods.GetCredentialType(ICredentialSettingsManager this, ICredentialIdentifier credentialIdentifier)
2022-07-28 22:18:47,481 [119] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 0
2022-07-28 22:18:47,483 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:47,483 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:47,821 [122] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 22:18:48,802 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:48,804 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,296 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,297 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,297 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,298 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,310 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:49,310 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,100 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,102 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,183 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,183 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,315 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:18:50,316 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:01,806 [122] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-28 22:19:01,883 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:01,884 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:02,141 [127] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-28 22:19:02,818 [108] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-28 22:19:02,818 [108] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:samer
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
2022-07-28 22:19:05,043 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,043 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,632 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,633 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,636 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,637 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,657 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,657 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,666 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,666 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,774 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:05,774 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:07,423 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:07,423 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:12,795 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:12,795 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,203 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,203 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,232 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,232 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,250 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:13,251 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:16,378 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-28 22:19:16,379 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:17:45,206 [64] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-29 00:38:07,767 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:07,768 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:08,579 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:08,580 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:08,626 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:08,627 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:13,379 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:13,380 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:13,381 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: Profile:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:13,382 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: Profile:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:13,668 [86] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 0
2022-07-29 00:38:13,713 [27] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-29 00:38:46,899 [126] INFO  Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory - Reloaded AWS Credential Profiles
Profiles found: 1
2022-07-29 00:38:46,956 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:46,957 [1] ERROR Amazon.AWSToolkit.Account.AccountViewModel - No profile properties found for: sdk:samer
System.ArgumentException: Profile samer is not found.
at Amazon.AWSToolkit.Credentials.Core.ProfileCredentialProviderFactory.GetProfileProperties(ICredentialIdentifier identifier)
at Amazon.AWSToolkit.Account.AccountViewModel.get_ProfileProperties()
2022-07-29 00:38:47,233 [40] DEBUG Amazon.AWSToolkit.Telemetry.TelemetryService - Telemetry service enabled
2022-07-29 00:38:47,917 [73] ERROR Amazon.AWSToolkit.Clients.ServiceClientCreator - Error creating service client: Amazon.SecurityToken.AmazonSecurityTokenServiceClient
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 707
at Amazon.Internal.RegionEndpointProviderV3.GetRegionEndpoint(String regionName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpointProviderV3.cs:line 643
at Amazon.RegionEndpoint.GetEndpoint(String systemName, String displayName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\RegionEndpoint\RegionEndpoint.cs:line 194
at Amazon.Runtime.CredentialManagement.SharedCredentialsFile.TryGetProfile(String profileName, Boolean doRefresh, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\SharedCredentialsFile.cs:line 425
at Amazon.Runtime.CredentialManagement.CredentialProfileStoreChain.TryGetProfile(String profileName, CredentialProfile& profile) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\CredentialManagement\CredentialProfileStoreChain.cs:line 120
at Amazon.Runtime.Internal.ProfileInternalConfiguration.Setup(ICredentialProfileSource source, String profileName) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 209
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory.Reset() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 278
at Amazon.Runtime.Internal.FallbackInternalConfigurationFactory..cctor() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Internal\InternalConfiguration.cs:line 263
--- End of inner exception stack trace ---
at Amazon.Runtime.ClientConfig.get_RetryMode() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\ClientConfig.cs:line 828
at Amazon.Runtime.AmazonServiceClient.BuildRuntimePipeline() in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\AmazonServiceClient.cs:line 448
at Amazon.SecurityToken.AmazonSecurityTokenServiceClient..ctor(AWSCredentials credentials, RegionEndpoint region) in D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Services\SecurityToken\Generated_bcl45\AmazonSecurityTokenServiceClient.cs:line 128
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Amazon.AWSToolkit.Clients.ServiceClientCreator.CreateServiceClient(Type serviceClientType, AWSCredentials credentials, RegionEndpoint regionEndpoint)
2022-07-29 00:38:47,920 [73] ERROR Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager - Failed to switch to credentials: Profile:default
System.NullReferenceException: Object reference not set to an instance of an object.
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Amazon.AWSToolkit.Credentials.Core.AwsConnectionManager.d__58.MoveNext()
`

The log seems to imply that that Toolkit (or SDK) is not handling regions properly. Since you're using us-west-1, there is nothing unusual about that.
Out of curiosity:

do you have a file located at %localappdata%\AWSToolkit\downloadedfiles\endpoints.json? Currently this file should be about 576 kb in size.
can you try to access https://idetoolkits.amazonwebservices.com/endpoints.json from a web browser on the same system? If this isn't returning a json file, I would be interested to know what you see
are the local file and the json file at this url identical? If not, one thing you can try is deleting the local file and then starting Visual Studio. The Toolkit should re-download the file on startup, before the AWS Explorer tries to connect with credentials.

Ha ! You win ! :)
So what happened was there was an endpoints.json file of exactly 576 kb in size. I also opened the link you sent me and saw a similar json file. I did not check if they were similar (they look similar when I browsed through but didn't check in details). So what I did is I deleted the local Json file I had and restarted VS like you recommended.
And voila ! Problem solved. Thank you for your time @awschristou  !

Glad to hear it! I will close this issue with https://github.com/aws/aws-toolkit-visual-studio/issues/265#issuecomment-1198673306 as the guidance when seeing "Unable to Connect AWS: Object reference not set to an instance of an object" in the AWS Explorer, and the error below is written to the log:
ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization
System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided
at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName)

Glad to hear it! I will close this issue with #265 (comment) as the guidance when seeing "Unable to Connect AWS: Object reference not set to an instance of an object" in the AWS Explorer, and the error below is written to the log:
ERROR Amazon.AWSToolkit.VisualStudio.Telemetry.TelemetryManager - Error during TelemetryManager initialization System.TypeInitializationException: The type initializer for 'Amazon.Runtime.Internal.FallbackInternalConfigurationFactory' threw an exception. ---> System.ArgumentException: Invalid region endpoint provided at Amazon.Internal.RegionEndpointProviderV3.GetNonstandardRegionEndpoint(String regionName)

Even thought I have the same issue, this approach did not resolved my issue... any other ideas?

authors: awschristou fgajtanovski samsahih sandesh6653