340 questions
0
votes
0
answers
299
views
Unhandled error during execution of component update when click vue3 simpletypehead
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'length') this error was showing when i click the vue3 simple typeheaad
how to fix this error
when i click the input field in ...
0
votes
0
answers
25
views
configuring karrigell logging to log uncaught exceptions
I am managing a third-part app made with python's framework Karrigell.
I have added a new logger, my_logger, which is declared and instantiated in a file called my_logging.py
I see that the logger can ...
2
votes
3
answers
627
views
Uncaught Exception, even with Try Catch
After searching on SO, I could not find an answer to this problem. All of the questions I saw, the error was still being caught. I'm having the inverse problem. No matter how I refactor the following ...
2
votes
0
answers
94
views
Graceful finishing another thread from std::terminate
I'm considering implementation of async logging. That means that several worker threads produce messages in memory and put them into a lock-free queue, and a single logging thread consumes this queue ...
1
vote
1
answer
329
views
Cypress - RangeError: Invalid time value at Date.toISOString
I'm using cypress version 13.9.0 and I get RangeError: Invalid time value at Date.toISOString on cy.reload().
Any ideas how to overcome it?
waitForUpdate(employeeId, employeeName, employeeEmail) {
...
0
votes
0
answers
78
views
Uncaught runtime errors: ERROR JSON.parse: unexpected character at line 1 column 1 of the JSON data
I copy pasted a gfg code (https://www.geeksforgeeks.org/how-to-connect-mongodb-with-reactjs/) which connects mongodb with react.I followed the steps as mentioned but got the error "Uncaught ...
0
votes
1
answer
98
views
uncaught exception: error(instantiation_error,(=<)/2)
Im trying to code a board thats 7x7 and I need to set and check the limits of the board, so I made de following function:
lim(X, Y) :-
X =< 7,
X >= 1,
Y =< 7,
Y >= 1.
But ...
1
vote
2
answers
235
views
Non-existing service after the upgrade
I upgraded my Contao website from 4.13.38 to 5.3.1. Everything was successful, Contao Manager is working okay, but the website is not functioning. The error is logged in var/logs and points to a non-...
0
votes
0
answers
104
views
Uncaught in Promise handlerror (Axios Error) in ReactJS
So I am making a blog application.
I have used an axios inceptors concept name is api.js -
import axios from 'axios';
import { API_NOTIFICATION_MESSAGES, SERVICE_URLS } from '../constants/config';
...
0
votes
0
answers
182
views
Assistance with "the path argument must be of type string"
I am attempting (without any actual good knowledge of JS) to change location a program looks in for a "history" folder for a 2nd program. I've tried one method which failed miserably. Upon ...
1
vote
1
answer
510
views
Cypress 13.5 - Cannot use import statement outside a module
I am trying to execute a simple program to visit a page -
describe('Login to Tabaq', () => {
it('Login Valid Test', () => {
cy.visit('https://tabaq.ae/Login/index')
})
})
Upon ...
0
votes
1
answer
1k
views
How to fix WordPress WooCommerce Uncaught Error
I get this error when I activate my WooCommerce Plugin:
Uncaught Error: Attempt to assign property “translations” on null
An error of type E_ERROR was caused in line 81 of the file /home/sageorvb/...
3
votes
2
answers
3k
views
Loading Google Maps, a weird error : Uncaught SyntaxError: Unexpected token ? in older versions of chrome
I am getting a weird error in some older versions of chrome, probably 2019 ( I am using an embedded chrome browser ) when I try to load google maps. It does not throw an error in the current versions ...
0
votes
1
answer
969
views
Cypress "TypeError: Cannot set properties of null (setting 'onclick')"
I'm working with cypress version 12 doing a simple test that I grab a tab and click on it. I'm getting the same error over and over again. My first thought was that this happens because the element is ...
6
votes
1
answer
18k
views
(uncaught exception)Error: ResizeObserver loop completed with undelivered notifications
I am trying to get an element and use Cypress type command but getting this error: ResizeObserver loop completed with undelivered notifications. Here is my code:
`get signatureBtn() {
return ...
0
votes
0
answers
325
views
React JS with cypress getting (uncaught exception)TypeError: Cannot read properties of undefined (reading 'pathname')
I'm running cypress on my project, it's about a simple login using auth0, I'm getting:
(uncaught exception)TypeError: Cannot read properties of undefined (reading 'pathname')
on my file login.cy.jsx
...
1
vote
2
answers
968
views
Pyrogram Python fails to catch Exception
I'm trying to download pictures from Telegram with the Pyrogram API. After some images I do get ratelimited but the code fails to catch the exception an wait the given seconds.
I keep getting these ...
1
vote
1
answer
6k
views
(uncaught exception)TypeError: Cannot read properties of null (reading 'length') type error while executing in cypress [closed]
enter image description here
The following error originated from your application code, not from Cypress.
Cannot read properties of null (reading 'length')
When Cypress detects uncaught errors ...
0
votes
0
answers
88
views
Angular Electron - Uncaught Exception
So I have this Angular app that I've made for my company with a working web version but they've asked me to make it into a .exe app so I've searched for solutions. That's where I learned about ...
5
votes
0
answers
750
views
Flutter video_player plugin getting Uncaught UnimplementedError error on web
When I run the flutter app's video page on the web, I get "Uncaught UnimplementedError: init() has not been implemented." error.
On iOS or Android there is no error. Even though I ...
0
votes
0
answers
128
views
C# Try-catch block does not catch an exception it should catch
I have a C# program that scrapes news using Selenium from a website. Most news has an image on the top when opened, but some have a video instead of an image. In those cases, I want to save a default ...
2
votes
1
answer
2k
views
Javascript uncaugh error in promise even with a catch
With Javascript, I am trying to make a call to an external API when a form is submited.
I am using promises in order to set follow up actions once the call is done and to catch eventual errors.
This ...
4
votes
1
answer
3k
views
An uncaught error was detected outside of a test
When I run all my component cypress tests locally on a Macbook pro on a react-vite project with around ~10 tests, I get the following error:
An uncaught error was detected outside of a test:
...
0
votes
0
answers
72
views
(uncaught exception)TypeError: fs.existsSync is not a function
I have the following code to try to save the URL file temporarily and then call it in a test, I am using selectFile command from cypress.
cy.get('input[type="file"]').selectFile({
contents: ...
1
vote
1
answer
2k
views
Cypress cannot cy.visit() because page throws an uncaught exception
This error has prevented me from using cypress for months now 😟
/// <reference types="cypress" />
describe('User login', () => {
beforeEach(() => {
cy.visit('http://...
0
votes
2
answers
171
views
(uncaught exception)TypeError: $(...).datepicker is not a function
it('Access URL', () => {
cy.visit('URL')
cy.wait(5000)
cy.get('.login-btn').click()
})
URL is working but login click is not working.
(uncaught exception)TypeError: $(...).datepicker is ...
2
votes
1
answer
3k
views
Getting the error "Cannot find module './commands'" while trying to run cypress tests
When I'm trying to run cypress test I'm getting this error:
The following error originated from your test code, not from Cypress.
\> Cannot find module './commands'
When Cypress detects uncaught ...
1
vote
2
answers
2k
views
(uncaught exception)ReferenceError: gtag is not defined in Cypress
Im new in cypress, trying to login to my practice web, but I got problem with this gtag. The actual testing with cypress is done (user success login) but there is one error that keeps make this ...
0
votes
1
answer
2k
views
Uncaught (in promise); Thrown error in fetch() not being caught
I've already read tons of resources to try to help me on this. This gist did not solve it for me (https://github.com/github/fetch/issues/203#issuecomment-266034180). It also seemed like this (...
1
vote
1
answer
994
views
cypress.origin throws error: (uncaught exception)Error: on only accepts instances of Function
I am using Cypress with Cucumber.
I am trying to test cross origin login but the origin method keeps on throwing error:
Code:
Given(/^the user login to the Test Page$/, function () {
cy.visit("...
1
vote
3
answers
1k
views
Turn on cypress uncaught:exception after turning it off
I'm currently trying to use Cypress for the first time and turn off cypress uncaught:exception during a certain test but I would like to turn it on once the test finished.
How can I do that ? Thanks
...
0
votes
3
answers
3k
views
Where do we add global code in Cypress ver 10+?
uncaught exception
I found the following answer to solve the problem, but as you know we no longer have support/index.js file with Cypress version 10 and higher.
import './commands'
Cypress.on('...
3
votes
2
answers
7k
views
navigator.share() not working in HTTPS and in a supported browser
I don't understand why navigator.share() is giving me an error even though my website meets all of the requirements listed on MDN (has HTTPS and supported by the browser).
The following code gives an ...
1
vote
1
answer
1k
views
Cypress test fails on uncaught exception from my app - support/index.js is not working
This error is originationg from my app
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'links')
But in my support/index.js I wrote
import './commands'
Cypress.on('...
1
vote
1
answer
1k
views
MediaWiki w/.git:Unable to open all skins. throws uncaught exception
'''Fatal error: Uncaught Exception: Unable to open file /skins/MinervaNeue/skin.json: filemtime(): stat failed for /skins/MinervaNeue/skin.json'''
I tried running MediaWiki 1.38 (upgraded from 1.37.x) ...
3
votes
1
answer
3k
views
Sveltekit returning a 404 on page load triggers an uncaught exception that breaks the page
Taken directly from the sveltekit docs. When returning a 404 on page load an uncaught exception will occur that breaks the page:
<script context="module">
/** @type {import('./...
6
votes
1
answer
5k
views
What does "error: unreported exception <XXX>; must be caught or declared to be thrown" mean and how do I fix it?
New Java programmers frequently encounter errors phrased like this:
"error: unreported exception <XXX>; must be caught or declared to be thrown"
where XXX is the name of some ...
0
votes
2
answers
1k
views
Typo3 - Folder "/" does not exist - Error
I have a problem in Typo3. When I am in the backend in the filelist menu or want to link something, I get the error message: "#1314516810: Folder "/" does not exist." (see ...
1
vote
1
answer
2k
views
Three.js Uncaught Syntax error : Cannot use import statement outside a module
I'm trying to implement a 3d design file (gltf) into a website with three.js and I'm keeping having this error:
Here is the html/Javascript/CSS code :
<!DOCTYPE html>
<html>
<...
-1
votes
1
answer
3k
views
Uncaught TypeError: Cannot set properties of undefined (setting 'color')
document.querySelectorAll('button').forEach (function(button){
button.onclick=function(){
document.querySelector('#hello').Style.color=button.dataset.color;
}
});
<!DOCTYPE html>...
2
votes
0
answers
53
views
How to handle uncaught expception in proxy/registry service in node js?
We have multiple microservice projects and one proxy/service registry which all services apis register in this service. now we want to catch uncaught expections. Since all services share registry ...
0
votes
2
answers
721
views
How do I include exceptions in node winston daily rotating log?
I am trying to create a daily rotating log with log entries from throughout the application as well as uncaught exceptions:
const { createLogger, format, transports } = require('winston')
import '...
1
vote
0
answers
174
views
Cypress passes test on uncaught exception during retry attempt 2
It's a weird bug that I am experiencing.
My test fails due to a detached element from DOM(this is not the issue) and it auto-triggers a retry since I have retries enabled and set the number of ...
1
vote
0
answers
261
views
Cannot access product page in font office - Prestashop 1.7
Not sure what happened, but out of a sudden I am not able access the product page when I click on a product in my prestashop FO.
This is the error I'm getting
Fatal error: Uncaught Exception: ...
0
votes
1
answer
37
views
Should I let the app fall in the event of uncaughtException?
If no catching the event of uncaughtException, when uncaught error getting invoked, the whole node.js proccess falls. But, should we let it fall, if yes, by exit immediately or try to gracefull shut ...
0
votes
1
answer
567
views
What to do if node server falls down in container?
If an uncaughtException occurs in Docker container running node app which is wrapped by Kubernetes Pod and due to this exception the server gets down, what should I do?
1
vote
1
answer
495
views
Angular call function inside fetch (ngOninit)
I want to call a function inside a fetch, but for some reason I get the following error and can't find a solution.
Uncaught (in promise): TypeError: Cannot read properties of undefined (reading '...
0
votes
1
answer
771
views
using clang-tidy to findout all uncaught exceptions
I want to use clang-tidy to find out all uncaught exceptions by its direct or indirect caller, up to main, but this demo has no effect. Generally, I want to clang-tidy to report that the function cc ...
2
votes
2
answers
2k
views
Uncaught Error: useNavigate() may be used only in the context of a <Router> component in cypress unit testcases
I am trying to write "unit-test" for components in react with cypress.
Followed the link cypress docs on component testing
when I wrote testcase for a component and tried to run with "...
1
vote
1
answer
3k
views
How to resolve "An uncaught error was detected outside of a test" error in cypress
I am getting the "An uncaught error was detected outside of a test" issue with the following code but I am not sure why and how to resolve it? Any help would be great. Is there anything ...