我使用SocketIO4Net通过 C#连接到Socket.IO,但是当我尝试向客户端发出对象时,我的 C# 应用程序突然关闭(我有一个 MVC3 项目)
我阅读了事件查看器并且有 3 个错误:
1)
A Webhost unhandled exception occurred.
Sender Information: System.AppDomain/26995560
Exception: System.Runtime.FatalException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
2)
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/2/ROOT
Process ID: 3696
Exception: System.Runtime.FatalException
Message: Object reference not set to an instance of an object.
3)
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.FatalException
Stack:
at System.Runtime.Fx+IOCompletionThunk.UnhandledExceptionFrame(UInt32, UInt32, System.Threading.NativeOverlapped*)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
我的项目有什么问题?SocketIO4NET 中是否有任何错误?