tag used for unhandled error or Exception thrown by code
Questions tagged [unhandled]
170 questions
0
votes
2 answers
How can I add a contact to a list/audience in Mailchimp using its own library via Node JS
The code below is the API call to add a contact to a list/audience programmatically using Node JS and the Mailchimp library. Documentation is found on:…

SHINEILCHI
- 29
- 5
0
votes
1 answer
What should I do with unhandled exception
I tried a lot of things to do but it still show me the same, that there is unhandled exception: access violation writing location in VS. But it doesn't happen when i sorting 1d array. What can I try next?
int main(void) {
static int a[3][4]{},…

Đorđe
- 1
0
votes
1 answer
Unhandled promise rejection. Can't connect to server
I was wondering what I'm doing wrong here.I couldn't connect to the server and gives me a message that a promise was rejected and was not handled by catch(). Am i missing an async function somewhere? Thanks in advance.
const mongoose =…

Thomas
- 11
- 2
0
votes
0 answers
unhandled Exception C#
I have a C# project which is an exe file (console app) and some dlls and one dll ist written in C++. On Winodws 10 it runs fine and on a Win 7 too. But on a Win 7 and Win2008 Server on a Virtual Maschine I get an unhandled exception. In the main…

Fellnase
- 103
- 1
- 9
0
votes
2 answers
Problem while dealing with sendgrid API with Node.js
app.post('/users/update',async(req,res)=>{
try{
const user = await User.findOne({email:req.body.email});
if(!user)
{
return res.send({message:"Email ID not registered!"})
}
//…

Krab
- 23
- 3
0
votes
2 answers
Keeps giving me Unhandled Promise Rejection Warning and I'm unable to spot the error
Here's my code, I have a command handler btw.
const Discord = require('discord.js');
const bot = new Discord.Client();
const token = 'hidden';
const sqlite = require('sqlite3').verbose();
const dayno = '0';
const PREFIX = '$';
const fs =…

Asim
- 7
- 1
0
votes
1 answer
Nodejs duplicate rejection (unhandled one and in a try/catch block)
By using node js 12.16.1 LTS
I don't understand why this piece of code leads to a double rejection (one unhandled and one catched).
When I remove the p promise and await p in create_bug(), it works well (Only one rejection catched in a try catch…

Guilmort
- 41
- 1
- 5
0
votes
1 answer
getting error "value '0' is not a valid value"
EDITED:
i am writing an autoclicker and its almost done but it has a weird problem...
in btnStart event i have written:
if (listViewPositions.Items.Count == 1)
{
ClickIntervalStr1 = (listViewPositions.Items[(1) - 1].SubItems[(3) -…

hamidrezas120
- 35
- 1
- 8
0
votes
1 answer
c# Catch all unhandled exceptions from external dll project
I'm trying to develop a dll project in C# which has to be able to catch all unhandled exceptions of the project that references it.
The idea is include this dll in any type of project (mvc, web api, other dll projects) and catch and log in a DB the…

Dalamar
- 107
- 1
- 1
- 7
0
votes
0 answers
Newbie's Weka problem - Unhandled Exception
I am a total newbie to the weka software and in addition a newbie to java syntax. As a school task we need to write a simple java code for direct usage of neural network classifiers. So I did that but I have troubles compiling in the line data…
0
votes
1 answer
Linq to sql unhandled exception from update stored procedure
I have a simple Linq dbml class, containing 1 table. First I have it configured to "Use runtime" to do the updates. Throgh the UI, I'm intentionally updating a column to a wrong value. Then calling dataContext.SubmitChanges throws an error, which is…

tovker
- 1
- 2
0
votes
0 answers
Need help fixing Exception Unhandled
I am getting the following error:
System.ArgumentOutOfRangeException: 'Index and length must refer to a location within the string.
Parameter name: length'
(Look for Bold Italic on code *** that's where it is taking me to fix that)
Not sure what…
0
votes
1 answer
why is there an unhandled 'error' event in javascript
I have the following error and I would like to know why it is there and/or how to remove it:
events.js:174
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::8080
at Server.setupListenHandle…

The HungryIronApple
- 45
- 8
0
votes
4 answers
How to fix " [ERROR: The method '[]' was called on null. E/flutter (18386): Receiver: null"flutter
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:dio/dio.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'Models/UserData.dart';
class LoginScreen extends StatefulWidget {
…
user12046110
0
votes
2 answers
Unhandlel promise rejection warning
I'm using Promise.reject
I've got this warning: Unhandled promise rejection warning: version 1.1 is not released
how can I solve this warning ?
Thanks for your help
public async retrieveVersionFromJira(versionName: string): Promise…

jeremy
- 165
- 10