View Issue Details

IDProjectCategoryView StatusLast Update
882Task ManagerApp InteractionPublicFeb 3rd 2024 4:22 PM
ReporterTravis Herzog Assigned ToTravis Herzog  
Priority UrgentSeverityCrashReproducibilitySometimes
Status StagedResolutionFixed 
ProjectionMinor FixETAUnder 1 Week 
PlatformWin32NTOSWindowsOS Version10
Product Version1.22.11 
Target Version1.23.0Fixed in Version1.23.0 
Summary882: Clicking the 'End Task' button for a process that has locked up causes InvalidOperationException
DescriptionClicking the 'End Task' button for a process that has locked up causes InvalidOperationException.



System.InvalidOperationException @ Void EnsureState(State) @ System.Diagnostics.Process

<SerializableException xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ExtendedInformation>
    <HResult>-2146233079</HResult>
  </ExtendedInformation>
  <Message>Process has exited, so the requested information is not available.</Message>
  <Source>System</Source>
  <StackTrace>   at System.Diagnostics.Process.EnsureState(State state)
   at System.Diagnostics.Process.get_MainWindowHandle()
   at System.Diagnostics.Process.CloseMainWindow()
   at TaskManager.frmMain.btnEndTask_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</StackTrace>
  <TargetSite>Void EnsureState(State) @ System.Diagnostics.Process</TargetSite>
  <Type>System.InvalidOperationException</Type>
</SerializableException>
Additional Information
<Report xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <GeneralInfo>
    <CLRVersion>4.0.30319.42000</CLRVersion>
    <DateTime>3/30/2023 2:18:50 AM</DateTime>
    <ExceptionMessage>Process has exited, so the requested information is not available.</ExceptionMessage>
    <ExceptionType>System.InvalidOperationException</ExceptionType>
    <HostApplication>HN32-TaskMan.exe</HostApplication>
    <HostApplicationVersion>1.22.11</HostApplicationVersion>
    <NBugVersion>1.2.0.0</NBugVersion>
    <TargetSite>Void EnsureState(State) @ System.Diagnostics.Process</TargetSite>
    <UserDescription />
  </GeneralInfo>
</Report>
TagsBug, Crash, User Interface
Installation TypeWorkstation

Activities

Travis Herzog

Travis Herzog

Aug 10th 2023 7:14 PM

Administrator   ~243

Exception_133246163382371226.zip (270,661 bytes)
Travis Herzog

Travis Herzog

Feb 2nd 2024 12:45 PM

Administrator   ~280

A resolution for this issue has been committed with revision '1b6a5bcb4c1a277a5d4d7ee4b02544431da0c1aa' to branch 'release/v1.23.0' in repository 'TaskManager' with changeset ID '29144' at 2024-02-02T17:53:39+00:00.