If you try to deploy Xpages Extension Library and get the error

Object variable not set (#91) in:
dlgimportsite: click (line9)

When doing “Import Local Update Site” then the problem might be that your designer or domino admin is running.
Try to close Designer or Domino Admin and do the import again, that solved my problem.