Compilation issues for npe