[GH-ISSUE #913] program crashes when new client connect ! #630

Closed
opened 2026-02-27 15:51:10 +03:00 by kerem · 1 comment
Owner

Originally created by @pik4cho on GitHub (Jan 14, 2021).
Original GitHub issue: https://github.com/quasar/Quasar/issues/913

Describe the bug
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object.
Source=Quasar
StackTrace:
at Quasar.Server.Forms.FrmMain.AddClientToListview(Client client)
at Quasar.Server.Forms.FrmMain.ProcessClientConnections(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

To Reproduce
Steps to reproduce the behavior:

  1. run the app
  2. listen to port
  3. run the client
  4. See error

Expected behavior
a client should be added to the client list on the frmMain table

Screenshots
it just crashes and close
System

  • Server OS: [Windows 10]
  • Client OS: [Windows 10]
  • Server installed .NET Framework version: [v4.8]
  • Client installed .NET Framework version: [v4.8]
  • Quasar Version: [i just cloned the repo]
  • Build configuration: [Debug and Release]

Additional context
Add any other context about the problem here.

Originally created by @pik4cho on GitHub (Jan 14, 2021). Original GitHub issue: https://github.com/quasar/Quasar/issues/913 **Describe the bug** System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=Quasar StackTrace: at Quasar.Server.Forms.FrmMain.AddClientToListview(Client client) at Quasar.Server.Forms.FrmMain.ProcessClientConnections(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() at System.Threading.ThreadPoolWorkQueue.Dispatch() **To Reproduce** Steps to reproduce the behavior: 1. run the app 2. listen to port 3. run the client 4. See error **Expected behavior** a client should be added to the client list on the frmMain table **Screenshots** it just crashes and close **System** - Server OS: [Windows 10] - Client OS: [Windows 10] - Server installed .NET Framework version: [v4.8] - Client installed .NET Framework version: [v4.8] - Quasar Version: [i just cloned the repo] - Build configuration: [Debug and Release] **Additional context** Add any other context about the problem here.
kerem closed this issue 2026-02-27 15:51:10 +03:00
Author
Owner

@pik4cho commented on GitHub (Jan 15, 2021):

solved

<!-- gh-comment-id:760553622 --> @pik4cho commented on GitHub (Jan 15, 2021): solved
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#630
No description provided.