unhandled-exception Questions
4
I am experiencing a very tricky defect in my WPF application to track down. The error message is:
An infinite loop appears to have resulted from repeatedly
invalidating the TimeManager during t...
Dakar asked 5/2, 2013 at 19:37
9
Solved
class throwseg1
{
void show() throws Exception
{
throw new Exception("my.own.Exception");
}
void show2() throws Exception // Why throws is necessary here ?
{
show();
}
void show3() throw...
Catcher asked 21/7, 2012 at 3:52
3
Solved
Is it possible to crash a regular user-mode process on Windows-7 without getting the Windows Error Reporting (WER) dialog? (When and if WER is normally enabled and no specific flags are applied.)
...
Speight asked 7/1, 2013 at 11:49
5
Solved
We have a service which will log unhandled exceptions at the app domain level (via Log4net).
We logged:
2014-01-28 16:49:19,636 ERROR [49] FeedWrapperService - unhandled
System.NullReferenceEx...
Brawl asked 31/1, 2014 at 12:7
10
Solved
I would like to be able to catch all unhandled exceptions in one single place building a Blazor single page application.
Like using the "Current.DispatcherUnhandledException" in WPF applications.
...
Nevels asked 17/8, 2019 at 19:28
2
Solved
Have a look at the following MWE.
import sys
from PyQt5.QtWidgets import QMainWindow, QPushButton, QApplication
class MainWindow(QMainWindow):
def __init__(self, parent=None):
super().__init__...
Macedonian asked 26/4, 2017 at 18:13
2
Solved
When using the MiniDumpWriteDump function to create a core dump of a process on Windows, it is recommended (e.g. here, and here) that the MiniDumpWriteDump is run from another "watchdog" process be...
Arithmetician asked 27/11, 2012 at 18:46
4
Solved
I have a handler for Application.ThreadException, but I'm finding that exceptions aren't always getting passed to it correctly. Specifically, if I throw an exception-with-inner-exception from a Beg...
Engracia asked 19/12, 2011 at 18:33
4
Solved
I am trying to start a webpage using the Django framework. This is my first web development project.
After creating the project, I tried to start an app that utilizes customized users and registra...
Sori asked 9/5, 2017 at 13:45
5
Solved
Node.js from version 7 has async/await syntactic sugar for handling promises and now in my code the following warning comes up quite often:
(node:11057) UnhandledPromiseRejectionWarning: Unhandle...
Jill asked 7/5, 2017 at 17:31
2
I realise there are a few questions about preventDefault not working. But my question is about the rather straightforward case where you have an async function and an error is thrown:
throw 'error...
Galactometer asked 30/5, 2020 at 9:37
3
We have a .NET 3.5 assembly (dll) being executed by a VB6 "Agent" (exe) via COM interfaces. The VB6 code does call:
' Ensure that no system dialog comes up when we GPF.
PreviousErrorMode = SetErro...
Thermoelectric asked 6/10, 2016 at 15:45
14
Solved
I am new to flutter and have successfully gotten it installed and working on one machine, but when working on this one I am having some issues. It is a fresh install of android studio, flutter, and...
Rizas asked 23/1, 2019 at 4:57
9
For learning Angular 2, I am trying their tutorial.
I am getting an error like this:
(node:4796) UnhandledPromiseRejectionWarning: Unhandled promise rejection (r ejection id: 1): Error: spawn cm...
Mckibben asked 9/11, 2016 at 5:13
2
I am developing a UWP app in C# and I have attached a handler for Unhandled exceptions that sends us the unhandled exceptions so that we can diagnose them).
I am receiving a large amount of
System...
Zodiac asked 28/7, 2020 at 18:32
12
I'm working on a project and have run into an issue. When I run my code I get this error message:
The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception
The title of t...
Ovipositor asked 11/9, 2012 at 17:12
1
I tried to implement solution based on answer How to handle exceptions raised in other threads when unit testing?, but I still don't understand what to do in the handler. Let's suppose I have a tes...
Nonprofit asked 11/7, 2016 at 14:35
3
Solved
I want it so when my button is clicked, I exit my application. I tried a simple for loop:
Private Sub CloseAllToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles CloseAllToolStripMen...
Landowner asked 17/1, 2016 at 23:45
4
Solved
I deployed the Nuget source code to my company's web server, but when navigate to the URL, I get the following error (pulled from Event Viewer on the server):
Event code: 4011
Event message: An u...
Pellitory asked 6/11, 2013 at 15:10
12
Visual studio used to have a specific checkbox to "Break on Un-handled exception". In 2015 this has been removed (or moved somewhere I cannot find it). So now my converted projects no longer break ...
Erminois asked 21/7, 2015 at 20:31
7
Solved
Suppose I have a class and a method
class A {
void foo() throws Exception() {
...
}
}
Now I would like to call foo for each instance of A delivered by a stream like:
void bar() throws Except...
Johnson asked 8/5, 2014 at 17:24
1
Solved
I created uwp app(.Net native) for Windows 10 desktop. I use HockeyApp for collect live crash reports. Stack trace not informative. This is a long-standing problem and it does not have a solution. ...
Shavonda asked 28/12, 2017 at 6:46
5
Solved
How do I catch all unhandled exceptions that occur in ASP.NET Web Api so that I can log them?
So far I have tried:
Create and register an ExceptionHandlingAttribute
Implement an Application_Erro...
Performing asked 16/4, 2013 at 4:41
1
Solved
So I have a microservice running as a Docker container under .NET Core and logging to Application Insights on Azure as it writes large amounts of data fetched from EventHub to a SQL Server.
Every ...
Phosphorate asked 20/9, 2017 at 12:36
5
protected override void OnStart(string[] args)
{
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Thread.Sleep(10000);
throw...
Trigon asked 16/3, 2010 at 17:54
1 Next >
© 2022 - 2025 — McMap. All rights reserved.