mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Start plugins wizard #13
This commit is contained in:
@@ -648,7 +648,7 @@ public class IdeaPluginDescriptorImpl implements IdeaPluginDescriptor {
|
||||
} catch (IOException e) {
|
||||
path = getPath().getAbsolutePath();
|
||||
}
|
||||
if (ApplicationManager.getApplication().isInternal()) {
|
||||
if (ApplicationManager.getApplication() != null && ApplicationManager.getApplication().isInternal()) {
|
||||
if (path.startsWith(PathManager.getHomePath() + File.separator + "out" + File.separator + "classes")) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -673,7 +673,7 @@ public class PluginManagerCore {
|
||||
descriptor = loadDescriptorFromJar(file, fileName);
|
||||
}
|
||||
|
||||
if (descriptor != null && !descriptor.getOptionalConfigs().isEmpty()) {
|
||||
if (descriptor != null && descriptor.getOptionalConfigs() != null && !descriptor.getOptionalConfigs().isEmpty()) {
|
||||
final Map<PluginId, IdeaPluginDescriptorImpl> descriptors = new HashMap<PluginId, IdeaPluginDescriptorImpl>(descriptor.getOptionalConfigs().size());
|
||||
for (Map.Entry<PluginId, String> entry: descriptor.getOptionalConfigs().entrySet()) {
|
||||
String optionalDescriptorName = entry.getValue();
|
||||
|
||||
Reference in New Issue
Block a user