Problem with null pointer exception | Sci-fi