123124125126127128129130131132133
Package p = load(pckg); if (p != null) { try { p.initialize(); } catch (Throwable e) { LOG.log(Level.SEVERE, "Failed to initailize the action.", e); } enabledPackages.add(p);