FavPic is an array with a picture element stored in it, im trying to set the variable, pRef, equal to that array element. Instead, I keep getting Null Pointer Exception crashes. What exactly is a Null Pointer exception, and how would these few lines of code cause such a thing? Thanks!
public void setFavouritePicture (Picture pRef)
{
pRef = favPic[0];
}