org.apache.velocity.exception.ParseErrorException when attempting to add users to a group

I'm getting the following error when attempting to add users to a group:

org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at /templates/permissionmgmt/manage-users-basic.vm[line 113, column 9] Was expecting one of: <EOF> "(" ... <RPAREN> ... <ESCAPE_DIRECTIVE> ... <SET_DIRECTIVE> ... "##" ... "\\\\" ... "\\" ... <TEXT> ... "*#" ... "*#" ... <STRING_LITERAL> ... <IF_DIRECTIVE> ... <STOP_DIRECTIVE> ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <WORD> ... <BRACKETED_WORD> ... <IDENTIFIER> ... <DOT> ... "{" ... "}" ...

at org.apache.velocity.Template.process(Template.java:141)

Stack Trace:[hide]

org.apache.velocity.exception.ParseErrorException: Encountered "#end\n" at /templates/permissionmgmt/manage-users-basic.vm[line 113, column 9]

Was expecting one of:

<EOF>

"(" ...

<RPAREN> ...

<ESCAPE_DIRECTIVE> ...

<SET_DIRECTIVE> ...

"##" ...

"\\\\" ...

"\\" ...

<TEXT> ...

"*#" ...

"*#" ...

<STRING_LITERAL> ...

<IF_DIRECTIVE> ...

<STOP_DIRECTIVE> ...

<INTEGER_LITERAL> ...

<FLOATING_POINT_LITERAL> ...

<WORD> ...

<BRACKETED_WORD> ...

<IDENTIFIER> ...

<DOT> ...

"{" ...

"}" ...

at org.apache.velocity.Template.process(Template.java:141)

at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.loadResource(ConfigurableResourceManager.java:364)

at com.atlassian.confluence.util.velocity.ConfigurableResourceManager.getResource(ConfigurableResourceManager.java:305)

at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1400)

at org.apache.velocity.runtime.directive.Parse.render(Parse.java:198)

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)

at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)

at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)

at com.atlassian.confluence.setup.velocity.ApplyDecoratorDirective.render(ApplyDecoratorDirective.java:159)

at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)

at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)

at org.apache.velocity.Template.merge(Template.java:328)

at org.apache.velocity.Template.merge(Template.java:235)

1 answer

This widget could not be displayed.

I am getting same kinda of problem in calling recursively a macro. Any help is appreciated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

423 views 3 17
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you