This is on nb.org modules. EditDependencyAction.actionPerformed in fact says:
SuiteProvider sp = project.getLookup().lookup(SuiteProvider.class);
if (sp == null) {
ErrorManager.getDefault().log("Cannot get suite for module: " + project.getCodeNameBase()); // NOI18N
return;
}
Well of course this will be null for a nb.org module (or standalone module for that matter).
Also note that ErrorManager.getDefault().log(String) by default does nothing (would be below minimum threshold to even
appear in log file). Use java.util.logging.