XWiki Platform

NullPointerException from XWikiDocument.equals if document contains null object