diff --git a/marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/ArtifactSearch.kt b/marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/ArtifactSearch.kt index 00077ff85..b2a4dd60e 100644 --- a/marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/ArtifactSearch.kt +++ b/marker/jvm-marker/src/main/kotlin/spp/jetbrains/marker/jvm/ArtifactSearch.kt @@ -60,7 +60,7 @@ object ArtifactSearch { var basePackages = withContext(Dispatchers.Default) { ApplicationManager.getApplication().runReadAction(Computable> { JavaPsiFacade.getInstance(project).findPackage("") - ?.getSubPackages(ProjectScope.getProjectScope(project))!! + ?.getSubPackages(ProjectScope.getProjectScope(project)) ?: emptyArray() }) }