<div dir="ltr">In testing the fix for IDP-996, I'm getting the following unexpected error calling StorageBackedSessionManger#resolveSingle():<div><br></div><div><div>2016-09-20 06:56:10,429 - ERROR [net.shibboleth.idp.cas:?] - Uncaught runtime exception</div><div>net.shibboleth.utilities.java.support.logic.ConstraintViolationException: Storage object was not present in session</div><div>        at net.shibboleth.utilities.java.support.logic.Constraint.isNotNull(Constraint.java:227)</div><div>        at org.opensaml.storage.impl.client.ClientStorageService.getContextMap(ClientStorageService.java:304)</div><div>        at org.opensaml.storage.AbstractMapBackedStorageService.readImpl(AbstractMapBackedStorageService.java:279)</div><div>        at org.opensaml.storage.AbstractMapBackedStorageService.read(AbstractMapBackedStorageService.java:108)</div><div>        at net.shibboleth.idp.session.impl.StorageBackedSessionManager.lookupBySessionId(StorageBackedSessionManager.java:795)</div></div><div><br></div><div>I would have expected it to simply return null in this case due to the resolveSingle method bearning a @Nullable annotation on the return type. Obviously I can trap this case as well, but it doesn't seem right to me.</div><div><br></div><div>M</div><div><br></div></div>