throwing npes on linux