Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.ArrayList threw exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at xwiki:XWiki.XWikiSyntax[line 72, column 198] The line is: #set($child = {'id' : $sectionDoc.getName().substring(11), 'minSyntax' : $obj.getProperty("minSyntaxVersion").value, 'maxSyntax' : $obj.getProperty("maxSyntaxVersion").value, 'name' : $sectionList.get(1).getSectionTitle()}) The problem being with: $sectionList.get(1).getSectionTitle() which assumes there are at least 2 sections (headings) in each document that defines a 'section' of the syntax page. The first section specifies the Category Name, and the second section specifies the syntax 'Section' name. There is something wrong with one of your document that define a syntax 'section'. See https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwik... for the list of syntax 'sections'. A quick fix is to import the http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-help-ui/6.... into your wiki in order to reset the syntax page. Hope this helps, Marius On Tue, Jun 10, 2014 at 10:17 AM, -bt- <[email protected]> wrote:
Hello together,
I don't know why, but since I upgraded to 6.0 (6.0.1) I cannot launch the Syntax Guide (XWiki.XWikiSyntax). I just get an Failed to execute the [velocity] macro error and that's it. Here you will find the complete error message-> http://mysticpaste.com/view/z6rrmr8o91?2
I have a clone of the XWiki instance where I don't have this problem but there the content is shown twice.
I compare both pages and for me they are the same, same content, same objects, same classes.
Where can I look or test whre this problem is coming from?
Best regards Kai
-- View this message in context: http://xwiki.475771.n2.nabble.com/Syntax-Guide-Page-doesn-t-work-because-of-... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users