before using the pointer, check whether it's valid

while(...)
{
...
if(plBiped01_entity != null)
{
Do your stuff
}
...
}