Hi folks,
I'm currently busy implementing a filter of sorts for which I need to generate an INNER JOIN clausse for every "tag" to filter on.
The problem is that after a whole bunch of SQL, I have a table that contains all the information I need to make my selection, but I need it again for every generated INNER JOIN
This basically loo...
ANSWER:
If you ever see these lines and are mistified like I was, here's what they mean.
Thread[AWT-EventQueue-0] (Suspended (exception NullPointerException))
EventDispatchTread.run() line: not available [local variables unavailable]
It's not that the variables are unavailable because they are lurking behind a shroud of mystery in a ...
I find myself repeating some mistakes over and over again. Some language-dependent, some not. Here are some of mine I could think of right away.
PHP:
Inside a class method, forgetting that I have to say "$self->some_method()" or "$self->some_attribute" instead of "some_method()" or "$some_attribute" to refer to my instance.
Having a d...
I found a bug in Delphi 2009's implementation of TFields and wrote a quick patch. I copied DB.pas to my projects folder and added it to the project's file list, but now I can't get it to compile. The first two error messages don't even make any sense when I go to the indicated places in the code.
Surely if anything can be counted on t...
I'm messing around with some C code using floats and I'm getting 1.#INF00, -1.#IND00 and -1.#IND when I try to print floats in the screen. What does those values mean? I believe that 1.#INF00 means positive infinity, but what about -1.#IND00 and -1.#IND? I also saw sometimes this value: 1.$NaN which is Not a Number but what causes those ...
Hi, I have a problem with the following code:
for(i = 0;(i - 1)< n;i++)
{
char* b;
sprintf(b, "%d", i);
}
It compiles fine but when I run it it give me the infamous "0XC0000005 Access Violation" error. I have tried setting b to NULL, "", "0", 0 and a bunch of other stuff but then I get the "0XC0000005 Access Violation" error or "Expre...
I'm getting the following error when I try to Serialize an HttpWebRequest
Type 'System.Net.KnownHttpVerb' in
Assembly 'System, Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089' is
not marked as serializable.
Using .Net Framework 2.0
This is one of the properties that my class holds. It's a requirement to s...
Hi all,
I am facing this "Webform_SaveScrollPositionSubmit is not defined" client side error while i click on link button inside the datalist contol and its event does not fire.
can any one tell me what is the reason for this and how to resolve it.
...
Aloha
I have a VS2008 solution to which I want to add a webservice reference. I enter an url like 'http://192.168.100.87:7001/wsdl/IMySOAPWebService'. The Add Web Reference dialog starts looking then throws me this error:
There was an error downloading
'http://192.168.100.87:7001/wsdl/IMySOAPWebService/$metadata'.
Adding the ex...
The full error is - "Value cannot be null. Parameter name: virtualPath". This is occurring in our QA and Training environments (Win 2003 Server & IIS6) but of course defies recreation in a debugger. To make matters worse, despite a reasonable global error handler, no stack trace accompanies the error and nothing is written to the event l...
I want to add an ajax:TabContainer to my webpage. I don't get any build errors, but when I try to browse to the page, it gives me the error: "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).".
I re-downloaded the Ajax Control Toolkit for the sample sites, opened the solution in VS, ra...
I'm trying to run a c++ 2d array (pretty simple file) and it works but an error (at least I think it's an error) appears on the end.
The code for the array is;
int myArray[10][10];
for (int i = 0; i <= 9; ++i){
for (int t = 0; t <=9; ++t){
myArray[i][t] = i+t; //This will give each element a value
}
}
for (int i = 0; i <= 9; +...
Hi,
I'm getting a weird error occassionally in VS2008. A colleague gets a similar error, we both noticed it after installing TFS PowerToys so I'm wondering if it's related.
Anyway the error is:
Team Foundation Error
Retrieving the COM class factory for component with CLSID{GUIID...} failed due to the following error: 80040154,
Any he...
I'm building a game and I was compiling seeing what sort of errors were coming up and there is one there is very common and very puzzling to me:
1>c:\users\owner\desktop\bosconian\code\bosconian\ship.h(9) : error C2460: 'Ship::Coordinate' : uses 'Ship', which is being defined
This also comes up for the SpaceObject class and all other ...
Failed to create component 'User Control 1'. the error message follows:
'System.NullReferenceException : Object reference not set to an instance of an object.
at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object Component, Object Value)
.............. etc..........
please help me.........
Thanx in advance......
...
I am new to c# just trying to mess with it to teach it to myself. I know java and would normally put in getter/setter methods. I am interested in doing it with the following code, but it throws a stack overflow. What am I doing wrong
Calling Code
c.firstName = "a";
Property Code
public String firstName;
{
...
I'm trying to follow the directions from this page:
http://www.opengl.org/resources/faq/technical/color.htm
regarding rendering primitives with a unique color
I've checked the number of bits for every color and the result was 8 for each.
When calling:
glColor3ui(0x80000000, 0, 0xFF000000);
and reading back the pixel with glReadPixel...
Here's the situation:
A user of our program suddenly started receiving an error from the Borland Database Engine (BDE) when attempting to start the application. The error message says that it was unable to initialize the BDE and gives error code $251e. User is on BDE 5.2.0.2.
I cannot find any official documentation on the error $251...
So I have this code for these Constructors of the Weapon class:
Weapon(const WeaponsDB * wepDB);
Weapon(const WeaponsDB * wepDB_, int * weaponlist);
~Weapon(void);
And I keep getting an error:
1>c:\users\owner\desktop\bosconian\code\bosconian\weapon.h(20) : error C2062: type 'int' unexpected
and ensuing errors (more than listed):
...
A simple question
Consider this piece of code in C#
String a;
String b;
String c;
1. a =
2. b =
3. //Comment
4. c = "a String";
During compilation, it was fine, but i hit an error when I run my application. From my logs, the error occur at the above.
Question:
Is the error caused by the comment in line 3?
The error is "Ob...