error

JVMXM008: Error occured while initialising System ClassException in thread "main" Could not create the Java virtual machine.

I am unable to execute the java command in a specific folder , throwing error as below JVMXM008: Error occured while initialising System ClassException in thread "main" Could not create the Java virtual machine. With same user, I am able to run java in home directory but I am not able to run in application config directory. echo $JAV...

ORA-02437: cannot validate <name> - primary key violated

Hi, I have a table: CREATE TABLE MY_TABLE ( MY_ID NUMBER NOT NULL, COLUMN_1 NUMBER, COLUMN_2 NUMBER ); ALTER TABLE MY_TABLE ADD CONSTRAINT PK_FOO PRIMARY KEY (MY_ID); at a later point, when executing the following sql, I get an error: ALTER TABLE MY_TABLE DROP PRIMARY KEY DROP INDEX; ALTER TABLE MY_TABLE ADD CONSTRAINT PK_FOO P...

non lazy ptr linking error - the solution

I have received many errors while trying to Build & Run my iphone app using the xcode. All the errors stated "non lazy ptr" for the used variables in the code. The solution for me (and for all of you) is to look for the correct framework to be used according to the Simulator and Device versions the code will be running on. At first i hav...

What is SQLite3 Disk I/O Error in Cocoa

I am programming in snow Leopard 10.6. My application opens up a locally stored database successfully, but when it tries to insert into the database, I continue to receive 'Disk I/O error". Anyone has any ideas as to what could possibly cause this? Thanks Yang ...

Whats wrong with this [reading input from a text file in Matlab]?

I have a text file (c:\input.txt) which has: 2.0 4.0 8.0 16.0 32.0 64.0 128.0 256.0 512.0 1024.0 2048.0 4096.0 8192.0 In Matlab, I want to read it as: data = [2.0 4.0 8.0 16.0 32.0 64.0 128.0 256.0 512.0 1024.0 2048.0 4096.0 8192.0] I tried this code: fid=fopen('c:\\input.txt','rb'); data = fread(fid, inf, 'float'); data but I a...

Visual Studio 2008 project not building after beign moved to a new machine

I moved one of my VS projects (C#) from one machine to another (SVN checkout) and when I'm trying to build it there I'm getting the following error: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. That doesn't give too much information about the nature of the problem. Th...

unterminated string literal

i'm using jquery to output the results of a json string created by php from a database, the only problem is, that some of the data is on multiple lines... how would i get around this causing a unterminated string literal error in javascript? ...

Application crashes with Exception when using javax.microedition.media.Player

Hi, I have an application that processes data from bluetooth and send it to the web service. Recently there was a request to add sounds to the application. Now when the application processes batches of data and the player is playing constantly after a few secs I get "Application is not responding" exception. And then the process is term...

Linq to SQL error : An order by expression can only contain non-constant scalars...

I'm using a GridView and a LinqDataSource to view the Categories table. I set the Gridview to enable sorting. Sorting generally works except when i clicked on the header of the Description column. "An order by expression can only contain non-constant scalars that are order comparable by the server. The expression with type 'NText' is no...

HRESULT 0x80131047 exception in Microsoft Visual Basic 2008 express when debug

i get a HRESULT 0x80131047 exception in Microsoft Visual Basic 2008 express when debug my application. this happens whenever i click "start debugging" and it doesn't matter what application i load. this is a brand new vista x64 bit machine with a fresh install of VB2008 express. ...

How do i use Application_Error in ASP.NET MVC?

Hey I want to use Application_Error with my MVC project, but i can't get it to work. I add the following to my Global.asax file: protected void Application_Error(object sender, EventArgs e) { Exception objErr = Server.GetLastError().GetBaseException(); Session["Test"] = "Message:" + objErr.Message.ToString(); ...

Unable to register VB ocx components (err 0x80040201)

Hi, I have a problem trying to register some ocx files. When I execute regsvr32, it returns 0x80040201 error code. I'm using win xp SP3 and my user has administrator permissions. When I try to register them with another user on the same machine I can do it without a problem, and both users are administrators and have "total control" p...

JQGrid in MVC app Add form error on submit click

Hi - I am trying to use the JQGrid plugin and have run into an issue I can't seem to get around. First I'm using the latest version on the grid (3.5.3) in an ASP.NET MVC app. Almost everything is working great - loads my data, edit form fires the correct Controller method. My issue is with the Add record Form. The form displays fine but ...

Ajax response empty string when triggered via form onsubmit in firefox, but working fine in internet explorer and opera (works in firefox if send by submit button instead of form onsubmit)

Ajax response empty string when triggered via form onsubmit in firefox, but working fine in internet explorer and opera (works in firefox if send by submit button instead of form onsubmit) I am simply calling a php file with the ajax GET and the php file response with - echo $response = "something"; . Then the response value is alerted...

Why am I receiving a low level socket error when using the Fabric python library?

When I run the command: fab -H localhost host_type I receive the following error: [localhost] Executing task 'host_type' [localhost] run: uname -s Fatal error: Low level socket error connecting to host localhost: Connection refused Aborting. Any thoughts as to why? Thanks. Fabfile.py from fabric.api import run def host_type(): ...

parsing new lines in jquery

I've recently asked and had answered this question and it's stopped the issue of the string literal error, however it's now caused another problem $(document).ready(function() { $("#message-list .message").click(function() { var msg_id = 1; msg_id = $(this).attr('id').split('-')[1]; $.ajax({ type: "GET", url: "ge...

J2EE:error in displaying ERROR page

i have created a jsp contains <% int i=10; if(i==10) throw new ArithmeticException("ItsMyGenExcepetion"); %> i have made entry in web.xml <error-page> <exception-type>java.lang.ArithmeticException</exception-type> <location>/errordisplay.jsp</location> </error-page> i have my errordisply.jsp contains <%@ page isErrorPage...

Handling Errors (e.g. OutOfMemoryError) within servers

What is the best practice when dealing with Errors within a server application? In particular, how do you think an application should handle errors like OutOfMemoryError? I'm particularly interested in Java applications running within Tomcat, but I think that is a more general problem. The reason I'm asking is because I am reviewing...

XCode linker error : library not found for -lAdMobDevice

Hey Guys, I am trying to build lite version of my iPhone application using AdMob. I followed the guidelines here http://www.iphonedevsdk.com/forum/iphone-sdk-development/11358-creating-lite-version-app.html and created two different targets. In the lite version I added a macro called LITEVERSION which I am checking using #ifdef and doin...

WPF WebBrowser events for HTTP errors?

I have a WPF application and I'm using the WebBrowser control to display some content from a public website. Sometimes in weird edge cases when the network connectivity is flakey, the web browser will show the "This program cannot display the webpage" error page. Is there some way to listen to the WebBrowser to detect when this occurs,...