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
-1
votes
2 answers

an unhandled exception is occured in myproject.vshost.exe

I am creating a windows application using 3rd party dll. They had given some predefined methods to use. There is a method SetTag() which is use to update a value. Now my work is to get data from tcp client and send to this method. My tcp part is…
mahua22
  • 141
  • 1
  • 4
  • 12
-1
votes
1 answer

Unhandled exception when reading from disconected socket

I already do know, that it is impossible to simply detect if socket is disconnected or not - the server and clients must shout "Can you hear me?" and "Yeah I can." just like we do on skype. But when boost::asio socket is disconnected from other side…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
-1
votes
1 answer

InvalidOperationException was unhandled - why?

First of all, at the beginning of my code I declare an ArrayList public ArrayList ArrivalsInApp = new ArrayList();. Then, much much later, I am downloading some data from XML file. For each XmlNode called "flight" I am creating a Panel. While…
-1
votes
1 answer

OpenGL exception at debugging

here is the code to draw fractal geometry of Sierpinski's Triangle there is no error but at the debugging an unhandled exception rises: Unhandled exception at 0x77e115de in LastFractLast.exe: 0xC0000005: Access violation writing location…
-2
votes
2 answers

Issue when writing a simple code using for loops

this is the error : Unhandled exception at 0x00007FFD16B7FE7C in Project1.exe: Microsoft C++ exception: std::out_of_range at memory location 0x0000000B2FAFF760. here is the code : #include using namespace std; int main() { …
-2
votes
1 answer

Facing issue with mysql database with node js

i have created express app with mysql database. when i call mysql query it works fine and then i call my view. loading view take few minute(2-3 min) and app crashed with bellow error. events.js:287 throw er; // Unhandled 'error' event ^ Error: read…
-2
votes
2 answers

I do not know what the problem is ? Make a multiplication with entered number

I am a newbie c# user and ı am doing some practice with w3resource.com, it is the question: Write a C# Sharp program that takes a number as input and print its multiplication table: and this is my Console.WriteLine("Enter a number : "); int number…
-2
votes
1 answer

An unhandled exception of type 'System.NullReferenceException' occurred in Software.exe C# Visual Studio 2015 WINFORMS

I have watched an youtube tutorial:- https://www.youtube.com/watch?v=nLfzH4xOVqo&t=197s and tried to use some lines of code which worked for him but not for me. I have been searching for the error but didn't found a working solution. Following is…
karan ugale
  • 123
  • 9
-2
votes
1 answer

How do I fix this username verification in c# with file handling?

So this section of code is a small part of my program. It essentially reads through the file of user information which stores full names, bank balances, usernames and passwords. My question is, why when I enter a username that is NOT in the file, it…
-2
votes
1 answer

throw new exception("Test"); does not throw my text

throw new Exception("Test"); only Throws I can't get my Text in there... I also tried throw new ArgumentException("Test"); and with a try catch and without. But it is my written throw that makes the window. Edit: Im working my way around so it…
Henrik Wilshusen
  • 289
  • 1
  • 11
-2
votes
1 answer

Unhandled Exception (C)

I'm try to make a program that import a grid from a data file and does something with it, but I'm running into problems when trying to import the grid into a multidimensional array. I'm getting an "Unhandled Exception" error with the if-else…
Dominic
  • 1
  • 1
-2
votes
1 answer

C# User Defined Exception handling for Erroe from Dll get Exception was unhandled by user code

i am working with dynamic c# application that links all the classes into the main application from the Dll files that i create separately, in these files when i connect my dll file dynamically the error handlers want throw the errors by the…
Aylian Craspa
  • 422
  • 5
  • 11
-2
votes
1 answer

C# - Syntax error in INSERT INTO statement (An unhandled exception of type 'System.Data.OleDb.OleDbException' occurred in System.Data.dll)

System.Data.OleDb.OleDbCommandBuilder cb; //command builder cb = new System.Data.OleDb.OleDbCommandBuilder(boosterbaseDa); //re-establish temporary connection DataRow dRow = boosterbaseDs.Tables[drpCardSet.Text].NewRow(); //create…
-2
votes
2 answers

Access violation reading location 0x00000000 despite no pointers

Unless I am mistaken, "Access violation reading location 0x00000000" means you are trying to deference a pointer that has yet to be initialized, which is why I'm stumped at this error. Pasted below is my code, with a comment indicating where the…
-2
votes
1 answer

Unhandled exception at 0x00945BA9 in uva-408.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x00092FC4)

When this program ran with input 63923 99999, it stopped giving the title message . Anyone please help me to figure out what i am doing wrong with this code. After checking with some assert inserting and even doing debug i can't able to figure out…
user3708629
  • 153
  • 1
  • 1
  • 7
1 2 3
50
51