properly handle getParameter returning null when it means a null object (e.g., no buffer is bound) and not an invalid name