Questions tagged [uncaught-exception]

UncaughtException is thrown when exception is not handled by try/catch block. UncaughtException wraps the original exception that has been occurred.

314 questions
5
votes
1 answer

How to fix crash handling in android 10

I have a Unity Scene built with Cardboard SDK and exported as a library for Android. The library is used to play videos in cardboard mode on the android app. it's not the whole app, but a part in it. The rest of the android app is built with Kotlin…
5
votes
1 answer

org.openqa.selenium.WebDriverException: unknown error: Cannot read property 'defaultView' of undefined

While executing automation scrits written n selenium using cucumber frame work iam getting the below exception org.openqa.selenium.WebDriverException: unknown error: Cannot read property 'defaultView' of undefined Previously befor spring 19…
5
votes
3 answers

UIButton addTarget:action:forControlEvents: results in [NSObject doesNotRecognizeSelector:]

I tried a lot of stuff, still no result. So I have the following button created programatically in a subclass of UIViewController: rightButton = [UIButton buttonWithType:UIButtonTypeCustom]; rightButton.frame = CGRectMake(0.0, 0.0, 110.0,…
Teodor
  • 181
  • 1
  • 1
  • 6
5
votes
1 answer

Any other method to handle Exceptions in Express node?

What follows is the method I use to handle/log all the possible exceptions in an Express application. Any other way? Error handling it's a delicate issue especially when dealing with Express. Let's start from the easiest scenario. Imagine that our…
matteo
  • 1,635
  • 1
  • 15
  • 26
5
votes
4 answers

What is this "uncaught" seen in event list in flurry site?

In flurry site, in Event logs session instead of events sometimes "uncaught" is showing .Can anyone tell what does it means? Is it any error from app side? [all events are displayed in site but in some sessions it shows one or two events then…
Sjk
  • 377
  • 1
  • 5
  • 19
4
votes
7 answers

Uncaught Error. java.net.SocketTimeoutException

I get an error when I wanna run my expo app on metro bundler. This is the error: "Uncaught Error. java.net.SocketTimeoutException. failed to connect to exp.host/104.197.216.164(port 443) from (port () after 10000ms" I tried different ways. upgrading…
user14740177
4
votes
2 answers

How to manage "uncaught exceptions" in JavaScript in order to show the error message in the user interface?

When a Uncaught Exception is thrown in some website or web application, an error appears in the Develper tools in each browser In Electron for instance, if an uncaught exception, the developer can set a listener and do whatever I want with the…
ChesuCR
  • 9,352
  • 5
  • 51
  • 114
4
votes
2 answers

Android Global Error Handling and Reporting Activity

I there any way to register a global error handler that will prevent application from crashing? Crashing reporting is described here: How do I obtain crash-data from my Android application?. One thought I had was to extend these solutions to take in…
Androider
  • 21,125
  • 36
  • 99
  • 158
4
votes
2 answers

How can I catch and/or deal with "Error #2030: End of file was encountered" on a NetConnection in ActionScript 3?

I'm currently writing a client in ActionScript 3 that talks to a Red5 application/media server via a NetConnection object. The server sends the client multiple types of data over this connection including video, audio and remote procedure calls. …
4
votes
2 answers

Prevent Sails.js from handling errors

I have a Node.js (v5.6.0, npm: v3.7.1) app running with Sails.js (v0.12.0). When I execute this code in app.js: process.on('uncaughtException', err => { //Do something }); throw new Error(); It handles my error. The problem is, after I load…
Ziki
  • 1,390
  • 1
  • 13
  • 34
4
votes
2 answers

Unable to display AdMob Banner

I am trying to ad using AdMob to display ads at the bottom of screen. I added following line in my build.gradle file to get AdMob sdk: compile 'com.google.android.gms:play-services-ads:8.4.0' After then, I added AdView in XML to show…
Geeky Singh
  • 1,003
  • 9
  • 20
4
votes
0 answers

Objective C, app crashes when changing root view controller. Orphaned without delegate (bug!)

I've implemented a dropdown menu into my iOS app that calls functions to navigate between different storyboards. Each element in that menu calls the following function in the AppDelegate class with a different storyboard name:…
Kylaaa
  • 6,349
  • 2
  • 16
  • 27
4
votes
2 answers

NSArrayM insertObject:atIndex:]: object cannot be nil'

After a lot of search, and tries with some solutions on stackoverflow, i didn't find any answer which could solve my error : I have a UIViewcontroller, who's name is WorldViewController. In this UIViewcontroller, i had init some UIViews. I want to…
4
votes
2 answers

android stop background service after activity crash

At the beginning, I would like apologize for bad english. There is my problem: I have a service in android which runs on background when is activity running. (This service synchronize user data with server with specified time intervals). public…
4
votes
1 answer

Fatal error: uncaught exception without try/catch block

I'm trying to throw an exception when a form field is empty and also when an insert query is unsuccessful. I've seen someone throw exceptions before without using try/catch blocks and without including an Exceptions class. Does anyone know how I…
Brian Houlihan
  • 71
  • 1
  • 2
  • 8
1 2
3
20 21