[hibernate-issues] [JIRA] (HHH-2937) NullPointException during flush if getSnapshot return null