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' :

The problem being with:


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
for the list of syntax 'sections'.

A quick fix is to import the
into your wiki in order to reset the syntax page.

Hope this helps,

On Tue, Jun 10, 2014 at 10:17 AM, -bt- <> 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->
> 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: 
> Sent from the XWiki- Users mailing list archive at
> _______________________________________________
> users mailing list
users mailing list

Reply via email to