Solution
Typical cause of the error are the following two cases.
Case 1:
When Front Panel:Open method in VI Methods is used from an invoke node, you must take care not to wire "Invalid" or "Close" in the "State" input.

Case 2:
When Front Panel Window: State property in VI Properties is used, you must make sure not to wire "Invalid" to it.
