check if view is null instead of letting it crash? https://github.com/OpenNTF/XPagesToolkit/blob/a18cb84865b44f5af490143775413971ef4b2dad/org.openntf.xpt.core/src/org/openntf/xpt/core/dss/AbstractStorageService.java#L180