Skip to content

Renaming account profile throws error #127

@luckerby

Description

@luckerby

Describe the bug
Opening AWS Explorer in Visual Studio and trying to edit one of the existing profile's name results in an Object reference not set to an instance of an object error, as seen in the screenshot below. The profile name is however successfully renamed, it's only that one has to close and reopen Visual Studio in order to view the change.

To Reproduce

  1. Open AWS Explorer from Visual Studio's View menu
  2. Select a profile and click the "Edit Profile" icon
  3. Change the profile name to something else
  4. Enter the account number and click "Ok"

Expected behavior
The profile to be renamed silently.

Screenshots
image

Computer (please complete the following information):

  • Windows Version: Windows 10 1909
  • Visual Studio Version: 16.5.0 Preview 5
  • AWS Toolkit for Visual Studio Version: 1.18.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugWe can reproduce the issue and confirmed it is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions