error

Javascript works in FF and IE .. but Chrome says "cannot call method of null"!

The code that contains the error is: var Slide = new Class({ initialize: function(triggers, panels) { this.triggers = $(triggers).getElements('a[rel=content1-1]'); this.panels = $(panels).getElements('ul[class=rel-content1-1]'); this.active = -1; this.toggle(); }, ... }) This is called from late...

Add custom messages in assert?

Hello, exists a way to add or edit the message thronw by assert. I'd like to use something like assert(a==b,"A must be equal to B"); Then, the compiler adds line, time and so on.... It is posible? ...

EXC_BAD_INSTRUCTION on start of app on Device, and no image on Simulator

Hi, I have the above mentioned problem, with an app wich used the AdMob SDK. I'm using latest SDK of AdMob, on 4.0.1 iOS SDK. My problem consists of two parts: In the Simulator, the app boots, and outputs through NSLog that an ad has been received, but the whole screen stays black (my UI is not showing) On the Device, the app won't b...

1347 errors in iOS SDK 4.1

Hi, I had tried to build my iPhone app and got 1347 errors! What did I do wrong? You can download a txt file with my errors here: http://www.mediafire.com/?jlabh2ms21z6r24 Sorry, I had to upload a file, because of limited characters... Did any one else had the same problem and can help me? esanits ...

JavaScript undefined function

This is really irritating. I have looked over the code continuosly but I cannot see why I am getting "undefined" thrown at me. <html> <head> <link href="../../style.css" rel="stylesheet" type="text/css"> <script type="text/javavscript"> function test() { alert("yey"); } </script> </head> <body> <div id="L1" onmo...

Flex, FileReferences upload() error in firefox

hi all. swf file in https zone, upload script in http zone. File upload fine in ie, and not work on firefox, opera. this code: request.url = this.main.serverHostUpload + "/upload_web.php"; request.method = URLRequestMethod.POST; request.contentType = "multipart/form-data; boundary=" + UploadPostHelper.getBoundary(); request.data = ne...

Android service error handling

What is best way for services error handling? For example, I have service which get some information from Internt, I want show to user some dialog with message when connectivity is bad. Or if I have some Util class for parse HTML that used by my service and exception occures in this Util class. How to show dialog? As I know DialogBuilder...

Exif Data Error - Incorrect APP1 Exif Identifier Code

Hi, In my PHP app, I am retrieving exif data from uploaded images. I am performing the PHP exif_read_data function on images but some throw the following error - [<a href='function.exif-read-data'>function.exif-read-data</a>]: Incorrect APP1 Exif Identifier Code I think that these images that have been processed through software afte...

WCF and IIS error 500 when using diagnostics

I have problem with WCF on IIS when using diagnostics. When I call the service I get the following error: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.. If I remove "system.diagnostics" section I dont get error 500 but I get an error The requested service, 'http://localhost/Cu...

Capturing multiple error messages from a single statement.

I am running a batch of statements on several columns and tables and want to retrieve information on what errors occur. The statement is a type change (varchar to nvarchar) and when it fails, it seems to return 2 errors. Msg 5074, Level 16, State 1, Line 1 The object 'DF_XXX_YYY' is dependent on column 'YYY'. Msg 4922, Level 16, State ...

error: nested functions are disabled, use -fnested-functions to re-enable

I'm getting error: nested functions are disabled, use -fnested-functions to re-enable. Could be a syntax. I just can't wrap my head around it. - (NSArray *)sortedVariants { NSInteger alphabeticSort(id object1, id object2, void *reverse) { if ((NSInteger *)reverse == NO) { return [[object1 name] localizedCaseInse...

error CS0006: Metadata file 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\...\some.dll' could not be found

Hi, I am experiencing this problem very often at my hosting server. The error starts happening occasionally for random DLL and until I ftp the web.config file again (even the same file), the error goes and the site starts working fine. I am posting the exception and stack trace below. Please help... Exception: error CS0006: Metadata...

Out of memory at line 12

I've developing a website in localhost. I'm using jquery, some javascripts, CSS and HTML. When I try to load the site with IE, an error message pops up saying "Out of memory at line 12". I clicked "OK' and it continues working fine. The message however doesn't show up in Chrome or Firefox. Can anyone tell me why is it so. How can i fix i...

Error when installing the ADT plugins in Eclipse

I'm using Eclipse 3.5.2 and when I followed the steps on this tutorial(http://developer.android.com/guide/developing/tools/adt.html). I got an error message during the last steps. An error occurred while installing the items session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine...

how to use the windows login credentials for proxy authentication using C#

Is it possbile to use the windows login credential for proxy authentication using C#. I have a facebook application, which calls the facebook methods. During every facebook call, it gives an error "407: proxy authentication required" The following code will allow the user to set the proxy :- WebProxy oWebProxy = new System.Net.WebProx...

How can I continue with a loop when an error occurs in MATLAB?

I'm converting some .dat files into .mat files using a function. I'm calling this function inside a loop to convert a number of files. There are some cases where my .dat file is corrupted and the function cannot convert and an error occurs, stopping the loop. Now my question is: Is there any command wherein when the error occurs it shou...

ASP.NET - Error/Exception Handler (looking for some project)

Hi I'm newbie when talks about Error Handling. It's a subject that i want to study but right now i just don't have free time, so i'm looking to implement an error/exception handler one a few projects i've developing last weeks (C#, .NET 3.5). What do you recommend me to implement for this? Other point is where to store the errors logs....

Visual Studio - Post Build Event - Throwing Errors

I've got a nice power-shell driven post-build script that does some magic mumbo-jumbo for pulling all our plugins into the correct location after they're compiled and sorting out thier dependencies with the master-project of the solution. My problem is, occasionally when I do something stupid, I can end up in a state where my script can...

Works on Localhost, But Getting Error When Deployed to the Server

Hi, My site is working fine on my localhost. But, when I upload the latest stuff to the server, I get the following error: [13-Sep-2010 20:40:22] PHP Notice: Undefined variable: query in /home/mysite/public_html/zendamf_remote/MyScoreData.php on line 143 [13-Sep-2010 20:40:22] PHP Warning: mysql_fetch_object(): supplied argument is n...

Uncaught reference error: quickread is not defined

I get an UncaughtReferenceError: QuickRead is not defined on line 10 which is QuickRead.applyToLinks(); I am using the script from here http://www.readshout.com/quickread and I believed I followed all the directions it has to use it, yet its not working. <!DOCTYPE html> <html> <head> <title>test</title> </head> <bod...