If you actually want to return null remove line. Maybe you want to throw a UnsupportedOperationException here?