Questions tagged [unhandled]

tag used for unhandled error or Exception thrown by code

170 questions
2
votes
3 answers

Why am I getting a FormatException was unhandled error?

I have created a program, and a extensive test of it, I'm getting a error that says "FormatException was unhandled, Input string was not in a correct format". The problem occurs when I leave either of the text boxes blank and press the 'Finished'…
Danny
  • 601
  • 2
  • 9
  • 11
2
votes
6 answers

VS2008 Debugger does not break on unhandled exception

I'm having an odd problem with my vs debugger. When running my program under the vs debugger, the debugger does not break on an unhandled exception. Instead control is returned to VS as if the program exited normally. If I look in the output tab,…
Metro
  • 1,464
  • 14
  • 24
1
vote
2 answers

Linq Aggregate produces error: "Exception has been thrown by the target of an invocation. // Unhandled Expression Type: 1001"

The following line of code keeps crashing on me with: "Exception has been thrown by the target of an invocation. // Unhandled Expression Type: 1001" Can anyone tell why just by looking at it? myList.Aggregate((curmax, x) => (curmax == null ||…
HerbalMart
  • 1,669
  • 3
  • 27
  • 50
1
vote
1 answer

VB.NET - NullReferenceException Unhandled

Usually I handle my bugs by myself but this time I need help of experts! This never happened to me, and the less data one has (usually) the less you can say what happened. I am trying to write a simple query analyser. I randomly receive these kind…
Pete
  • 77
  • 3
  • 10
1
vote
1 answer

StackOverflowError in XMLModelUpdater.changeStructuredDocumentRegion

Eclipse has just today taken to giving me an error every time I try to create a new file. A window pops up saying Unhandled event loop exception java.lang.StackOverflowError when I open up the error in the log, it…
DefZep
  • 153
  • 2
  • 11
1
vote
1 answer

Function is executing even after leaving the page React js

When I navigate from home i.e, "/" to "/realtime" useEffect hook start the video from webcam, then I added a function handleVideoPlay for video onPlay event as shown below.
1
vote
1 answer

Unhandled exception details in Glassfish

I would like to see the exception details when an unhandled exception thrown in Glassfish (In the web page, not logs). This error page shows but there's no useful information. Is there an option to view more details of it when an exception thrown?…
Seregwethrin
  • 1,319
  • 2
  • 13
  • 24
1
vote
0 answers

Error unhandled exeption [177] Stack Overflow

So I am new to flutter and trying this video I saw. (I am almost finished actually) and at the video, the instructor used to try and catch statements as examples when an error occurred. It does work on him but not on me. so I deleted my try and…
1
vote
1 answer

Cannot set headers after they are sent to the client and Unhandled promise rejection

This code block always gives me the error - UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated…
1
vote
1 answer

How can I set up log4net in dot net core to log all unhandled exceptions?

I am using the implementation suggested here for adding log4net to current dot net core project, https://thecodebuzz.com/log4net-file-logging-console-logging-asp-net-core/ (this is using Microsoft.Extensions.Logging.Log4Net.AspNetCore), how can…
Sami
  • 393
  • 8
  • 22
1
vote
1 answer

Google AdBot is causing an exception on visit that I can't track down

I have a mobile site that has a smart-phone version and a non smart-phone version and my issue is on the non smart-phone version. The version in question is built using the mobile framework so that it is more accessible. The only time I see…
Pat O'Neil
  • 51
  • 4
1
vote
1 answer

Getting error event.js:174 throw er; everytime I save any scss file

Here's a Screen Shot of the error event.js:174 I did a lot of research and googled a lot. I tried uninstalling and re-installing everything. Made new files again but still no luck. I tried on my laptop and it works smoothly without any errors. I am…
SMART BRAT
  • 53
  • 7
1
vote
0 answers

How to trace an unhandled exception in C++ using Visual Studio 2017

I am currently working on fixing a project for a client. A little information about the project first: Originally developed in Visual Studio 2012 using xp_v110 build tools Multiple projects in the solution Currently updating/debugging in Visual…
Dominick
  • 322
  • 1
  • 3
  • 16
1
vote
3 answers

Handle unhandled exceptions in asp.net

How can we prevent page crash in asp.net? Is there any generic function or place like global.asax where we specify a file to redirect to when an unhanded exception occurs? (like we redirect to a specified page when 404 page not found exception…
hotcoder
  • 3,176
  • 10
  • 58
  • 96
1
vote
1 answer

Log4Net: logging all unhandled exceptions in C# class library project

I have a C# class library project and I need to capture all unhandled exceptions in my class even if I not use try catch blocks. Note: I have already installed log4net with log4net.config and it works fine logging manually in Debug,Info,Error. Can…
ezechiele2517
  • 375
  • 1
  • 5
  • 19
1 2
3
11 12