Victor Rodrigues asked this question · 1 karma ·

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)

482 views