Throwed NPE if no terminal yet