WIKI-395 NullPointerException when add new page that adding Related Page macro