Skip to content

Commit 3b739fe

Browse files
committed
NPE fix
1 parent 3a2edff commit 3b739fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/org/jkiss/tools/rcplaunchconfig/producers/iml/IMLConfigurationProducer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,9 @@ private void appendMavenDependencies(@NotNull Path path, @NotNull StringBuilder
766766
Path dependencyPath = MavenLocalArtifactRegistry.INSTANCE.getProvidedDependencyPath(dependency) == null ?
767767
MavenLocalArtifactRegistry.INSTANCE.getDowloadedDependencyPath(dependency) :
768768
MavenLocalArtifactRegistry.INSTANCE.getProvidedDependencyPath(dependency);
769+
if (dependencyPath == null) {
770+
continue;
771+
}
769772
if (processedDependencies.contains(dependencyPath)) {
770773
continue; // Skip already processed dependencies
771774
}

0 commit comments

Comments
 (0)