error

Xcode cannnot find my plist file when building

I'm trying to build my app and every time I do I get this error: error: The file "Wallpapers-Info.plist" does not exist. Anyone know what causes this error? I have the wallpaper-info.plist file in my resources directory. G-Man ...

BlackBerry - Exception when sending SMS

This code fails, sending a text message to a mobile number. It throws an exception with message: "blocking operation not permitted on event dispatch thread". So I created a separate thread to execute the SMS code, but I am still observing the same exception. What am I doing wrong? class DummyFirst extends MainScreen { private Bi...

sqlite3 syntax error

I am having some problem with sqlite. I want to insert some data to database,however,when I use the function sqlite3_exec(db,sql,0,0,&zErrMsg);, the zErrMsg returns: near '\x90' syntax error. the code is : (void) ExecuteCommand:(NSString *)command DBRef:(sqlite3 *)db { const char *sql = [command UTF8String]; char *zEr...

asp.net c# - How YOU parse user input?

Hello all, Consider the following scenario: http://www.yourdomain.com/Default.aspx?p=2 Now we ofcourse want to check if the querystring parameter p doesnt contain errors. I now have this setup: 1) Check if p exists 2) Filter out html from p's value 3) htmlencode p's value 4) check if p is integer 5) check if p's integer exists in ...

Can't install Eclipse Valgrind plugin

I'm trying to install Valgrind (0.4.0) plugin in Eclipse from technology.linuxtools Update Site (http://download.eclipse.org/technology/linuxtools/update) but I get the following error: Cannot complete the request. See the details. Cannot find a solution satisfying the following requirements org.eclipse.swt [3.4.1.v3449c]. A...

Application Domain TypeError: Error #1034: Type Coercion failed: error of child domain.

Hello, thanks in advance.. I have a question about a TypeError: Error #1034: Type Coercion failed: error. I'm loading a SWF into my application into a child domain of the parent SWF. I thought this was supposed to allow the 2 SWF's to share the class definitions? var myContext:LoaderContext = new LoaderContext( false, new ApplicationDo...

No appropriate default constructor available?

I've got a peculiar error writing some C++/CLI code. I'm trying to make a copy of a class which holds some data. The class is defined as: public ref class RawDataPacket { protected: float* m_internalData; public: RawDataPacket(const float* newInternalData); RawDataPacket(const RawDataPacket^ rdp); RawDataPacket(RawDataPacket^ rdp)...

jQuery Validation Plugin: How to test for valid and only test for valid

Hello all, So I'm trying to find a way to have the jQuery validation plugin simply return false when the form is invalid, and not show the error messages or do anything else. But this is proving more difficult than it should be. I'm setting up the validation as such: var validator = $journalForm.validate({ rules: { EntryDate: { requ...

Problem with adding rows with JDBC and MySQL?

I'm using JDBC in sync with MySQL to add and define rows to a MySQL database's Table. The problem is that I don't know why it is throwing an Exception when I use methods from the ResultSet class to add rows to the table. Bear in mind that I've earlier tried just reading the table via ResultSet methods, and, it successfully printed out th...

Import error with virtualenv

Hi, I have a problem with virtualenv. I use it regulary, I use it on my development machine and on several servers. But on this last server I tried to use i got a problem. I created a virtualenv with the --no-site-packages argument, and then I installed some python modules inside the virtualenv. I can confirm that the modules is located...

Throw a logic error for this function

This the function. I dealt with throwing an out_of_range error and can't think of any logic error for this. Any suggestions? Thank you. int hire(Payroll * p) throw (out_of_range, logic_error){ // error if no holes left if (staffcount == MAX_EMPLOYEES) throw (out_of_range("Hire: Too many employee...

C++ fancy template code problem

Hi! I try to get a (for me) rather complex construct of templated code to work. what i have: a class shaderProperty of generic type class IShaderProperty { public: virtual ~IShaderProperty() {} }; struct IShaderMatth; //forward declaration template<typename ShadeType> struct ShaderMatth;//forward declaration template <typename T> c...

C++ problem with std::pair and forward declarations

Hi! Unfortunately I still got a problem with my templated code from here: http://stackoverflow.com/questions/1911434/c-fancy-template-code-problem on line 49 in the file 'utility': error C2440: 'Initializing': cannot convert from 'const int' to 'IntersectionData *' error C2439: 'std::pair<_Ty1,_Ty2>::second': member could not be in...

iPhone KERN_INVALID_ADDRESS at 0x6c707069

Im not sure why I am recieving this error, and Im unable to track the cause down. This only happens on the device though, Simulator runs error-free as expected. Can anyone make sense of this crash log? Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x61f6490a Crashed Thread: 0 Thread 0 Crashed: 0 ...

How to solve this error Using org.apache.xerces.parsers.SAXParser Exception

Hi I am trying to run some diagnostics on my semantics and i keep running into this error when i look on http://www.w3.org/2003/12/semantic-extractor.html my site is www.bolderentertainment.com any help would be greatly appreciated. Using org.apache.xerces.parsers.SAXParser Exception net.sf.saxon.trans.XPathException: org.xml.sax.SAXP...

knowing if a string will be truncated when updating database

I'm working on a software that takes a csv file and put the data in a sqlserver. i'm testing it with bad data now and when i make a data string to long (in a line) to be imported in the database i got the error : String or binary data would be truncated the statement has been terminate. that's normal and that's what i should expect. Now ...

"This website is temporarily unavailable, please try again later." error on Google App Engine

I recently launched a site on Google App Engine using Python. I'm in Korea, but my client is in California, USA. He and others in his area periodically run into periods of time when they receive this error message instead of the site: This website is temporarily unavailable, please try again later. I cannot figure out what is causi...

Updating sql database problem php

Hey, I am trying to make a password retrieval system on my site, and I am having problems updating the password reset field in my database. I have tried everything, but nothing seems to work. This is my code so far: $passwordreset = md5(mt_rand()) . md5(mt_rand()) . md5(mt_rand()); $con = mysql_connect("localhost","XXX","XXX"); if...

Mac OS X Debug Error

On startup of my application with gdb, I am getting weird errors that look like: unable to read unknown load command 0x22 The whole trace looks something like this: [Session started at 2009-12-17 10:28:24 -0500.] GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13 UTC 2009) Copyright 2004 Free Software Foundation, In...

IManExt ImportCmd trouble

Hi I have been writing a small application using C# to copy a document into an individuals 'My Documents' folder on our DMS server. I've beased the code around the listing provided in the 'WorkSite SDK 8: Utilize the IMANEXT2Lib.IManRefileCmd to File New Document Folders' blog. Using this code in a WinForm application I have no probl...