mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 08:06:56 +07:00
fixed hidden NPE
GitOrigin-RevId: bdb6533d454028a99ff2f751896e7186b9311be5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
12564e1255
commit
7bfcbcd52e
@@ -146,7 +146,7 @@ public class ArrayRenderer extends NodeRendererImpl{
|
||||
if (value instanceof StringReference) {
|
||||
return DebuggerUtilsAsync.getStringValue((StringReference)value).thenApply(e -> "\"" + StringUtil.first(e, 15, true) + "\"");
|
||||
}
|
||||
return CompletableFuture.completedFuture(value.toString());
|
||||
return CompletableFuture.completedFuture(value != null ? value.toString() : "null");
|
||||
}
|
||||
|
||||
public void setForced(boolean forced) {
|
||||
|
||||
Reference in New Issue
Block a user