EA-1531234 - IE: InvokableTypeImpl.invokeMethod

GitOrigin-RevId: 09e653a64bf2a1bdb07568633675971bffbaea39
This commit is contained in:
Egor Ushakov
2024-12-10 17:16:02 +00:00
committed by intellij-monorepo-bot
parent 9f3e829ea6
commit 24becf2887
@@ -120,9 +120,18 @@ public final class BatchEvaluator {
return true;
}
}
catch (ObjectCollectedException | EvaluateException e) {
catch (ObjectCollectedException e) {
LOG.error(e);
}
catch (EvaluateException e) {
ObjectReference exceptionFromTargetVM = e.getExceptionFromTargetVM();
if (exceptionFromTargetVM != null && "java.io.UTFDataFormatException".equals(exceptionFromTargetVM.referenceType().name())) {
// one of the strings is too long - just fall back to the regular separate toString calls
}
else {
LOG.error(e);
}
}
return false;
}