Questions tagged [unhandled-exception]

An unhandled exception is an Exception that is thrown by execution but is never caught by the program, which results in a Exception Stack.

An unhandled exception is an Exception that is thrown by execution but is never caught by the program, which results in a Exception Stack.

This could be avoided by catching the exception in a try-catch statement, but it is not always appropriate to catch every possible exception. Sometimes the exception is the result of the client making a mistake rather than something that occurred where it is thrown, therefore the client should be informed of the exception. Most of the time however, it is user friendly to not propagate exceptions.

Read more here.

762 questions
0
votes
1 answer

unhandled exception whith cvCreatImage in visual studio 2010

I am using openCV2.3.1 on windows7 in visual studio 2010, and whenever i try to create an image with cvCreateImage() it gives an unhandled exception. But when I try my code on code blocks it runs without errors. here is my code imgToTreate =…
0
votes
1 answer

Unhandled Exceptions in ASP.Net IIS 7

IDE: VS 2010 OS: Windows 7 IIS: 7.5 Mode: Integrated. .Net: 4 Language: C# I have an asp.net application (not MVC) and I'm trying to catch all unhandled exceptions. I've tried with global.asax -> Application_Error, but I read that because of…
Devaffair
  • 182
  • 14
0
votes
0 answers

Unhandled exceptions

In my VS2012 VB.net application I have a section of code that is called for UnhandledExceptions. My question is this: After an unhandled exception occurs, is it possible to continue code execution at the next line. Like the "on error resume next",…
user1690531
  • 231
  • 1
  • 6
  • 17
0
votes
1 answer

Exception without YSOD

So I set up my Global.asax file to email me when an unhanded exception occurred. I get an email with exceptions that don't appear to the user, and the code appears to be working just fine at the client end and the page loads and does what is…
Stuart
  • 1,544
  • 5
  • 29
  • 45
0
votes
1 answer

VS2012 Crashes Loading Resource File with Byte Array

I used to use VS2010, which had no trouble loading System.Byte[] (byte array) from a resource file, however now when I open the same resource file with Visual Studio 2012 (VS2012) crashes. Here is a format copied from the Resources.resx file: …
0
votes
1 answer

error pressing key programmatically

I have a C# application and an embedded browser in it; its task is to go to my web site and right click on a link and press 'r' so the properties window appears (I move the mouse with code). It works on my laptop perfectly, but when I install it on…
Arash khangaldi
  • 110
  • 2
  • 15
0
votes
1 answer

Reason for C++ Destructor error when using this pointer?

I have been working on a code in which I have a lot of classes. I am allocating memory to different arrays of objects in constructor. However I had a strange error while I thought everything was ok. for an example lets say I have a class named…
masad
  • 1,547
  • 1
  • 18
  • 40
0
votes
1 answer

Salesforce: How do I get a flow to realize that it needs to pull information from the account is referenced in my apex scheduler?

I am new to apex and have built an apex schedule class that runs everyday. If an account has an account review date for commissions is two weeks (14 days) away the scheduler will send an email to our Sales Department. The email contains a link to a…
0
votes
0 answers

Unhandled exception, access violation writing location

I'm writing a program in C++ using Visual Studio 2012. The program requires two devices to be connected to it: a pressure sensor and driver that controls a motorized platform. The program worked fine when I wrote all the driver code in main. The…
0
votes
1 answer

Quartz.net Job unhandled exception behaviour

I am implementing quartz.net scheduler to my project, and have some questions about the workings of this library: What happens if one job raises an exception without a catch block (unhandled exception)? Would this cause the process to terminate and…
Johnny_D
  • 4,592
  • 3
  • 33
  • 63
0
votes
0 answers

WPF Designer Error

Every time i edit a control or Item using the designer, or code.. The designer gives an exception, yet if i reload the designer it shows the view again, in design view. Then when editing it will, show the same error once again. .. And i can't figure…
Graham Warrender
  • 365
  • 1
  • 8
  • 20
0
votes
1 answer

Load empty database table

I am using SQL Server Express and VS2008. I have a database with a table A, which has a column ID as IDENTITY. The ID is auto-incremented. Even if the row is deleted, the ID still increases. After several data manipulation, the current ID has…
0
votes
1 answer

Unhandled Exception Django

Trying to set up a django app (Snapboard) on Hostgator with FastCGI, but getting an Unhandled Exception error after running syncdb. Any ideas as to why this is caused, or how to fix it, are greatly appreciated Caveat: The app is set-up to run on…
Nick B
  • 9,267
  • 17
  • 64
  • 105
0
votes
0 answers

Unhandled exception - Expression cannot be evaluated

Software environment: Visual Studio 2008 C++ project I have a code that builds fine. However when I start to debug the code it spits out the following error: Unhandled exception at 0x7694b9bc in xyz.exe: Microsoft C++ exception: CDBException at…
sriramn
  • 2,338
  • 4
  • 35
  • 45
0
votes
2 answers

.NET WinForms app crashing on exit with unhandled System.NullReferenceException

I have a WinForms app that contains a single form with a background worker. The form contains a button that starts the background worker via RunWorkerAsync() and another button that will exit the application. About 1/3 of the time, after the…
bmt22033
  • 6,880
  • 14
  • 69
  • 98