mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
NPE (17431)
This commit is contained in:
+4
-1
@@ -69,7 +69,10 @@ public class EclipseClasspathWriter {
|
||||
outputPath = getRelativePath(output.getUrl());
|
||||
}
|
||||
else if (output == null) {
|
||||
outputPath = getRelativePath(myModel.getModuleExtension(CompilerModuleExtension.class).getCompilerOutputUrl());
|
||||
final String url = myModel.getModuleExtension(CompilerModuleExtension.class).getCompilerOutputUrl();
|
||||
if (url != null) {
|
||||
outputPath = getRelativePath(url);
|
||||
}
|
||||
}
|
||||
}
|
||||
final Element orderEntry = addOrderEntry(EclipseXml.OUTPUT_KIND, outputPath, classpathElement, oldRoot);
|
||||
|
||||
Reference in New Issue
Block a user