mRemoteNG / mRemoteNG/mRemoteNG

The discarded object can not be accessed. Object name: "ConnectionWindow"

Open
#1,495 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Need 2 check
Dominant language
C#
Stars
11.1k
Forks
1.6k
Avg merge
16h 58m
Merged PRs (30d)
55

Description

Expected Behavior

close panel General after creating new panel

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

в System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
в System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
в System.Windows.Forms.Control.Invoke(Delegate method)
в mRemoteNG.UI.Window.ConnectionWindow.Prot_Event_Closed(Object sender) в C:\jenkins\workspace\Publish\Build mRemoteNG for Release\mRemoteV1\UI\Window\ConnectionWindow.cs:строка 802
в mRemoteNG.Connection.Protocol.ProtocolBase.ClosedEventHandler.Invoke(Object sender)
в mRemoteNG.Connection.Protocol.ProtocolBase.CloseBG() в C:\jenkins\workspace\Publish\Build mRemoteNG for Release\mRemoteV1\Connection\Protocol\ProtocolBase.cs:строка 152
в System.Threading.ThreadHelper.ThreadStart_Context(Object state)
в System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
в System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
в System.Threading.ThreadHelper.ThreadStart()

Your Environment

  • Version used:
  • Operating System and version (e.g. Windows 10 1709 x64):
    OS: Microsoft Windows NT 6.3.9600.0
    mRemoteNG Version: 1.77.0.41252
    Edition: MSI
    Cmd line args:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with mRemoteNG.UI.Window.ConnectionWindow.Prot_Event_Closed in ConnectionWindow.cs at line 802, then trace the close flow into ProtocolBase.CloseBG at line 152. Reproduce the issue by closing the General panel after creating a new panel on Windows. Done means this action no longer raises the discarded ConnectionWindow exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.