xwiki.xWiki is not allowed anymore in groovy. It is necessary to use xwiki.getWiki() This makes Blog Creation and Registration fail