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...
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...
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...
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
...
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...
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...
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?
...
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...
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...
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.
...
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();
...
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...
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)
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...
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():
...
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...
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...
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...
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...
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,...