NullPointerException instead of NotImplementedException is used