mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE
This commit is contained in:
@@ -99,6 +99,9 @@ public class IdeaPluginDescriptorImpl implements IdeaPluginDescriptor {
|
||||
myPath = pluginPath;
|
||||
}
|
||||
|
||||
IdeaPluginDescriptorImpl() {
|
||||
}
|
||||
|
||||
public void setPath(@NotNull File path) {
|
||||
myPath = path;
|
||||
}
|
||||
|
||||
@@ -407,7 +407,7 @@ public class PluginManager {
|
||||
private static <T extends IdeaPluginDescriptor> void addModulesAsDependents(final Map<PluginId, T> map) {
|
||||
for (String module : ourAvailableModules) {
|
||||
// fake plugin descriptors to satisfy dependencies
|
||||
map.put(PluginId.getId(module), (T) new IdeaPluginDescriptorImpl(null));
|
||||
map.put(PluginId.getId(module), (T) new IdeaPluginDescriptorImpl());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user