Skip to content

Commit 4085528

Browse files
dopplewareMykolaYaremchuk
authored andcommitted
fixing null issue
1 parent ef61ec0 commit 4085528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/org/digma/intellij/plugin/ui/list/insights/SpanPanelsUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fun buildButtonToJaeger(
159159
if (jaegerBaseUrl.isNullOrBlank() || traceSamples.isNullOrEmpty()) {
160160
return null
161161
}
162-
val filtered = traceSamples.filter { x -> x!!.hasTraceId() }
162+
val filtered = traceSamples.filter { x -> x!=null && x.hasTraceId() }
163163
if (filtered.isNullOrEmpty()) {
164164
return null
165165
}

0 commit comments

Comments
 (0)