tag used for unhandled error or Exception thrown by code
Questions tagged [unhandled]
170 questions
1
vote
1 answer
Maze Generator Uncaught Type Error in Javascript
I'm trying to create a random maze and, for the most part, have the logic and code figured out. However I keep getting the same error every time the maze randomly generates: "Uncaught TypeError: Cannot read property '(insert number)' of undefined."…

MehLdy
- 57
- 1
- 7
1
vote
3 answers
Node - How to catch split() error?
I have a question about NodeJs. Since 6.6 it say when unhandled promise can't be fetched.
To avoid that, I red I need to catch the error, but... If I got that, how should I proceed?
args[1] = args[1].split('!')[1].split('>')[0]
I tried to add…

Izio
- 378
- 6
- 15
1
vote
2 answers
Unhandled rejection rangerror: invalid status code: 0
I'm getting this problem and I can't get out of it.
What I'm going to do it's to publish "a post" (json), save it into MongoDB.
exports.create_a_topic = function(req, res) {
return new Promise((resolve,reject) => {
var newTopic = new Topic({
…

JackLametta
- 400
- 1
- 2
- 21
1
vote
0 answers
(node:1122) UnhandledPromiseRejectionWarning
Im creating an algorithm using Node.js. I have all of my data linked up to a firebase database and am trying to revive. The problem is i need a lot of requests and after i try to execute around 5-8 requests i receive the error-
(node:1167)…

Samuel Aubin
- 1,653
- 2
- 9
- 6
1
vote
2 answers
unhandled promise rejection error in angular2 migration into final version
I tried to migrate from Rc5 into final version of angular2. I changed module.ts and system.config.js files,also moved all the directives into @ngModule.But now I get following error ,I don't know where is the source of this error? and how can handle…

Maryam Gharibi
- 531
- 1
- 5
- 13
1
vote
2 answers
C# An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Not sure what I'm doing wrong here. I have a program that asks for an input, 1 of 2 options, and then displays the cost of the associated option.
I am getting the error message "An unhandled exception of type 'System.FormatException' occurred in…

purplemonkeydishwasher
- 55
- 1
- 12
1
vote
0 answers
0xC000041D: An unhandled exception was encountered during a user callback
I am encountering the error '0xC000041D: An unhandled exception was encountered during a user callback', when I run the OpenGL code. Th debugger indicates that the error occurs here:
The function where the error occurs and calling functions are…

wateva
- 335
- 1
- 3
- 12
1
vote
1 answer
Message=A generic error occurred in GDI+. Cannot pinpoint location in code where error occured
There are many variations of this question but I am unable to find the answer I need. The only thing I have to show is the stack trace (which is similar to other stack traces posted for this question) From the trace, I cannot determine where in…

Algodevguy
- 31
- 6
1
vote
1 answer
Unhandled exception: Parameter is not valid
I'm new programmer and trying to make a program with c# which clicks on specific coordinates on the screen and search image from screen, and when find it to click on it. Program is working fine but after 30-40min get crash. When it crash window pop…

UncleScroogeACE
- 13
- 1
- 4
1
vote
1 answer
C# console application - Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application
Unhandled exception while finding the Available and free Ram space.Getting exact answer in windows forms application while displaying details in a textbox but getting exception in console application.I've added all possible references..Not showing…

METALHEAD
- 2,734
- 3
- 22
- 37
1
vote
1 answer
Android(Unhandled exception: org.json.JSONException)
guys. Can't output JSON string/object into TextView.
Started programming in Android Studio few day ago, so...need your help, guys.
I have mainActivity, AllProductsActivity and EditProductActivity. All product activity getting JSON array from mysql…

unleashyourmind
- 21
- 1
- 3
1
vote
1 answer
UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException
I want to set UnhandledExceptionMode.ThrowException for the current AppDomain and not only for the Application-Thread. An exception from another thread should be handled by my CurrentDomain_UnhandledException event handler, too. Is this possible?…

PhazBlue
- 79
- 8
1
vote
3 answers
Getting Windows error reporting dialog
In my C# app, even I handle exception :
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
and then…

Pablo
- 28,133
- 34
- 125
- 215
1
vote
1 answer
Getting an unhandled exception with a defined catch block
So I'm working in VB.Net and I am occasionally getting an unhandled exception. What I don't get is that I have a catch block for said exception.
Here's a sample of what I'm talking about.
Try
If MyTask3 IsNot Nothing Then
…

fmarcelino
- 63
- 4
1
vote
2 answers
How do .NET AppDomains keep the hosted process alive?
Say I have two AppDomains within a .NET/CLR process.
One of the AppDomains crashes due to a unhandled exception.
Would the other AppDomain still be running fine? What if the default AppDomain crashed otherwise?
I am just wondering on what keeps a…

Xanather
- 47
- 4