Failed to execute the [groovy] macro. Cause: [Ambiguous method overloading for method com.xpn.xwiki.api.XWiki#getDocument. Cannot resolve which method to invoke for [null] due to overlapping prototypes between: [class java.lang.String] [class org.xwiki.model.reference.EntityReference]]. Click on this message for details.