Skip to content

Open existing Desktop control or Add New Desktop control cause Argument Null Exception. #690

Closed

Description

@itg-assistant

Felix CHAN asked 2017-03-11 05:32:13 UTC

Hi,

As title, I try to add a Custom Desktop item to a C# project:

Right-click an project, select "Add..." and "New Item...". And then select "Visual C# Items --> Wisej --> Custom Desktop" from the "Add New Item" pop-up screen, Visual Studio will pop up an Exception when you click "Add..." button, which say:

ArgumentNullException: Value cannot be null.

Parameter name: key

I then click the OK button on this dialog box to close it and the Custom Desktop can actually added to the project  (Refer to the attached screen capture for details).

I don't know if there is any side effect with such exception.

Thanks and regards,

Felix CHAN

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Felix CHAN answered 2017-03-11 06:20:01 UTC

    Hi,

    I am sorry that I just discover that the Exception is not just caused by "Add New Item".

    As I upgraded the Wisej to the latest version 1.3.40.0 a few hours ago, I find that not only "Add New Item" but all existing Desktop controls will pop-up such ArgmentNullException when they are opened in the Designer.

    Compile it and run it does not have problem. So, there must be something wrong with the Designer of the Desktop control.

    As such, I change the subject of this thread accordingly.

    Thanks and regards,

    Felix CHAN

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
  3. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Felix CHAN answered 2017-03-11 07:32:34 UTC

    Hi,

    This is a duplicate question. I just notice that the same problem is already post.

    Regards,
    Felix CHAN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions