Skip to content

Commit

Permalink
Bug 35532087 - Build: management.ManagementInfoResource*.testTruncate…
Browse files Browse the repository at this point in the history
…Cache (14.1.1.0 -> ce-v14.1.1.0, ce-main, ce-v22.06, @101474)

[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.1.0/": change = 101485]
  • Loading branch information
lsho committed Jun 27, 2023
1 parent 0295bb7 commit 23f27e5
Showing 1 changed file with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2022, Oracle and/or its affiliates.
* Copyright (c) 2000, 2023, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
Expand All @@ -19,6 +19,7 @@
import com.tangosol.util.Base;
import com.tangosol.util.Filter;

import com.tangosol.util.WrapperException;
import com.tangosol.util.function.Remote;

import java.io.Serializable;
Expand Down Expand Up @@ -797,6 +798,19 @@ public Map<String, Object> apply(MBeanServer mBeanServer)

continue;
}
catch (WrapperException e)
{
if (e.getCause() instanceof InstanceNotFoundException)
{
// ignore; assume MBean unregistered between query and invoke
CacheFactory.log("MBeanAccessor$Invoke#apply(mbeanServer=" + mBeanServer +
", objName=" + sObjectName +
"): ignoring InstanceNotFoundException: " + e.getMessage(), Base.LOG_QUIET);

continue;
}
throw e;
}
mapMBeans.put(sObjectName, result);
}
return mapMBeans;
Expand Down

0 comments on commit 23f27e5

Please sign in to comment.