Skip to content

Commit

Permalink
Bug 37114744 - [37109856->22.06.11] Persistence should be gracefully …
Browse files Browse the repository at this point in the history
…handled when cache scheme is missing

[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v22.06/": change = 111719]
  • Loading branch information
tmiddlet2666 committed Oct 2, 2024
1 parent 31adc78 commit 807b38a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2023, Oracle and/or its affiliates.
* Copyright (c) 2000, 2024, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* https://oss.oracle.com/licenses/upl.
Expand Down Expand Up @@ -1873,7 +1873,7 @@ public boolean isBackingMapPersistent(String sName)
DistributedScheme schemeDist = findDistributedScheme(sName);
ParameterResolver resolver = getResolver(sName);

return !schemeDist.getBackingMapScheme().isTransient(resolver);
return schemeDist != null && !schemeDist.getBackingMapScheme().isTransient(resolver);
}

/**
Expand Down

0 comments on commit 807b38a

Please sign in to comment.