Tagged Questions
0
votes
1answer
12 views
PyV8 throw error into JavaScript/get current line number
I'm using PyV8 and I'd like to disallow assigning javascript objects to my python objects because of a current memory leak bug with PyV8. I came upwith this code:
def __setattr__(self, name, val):
...
4
votes
1answer
70 views
Meteor Animation
I am trying to implement an animation where an item animates to the left after it gets selected.
The following code works. But only about 80% of the time.
JS
//myItem
Template.myItem.rendered = ...
0
votes
0answers
38 views
dropdownlist list populated on client throws object reference not set to
I have a dropdownlist that is populated on client, based on the value of another dropdownlist. Specifically the values in question are years. I have one dropdownlist that have all allowed years from ...
0
votes
0answers
15 views
Rhino Shell invocation: get the line no for a JavaScript runtine exception
I have a JS script that I want to run with rhino.
On the command line I invoke
java -cp rhino-1.7R4.jar org.mozilla.javascript.tools.shell.Main -f my-script.js
Unfortunately the only output I get ...
-1
votes
0answers
42 views
Javascript error Uncaught SyntaxError: Unexpected token < (not a dupe)
I get the following error on the Chrome console but here's what's weird:
Two exact same pages with the same code: one is here
and the other one is here.
And it is only doing it on one of them ...
0
votes
1answer
65 views
Why does jQuery stop debugger?
I noticed a strange problem when enabling the "break on exception" feature, in Firefox or Chrome/Chromium. It stops on
push.apply( results,
newContext.querySelectorAll( newSelector )
);
even ...
1
vote
0answers
37 views
Debugging production uglified javascript
I am trying to create a javascript error reporting system. The aim of the system is to collect info when an exception occurs and notify our servers. The problem is that in production the code is ...
0
votes
1answer
781 views
Uncaught Error: NotFoundError: DOM Exception 8 Chrome Extension
iam trying to build an chrome extension that do actions on site,
the site have his API , for example if you click on edit link in site, in backgroung its send an API command like this ...
8
votes
1answer
101 views
Pass error reason in thrown object / How to handle errors in modern JavaScript [closed]
I am developing a small Node.js package which contains a parser. It throws as soon as it detects a non-recoverable problem.
I have used Java for quite some years and I am used to a mass of ...
0
votes
0answers
55 views
Catch exception of web start java applet
I start a java applet on my website with deployJava.js from Oracle.
var attributes = { id:'applet',
code:'dummy.Applet.class',
archive: contextPath + ...
0
votes
1answer
72 views
JScript try catch network exception
I'm writing a script that stores database backup files to multiple locations. In addition, the data is stored on a NAS, which is normally accessible. If this is not the case, the error message is to ...
1
vote
2answers
88 views
return statement in finally block
In MDN its stated,
If the finally block returns a value, this value becomes the return value of the entire try-catch-finally production, regardless of any return statements in the try and catch ...
1
vote
0answers
22 views
Break on error, but not on these specific lines?
I hope i am not alone in noticing that various versions of jQuery tend to have strange non-showstopper errors that get thrown but which are caught, and yet this tends to set off the debugger on Chrome ...
0
votes
2answers
47 views
How can I catch JS exceptions from async functions I don't control?
I know using try..catch for async functions doesn't work, and most advice I've read suggests using it inside the passed callback.
However, without control over the async function which throws the ...
-3
votes
1answer
134 views
Exception of type 'System.OutOfMemoryException' was thrown. after page load in asp.net c# [closed]
I have a web form in asp.net that every time I try to access it, it throws the following exception
Exception of type 'System.OutOfMemoryException' was thrown
It does enter the page load and finishes ...