mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[ui-tests] Don't log error in case method isShowing was invoked on the invalid reference
We call isShowing on cache check and it's enough to just throw exception GitOrigin-RevId: f1d5b41f05cecd8fa51c6e5bb9ff62bc539c7f1d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
997b316c63
commit
4ce7e56802
@@ -125,7 +125,10 @@ public class Invoker implements InvokerMBean {
|
||||
instance = findInstance(call, callTarget.clazz());
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOG.error("Unable to get instance for " + call);
|
||||
//we need to ignore caching check and not throw error
|
||||
if (!call.getMethodName().equals("isShowing")) {
|
||||
LOG.error("Unable to get instance for " + call);
|
||||
}
|
||||
|
||||
throw new DriverIlligalStateException("Unable to get instance for " + call, e);
|
||||
}
|
||||
@@ -616,7 +619,6 @@ public class Invoker implements InvokerMBean {
|
||||
return RefProducer.makeRef(id, rdTarget, value);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
record CallTarget(@NotNull Class<?> clazz, @NotNull Method targetMethod) {
|
||||
|
||||
Reference in New Issue
Block a user