Page 1 of 1

java.lang.nullpointerexception

Posted: Thu Dec 16, 2004 7:24 pm
by KEG
Any one have an idea on what is causing this error and how do I fix it?

Posted: Thu Dec 16, 2004 8:38 pm
by MudGuard
Some reference to an object is null but inspite of this you try to access members of the object.

Check for null reference before you access members.
Or make sure the reference isn't null ...