Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
12.0-rc-1
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with namespace [xwiki:ActiveInstalls.ActiveCounterValue2] at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:289) at com.xpn.xwiki.render.DefaultVelocityManager.evaluate(DefaultVelocityManager.java:316) at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:131) ... 200 more Caused by: org.apache.velocity.exception.VelocityException: Reference evaluation threw an exception at xwiki:ActiveInstalls.ActiveCounterValue2[line 22, column 7] at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:687) at org.apache.velocity.runtime.parser.node.ASTNotNode.evaluate(ASTNotNode.java:64) at org.apache.velocity.runtime.parser.node.ASTExpression.evaluate(ASTExpression.java:63) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:170) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:423) at org.apache.velocity.Template.merge(Template.java:358) at org.apache.velocity.Template.merge(Template.java:262) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:281) ... 202 more Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.velocity.util.DuckType.get(DuckType.java:279) at org.apache.velocity.util.DuckType.asBoolean(DuckType.java:136) at org.apache.velocity.runtime.parser.node.ASTReference.evaluate(ASTReference.java:682) ... 209 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.velocity.util.DuckType.get(DuckType.java:261) ... 211 more Caused by: java.lang.UnsupportedOperationException: JsonObject at com.google.gson.JsonElement.getAsBoolean(JsonElement.java:153) ... 215 more
Attachments
Issue Links
- depends on
-
XCOMMONS-1867 Add an Object Tool to perform object manipulation easily from Velocity
- Closed
- is related to
-
XWIKI-17053 The Active Installs page can freeze the browser if there's an exception while retrieving the counter value
- Closed