Caught exception is null itself !

后端 未结 5 1196

I have an ASP.NET applications. Everything was fine, but recently I get exceptions that are null themselves:

try
{
    // do something
}
catch (Exception ex)         


        
5条回答
  •  没有蜡笔的小新
    2020-12-10 10:56

    In my case, the cause was a StackOverflowException. Such exceptions normally don't reach the catch block at all, but this time, for some reason I don't understand, it did reach the catch block, but the exception was null.

提交回复
热议问题