Call to a member function getLibraryDirectory() on null