mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
maven: NPE: EA-90079
This commit is contained in:
+1
-1
@@ -44,7 +44,7 @@ public abstract class MavenParentProjectFileProcessor<RESULT_TYPE> {
|
||||
result = processManagedParent(parentFile);
|
||||
}
|
||||
|
||||
if (result == null) {
|
||||
if (result == null && projectFile.getParent() != null) {
|
||||
parentFile = projectFile.getParent().findFileByRelativePath(parentDesc.getParentRelativePath());
|
||||
if (parentFile != null && parentFile.isDirectory()) {
|
||||
parentFile = parentFile.findFileByRelativePath(MavenConstants.POM_XML);
|
||||
|
||||
Reference in New Issue
Block a user